-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ReadableStream: Reject pending reads when releasing reader
Previously, calling releaseLock() on ReadableStreamDefaultReader or ReadableStreamBYOBReader while there are pending read requests would throw a TypeError. The specification has been changed[1] to allow this case, and to reject such pending read requests with a TypeError instead. [1] whatwg/streams#1168 Bug: 1287273 Change-Id: Id4013571212e20b0d6ecccdcf68cd6d3927d38b2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3750760 Commit-Queue: Nidhi Jaju <nidhijaju@chromium.org> Reviewed-by: Adam Rice <ricea@chromium.org> Cr-Commit-Position: refs/heads/main@{#1023012} NOKEYCHECK=True GitOrigin-RevId: 1e39b24fb910a075f4d337e6bced80f117dfbd7a
- Loading branch information
1 parent
0595e91
commit deb688d
Showing
27 changed files
with
391 additions
and
1,028 deletions.
There are no files selected for viewing
226 changes: 188 additions & 38 deletions
226
blink/renderer/core/streams/readable_byte_stream_controller.cc
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.