Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
5985bcc
src: add C++ webstreams binding + ReadableStream default object model
mcollina Jun 8, 2026
9dd82b7
src: add C++ ReadableByteStream object model (BYOB)
mcollina Jun 8, 2026
b86a284
src: add C++ WritableStream object model
mcollina Jun 9, 2026
753e06f
src: add C++ TransformStream object model
mcollina Jun 9, 2026
815ea77
src: expose webstreams C++ constructors for the public flip
mcollina Jun 9, 2026
6d81a27
src: add webstreams introspection + size-mode groundwork for the flip
mcollina Jun 9, 2026
2bffbc3
WIP src: flip webstreams public API to the C++ engine (NOT yet green)
mcollina Jun 9, 2026
dff1293
WIP src: webstreams flip now passes the full WPT streams suite
mcollina Jun 9, 2026
eb8458b
src: make webstreams native methods throw ERR_INVALID_THIS
mcollina Jun 9, 2026
c112708
src: show stream in TransformStreamDefaultController inspect
mcollina Jun 9, 2026
82bfcc2
test,src: de-couple test-whatwg-writablestream from kState
mcollina Jun 9, 2026
0aaad29
src,test: fix nested transferable streams; de-couple byte/transfer tests
mcollina Jun 9, 2026
2cebd45
src,test: de-couple test-whatwg-readablestream from kState; validate …
mcollina Jun 9, 2026
4bbc362
src: guard webstreams JSTransferable bridge against a null host object
mcollina Jun 9, 2026
e665464
src,test: reject SAB-backed byte views; de-couple test-blob from kState
mcollina Jun 10, 2026
cea71e0
src: cache readable controller pull-reaction functions
mcollina Jun 10, 2026
2e0f894
src: avoid V8 API crossings on webstreams hot paths
mcollina Jun 10, 2026
3939511
src,lib: add pipeTo fast drain and cache write reactions
mcollina Jun 10, 2026
300dc16
src: cheapen webstreams creation paths
mcollina Jun 10, 2026
1f0e408
src,lib: call raw webstreams pull/write algorithms from C++
mcollina Jun 10, 2026
24420ae
src,lib: trim per-instance webstreams iterator and transform allocations
mcollina Jun 10, 2026
24fc92e
stream: move pipeTo's hot loop fully into C++
mcollina Jun 10, 2026
8423ae6
stream: build buffered read results in JS via a single-crossing fast …
mcollina Jun 10, 2026
f040355
stream: build reader released errors lazily
mcollina Jun 10, 2026
17dce4c
stream: replace eagerly-allocating deques with a lazy FIFO queue
mcollina Jun 10, 2026
8bb8446
stream: make the writer ready/closed promise slots lazy
mcollina Jun 10, 2026
20c9a58
stream: manage stream readers with cppgc
mcollina Jun 11, 2026
bed540b
src: allow cppgc wrappers to opt out of realm tracking
mcollina Jun 11, 2026
835a531
stream: keep pipeTo and tee internals unobservable
mcollina Jun 11, 2026
43c7d85
stream: skip start plumbing for startless TransformStreams
mcollina Jun 11, 2026
9a3a834
stream: store value queues as one global handle per chunk
mcollina Jun 11, 2026
fabff07
stream: skip the pull round trip when there is no pull algorithm
mcollina Jun 11, 2026
21a684f
stream: manage WritableStreamDefaultWriter with cppgc
mcollina Jun 11, 2026
379040d
stream: manage WritableStream and its controller with cppgc
mcollina Jun 11, 2026
204ac24
stream: manage ReadableStream and its controllers with cppgc
mcollina Jun 11, 2026
5fe49a9
stream: manage TransformStream and its controller with cppgc
mcollina Jun 11, 2026
6b23e9a
stream: settle parked reads through a JIT closure
mcollina Jun 11, 2026
ed87aed
stream: settle parked reads from the enqueue wrapper
mcollina Jun 11, 2026
fc2f0c8
stream: settle BYOB reads through a JIT closure, lighten BYOBRequest
mcollina Jun 11, 2026
97223b3
stream: settle byte-stream default reads through JIT closures
mcollina Jun 12, 2026
9c55050
stream: cache the transform sink-write continuation per stream
mcollina Jun 12, 2026
d2e114e
stream: materialize byte-path buffers and views in JIT code
mcollina Jun 12, 2026
5942292
stream: build the BYOBRequest view in JIT code, make view reads free
mcollina Jun 12, 2026
5905550
stream: couple transform backpressure directly, no change promise
mcollina Jun 12, 2026
d718585
src,lib: format and lint the webstreams engine
mcollina Jun 12, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions lib/internal/webstreams/queuingstrategies.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,4 +154,9 @@ ObjectDefineProperties(CountQueuingStrategy.prototype, {
module.exports = {
ByteLengthQueuingStrategy,
CountQueuingStrategy,

// Exported so the C++ stream binding can recognize the built-in queuing
// strategies by identity and skip the per-chunk JS size() boundary cross.
byteSizeFunction,
countSizeFunction,
};
Loading
Loading