-
Notifications
You must be signed in to change notification settings - Fork 166
Add ReadableStreamBYOBReader.prototype.read(view, { min }) #1145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
MattiasBuelens
merged 43 commits into
whatwg:main
from
MattiasBuelens:rs-byob-read-fully
Nov 13, 2023
Merged
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
db1985e
Add ReadableStreamBYOBReader.readFully() (first attempt)
MattiasBuelens 13d5794
Revert "Add ReadableStreamBYOBReader.readFully() (first attempt)"
MattiasBuelens cce92e2
Add ReadableStreamBYOBReader.readFully()
MattiasBuelens 0326e95
Use dual asserts
MattiasBuelens 864e010
Remove unused default value
MattiasBuelens 09a199b
Explain why we keep the readFully() pull-into descriptor at the head …
MattiasBuelens 5730f08
Roll WPT
MattiasBuelens 8ab2bbc
Fix typos
MattiasBuelens 78d2711
Add spec text for readFully()
MattiasBuelens 101fa7f
Tweak note
MattiasBuelens 405cfb1
Add note about readFully() in readInto() example
MattiasBuelens 345eb40
Always copy all queued bytes if readFully descriptor is not yet full
MattiasBuelens 3201762
Roll WPT
MattiasBuelens b7c89fb
Simplify
MattiasBuelens 9725a70
Roll WPT
MattiasBuelens d3bc471
Replace "theChunk" and "theView" with "newView"
MattiasBuelens 0d968aa
Fix extra space
MattiasBuelens e9efa23
Explain newView.byteLength
MattiasBuelens c8a4dfc
Rename readFully() to fill()
MattiasBuelens 51dc85b
Roll WPT
MattiasBuelens e6b1218
Generalize fill(view)
MattiasBuelens 5d967c9
Rename
MattiasBuelens 511b3ae
Update spec text
MattiasBuelens 66dd27b
Add atLeast option to byobReader.read()
MattiasBuelens 3f1f12f
Remove fill(view)
MattiasBuelens d7ae44e
Roll WPT
MattiasBuelens 1e1d6c6
Fix note
MattiasBuelens 15409a3
Reject with a TypeError if atLeast is 0
MattiasBuelens 2b11471
Roll WPT
MattiasBuelens 1f3d73f
Rename "atLeast" to "min"
MattiasBuelens 3bc1283
Roll WPT
MattiasBuelens f1572e5
Roll WPT
MattiasBuelens 78f7adc
Fix typo
MattiasBuelens 6f5196a
Set ReadableStreamBYOBReaderReadOptions.min = 1 by default
MattiasBuelens 8f2e4a4
Roll WPT
MattiasBuelens d17aeca
Rename minimumFill to min in ReadableStreamBYOBReaderRead, and make r…
MattiasBuelens e381f25
Move readIntoRequest to last argument
MattiasBuelens c39be05
Fix lint error
MattiasBuelens 9351f13
Small improvements
domenic c09f1c7
Merge branch 'main' into rs-byob-read-fully
MattiasBuelens 99b7f42
Roll WPT
MattiasBuelens 547805f
Replace "x mod y" with "the remainder after dividing x by y"
MattiasBuelens b938532
Roll WPT
MattiasBuelens File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Submodule web-platform-tests
updated
2408 files
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.