RESOLVED FIXED230219
Refactor WritableStream to better integrate https://streams.spec.whatwg.org/#create-writable-stream
https://bugs.webkit.org/show_bug.cgi?id=230219
Summary Refactor WritableStream to better integrate https://streams.spec.whatwg.org/#...
youenn fablet
Reported 2021-09-13 08:17:36 PDT
Refactor WritableStream to better integrate https://streams.spec.whatwg.org/#create-writable-stream
Attachments
Patch (12.70 KB, patch)
2021-09-13 08:24 PDT, youenn fablet
no flags
Patch for landing (13.61 KB, patch)
2021-09-14 06:54 PDT, youenn fablet
no flags
Radar WebKit Bug Importer
Comment 1 2021-09-13 08:23:40 PDT
youenn fablet
Comment 2 2021-09-13 08:24:05 PDT
Sihui Liu
Comment 3 2021-09-13 13:18:09 PDT
Comment on attachment 438041 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=438041&action=review r=me, if all bots are green > Source/WebCore/ChangeLog:9 > + we were still going through the WritableStream constructor taking an underlying source. underlying sink? > Source/WebCore/Modules/streams/WritableStreamInternals.js:51 > + const internalStream = { }; Do we want to Assert: ! IsNonNegativeNumber(highWaterMark) is true as spec?
youenn fablet
Comment 4 2021-09-14 06:54:41 PDT
Created attachment 438132 [details] Patch for landing
youenn fablet
Comment 5 2021-09-14 06:55:26 PDT
Thanks for the review. (In reply to Sihui Liu from comment #3) > Comment on attachment 438041 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=438041&action=review > > r=me, if all bots are green > > > Source/WebCore/ChangeLog:9 > > + we were still going through the WritableStream constructor taking an underlying source. > > underlying sink? Done. > > Source/WebCore/Modules/streams/WritableStreamInternals.js:51 > > + const internalStream = { }; > > Do we want to Assert: ! IsNonNegativeNumber(highWaterMark) is true as spec? Added, I had to fix an actual bug in extractHWM.
EWS
Comment 6 2021-09-14 10:02:15 PDT
Committed r282395 (241656@main): <https://commits.webkit.org/241656@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 438132 [details].
Note You need to log in before you can comment on or make changes to this bug.