Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: effa01300ea148c421201ec6a937e852c2da1da1
https://github.com/WebKit/WebKit/commit/effa01300ea148c421201ec6a937e852c2da1da1
Author: Youenn Fablet <[email protected]>
Date: 2026-01-30 (Fri, 30 Jan 2026)
Changed paths:
M Source/WebCore/Modules/streams/ReadableStream.cpp
M Source/WebCore/Modules/streams/ReadableStream.h
M Source/WebCore/Modules/streams/ReadableStreamInternals.js
M Source/WebCore/bindings/js/InternalReadableStream.cpp
M Source/WebCore/bindings/js/InternalReadableStream.h
Log Message:
-----------
Add support for constructing ReadableStream with ReadableStreamSource with a
custom highWaterMark
rdar://169090043
https://bugs.webkit.org/show_bug.cgi?id=306422
Reviewed by Chris Dumez.
ReadableStream.from requires to build a ReadableStream with a highWaterMark of
0.
We then need to build a ReadableStream from a ReadableStreamSource with a
custom highWaterMark.
We update ReadableStream::create,
InternalReadableStream::createFromUnderlyingSource and
createInternalReadableStreamFromUnderlyingSource to do so.
This will be covered by tests after the follow-up PR that will implement
ReadableStream.from.
Canonical link: https://commits.webkit.org/306478@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications