forked from kdashg/gecko-cinn
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1864406 - Add ReadableStreamBYOBReader.prototype.read(view, { min…
… }). r=saschanaz,webidl,smaug Implements whatwg/streams#1145 Differential Revision: https://phabricator.services.mozilla.com/D226225
- Loading branch information
Showing
7 changed files
with
188 additions
and
325 deletions.
There are no files selected for viewing
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
212 changes: 0 additions & 212 deletions
212
testing/web-platform/meta/streams/readable-byte-streams/read-min.any.js.ini
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,214 +1,2 @@ | ||
[read-min.any.worker.html] | ||
[ReadableStream with byte source: read({ min }) rejects if min is 0] | ||
expected: FAIL | ||
|
||
[ReadableStream with byte source: read({ min }) rejects if min is negative] | ||
expected: FAIL | ||
|
||
[ReadableStream with byte source: read({ min }) rejects if min is larger than view's length (Uint8Array)] | ||
expected: FAIL | ||
[ReadableStream with byte source: read({ min }) rejects if min is larger than view's length (Uint16Array)] | ||
expected: FAIL | ||
|
||
[ReadableStream with byte source: read({ min }) rejects if min is larger than view's length (DataView)] | ||
expected: FAIL | ||
[ReadableStream with byte source: read({ min }), then read()] | ||
expected: FAIL | ||
[ReadableStream with byte source: read({ min }) with a DataView] | ||
expected: FAIL | ||
[ReadableStream with byte source: enqueue(), then read({ min })] | ||
expected: FAIL | ||
[ReadableStream with byte source: read({ min: 3 }) on a 3-byte Uint8Array, then multiple enqueue() up to 3 bytes] | ||
expected: FAIL | ||
[ReadableStream with byte source: read({ min: 3 }) on a 5-byte Uint8Array, then multiple enqueue() up to 3 bytes] | ||
expected: FAIL | ||
[ReadableStream with byte source: read({ min: 3 }) on a 5-byte Uint8Array, then multiple enqueue() up to 4 bytes] | ||
expected: FAIL | ||
[ReadableStream with byte source: read({ min }) when closed before view is filled] | ||
expected: FAIL | ||
[ReadableStream with byte source: read({ min }) when closed immediately after view is filled] | ||
expected: FAIL | ||
[ReadableStream with byte source: cancel() with partially filled pending read({ min }) request] | ||
expected: FAIL | ||
[ReadableStream with byte source: 3 byte enqueue(), then close(), then read({ min }) with 2-element Uint16Array must fail] | ||
expected: FAIL | ||
[ReadableStream with byte source: read({ min }) with 2-element Uint16Array, then 3 byte enqueue(), then close() must fail] | ||
expected: FAIL | ||
[ReadableStream with byte source: tee() with read({ min }) from branch1 and read() from branch2] | ||
expected: FAIL | ||
[read-min.any.html] | ||
[ReadableStream with byte source: read({ min }) rejects if min is 0] | ||
expected: FAIL | ||
[ReadableStream with byte source: read({ min }) rejects if min is negative] | ||
expected: FAIL | ||
[ReadableStream with byte source: read({ min }) rejects if min is larger than view's length (Uint8Array)] | ||
expected: FAIL | ||
|
||
[ReadableStream with byte source: read({ min }) rejects if min is larger than view's length (Uint16Array)] | ||
expected: FAIL | ||
[ReadableStream with byte source: read({ min }) rejects if min is larger than view's length (DataView)] | ||
expected: FAIL | ||
|
||
[ReadableStream with byte source: read({ min }), then read()] | ||
expected: FAIL | ||
|
||
[ReadableStream with byte source: read({ min }) with a DataView] | ||
expected: FAIL | ||
|
||
[ReadableStream with byte source: enqueue(), then read({ min })] | ||
expected: FAIL | ||
|
||
[ReadableStream with byte source: read({ min: 3 }) on a 3-byte Uint8Array, then multiple enqueue() up to 3 bytes] | ||
expected: FAIL | ||
|
||
[ReadableStream with byte source: read({ min: 3 }) on a 5-byte Uint8Array, then multiple enqueue() up to 3 bytes] | ||
expected: FAIL | ||
|
||
[ReadableStream with byte source: read({ min: 3 }) on a 5-byte Uint8Array, then multiple enqueue() up to 4 bytes] | ||
expected: FAIL | ||
|
||
[ReadableStream with byte source: read({ min }) when closed before view is filled] | ||
expected: FAIL | ||
|
||
[ReadableStream with byte source: read({ min }) when closed immediately after view is filled] | ||
expected: FAIL | ||
|
||
[ReadableStream with byte source: cancel() with partially filled pending read({ min }) request] | ||
expected: FAIL | ||
|
||
[ReadableStream with byte source: 3 byte enqueue(), then close(), then read({ min }) with 2-element Uint16Array must fail] | ||
expected: FAIL | ||
|
||
[ReadableStream with byte source: read({ min }) with 2-element Uint16Array, then 3 byte enqueue(), then close() must fail] | ||
expected: FAIL | ||
|
||
[ReadableStream with byte source: tee() with read({ min }) from branch1 and read() from branch2] | ||
expected: FAIL | ||
|
||
|
||
[read-min.any.serviceworker.html] | ||
[ReadableStream with byte source: read({ min }) rejects if min is 0] | ||
expected: FAIL | ||
|
||
[ReadableStream with byte source: read({ min }) rejects if min is negative] | ||
expected: FAIL | ||
|
||
[ReadableStream with byte source: read({ min }) rejects if min is larger than view's length (Uint8Array)] | ||
expected: FAIL | ||
[ReadableStream with byte source: read({ min }) rejects if min is larger than view's length (Uint16Array)] | ||
expected: FAIL | ||
|
||
[ReadableStream with byte source: read({ min }) rejects if min is larger than view's length (DataView)] | ||
expected: FAIL | ||
[ReadableStream with byte source: read({ min }), then read()] | ||
expected: FAIL | ||
[ReadableStream with byte source: read({ min }) with a DataView] | ||
expected: FAIL | ||
[ReadableStream with byte source: enqueue(), then read({ min })] | ||
expected: FAIL | ||
[ReadableStream with byte source: read({ min: 3 }) on a 3-byte Uint8Array, then multiple enqueue() up to 3 bytes] | ||
expected: FAIL | ||
[ReadableStream with byte source: read({ min: 3 }) on a 5-byte Uint8Array, then multiple enqueue() up to 3 bytes] | ||
expected: FAIL | ||
[ReadableStream with byte source: read({ min: 3 }) on a 5-byte Uint8Array, then multiple enqueue() up to 4 bytes] | ||
expected: FAIL | ||
[ReadableStream with byte source: read({ min }) when closed before view is filled] | ||
expected: FAIL | ||
[ReadableStream with byte source: read({ min }) when closed immediately after view is filled] | ||
expected: FAIL | ||
[ReadableStream with byte source: cancel() with partially filled pending read({ min }) request] | ||
expected: FAIL | ||
[ReadableStream with byte source: 3 byte enqueue(), then close(), then read({ min }) with 2-element Uint16Array must fail] | ||
expected: FAIL | ||
[ReadableStream with byte source: read({ min }) with 2-element Uint16Array, then 3 byte enqueue(), then close() must fail] | ||
expected: FAIL | ||
[ReadableStream with byte source: tee() with read({ min }) from branch1 and read() from branch2] | ||
expected: FAIL | ||
[read-min.any.sharedworker.html] | ||
[ReadableStream with byte source: read({ min }) rejects if min is 0] | ||
expected: FAIL | ||
[ReadableStream with byte source: read({ min }) rejects if min is negative] | ||
expected: FAIL | ||
[ReadableStream with byte source: read({ min }) rejects if min is larger than view's length (Uint8Array)] | ||
expected: FAIL | ||
|
||
[ReadableStream with byte source: read({ min }) rejects if min is larger than view's length (Uint16Array)] | ||
expected: FAIL | ||
[ReadableStream with byte source: read({ min }) rejects if min is larger than view's length (DataView)] | ||
expected: FAIL | ||
|
||
[ReadableStream with byte source: read({ min }), then read()] | ||
expected: FAIL | ||
|
||
[ReadableStream with byte source: read({ min }) with a DataView] | ||
expected: FAIL | ||
|
||
[ReadableStream with byte source: enqueue(), then read({ min })] | ||
expected: FAIL | ||
|
||
[ReadableStream with byte source: read({ min: 3 }) on a 3-byte Uint8Array, then multiple enqueue() up to 3 bytes] | ||
expected: FAIL | ||
|
||
[ReadableStream with byte source: read({ min: 3 }) on a 5-byte Uint8Array, then multiple enqueue() up to 3 bytes] | ||
expected: FAIL | ||
|
||
[ReadableStream with byte source: read({ min: 3 }) on a 5-byte Uint8Array, then multiple enqueue() up to 4 bytes] | ||
expected: FAIL | ||
|
||
[ReadableStream with byte source: read({ min }) when closed before view is filled] | ||
expected: FAIL | ||
|
||
[ReadableStream with byte source: read({ min }) when closed immediately after view is filled] | ||
expected: FAIL | ||
|
||
[ReadableStream with byte source: cancel() with partially filled pending read({ min }) request] | ||
expected: FAIL | ||
|
||
[ReadableStream with byte source: 3 byte enqueue(), then close(), then read({ min }) with 2-element Uint16Array must fail] | ||
expected: FAIL | ||
|
||
[ReadableStream with byte source: read({ min }) with 2-element Uint16Array, then 3 byte enqueue(), then close() must fail] | ||
expected: FAIL | ||
|
||
[ReadableStream with byte source: tee() with read({ min }) from branch1 and read() from branch2] | ||
expected: FAIL | ||
|
||
|
||
[read-min.any.shadowrealm.html] | ||
expected: ERROR |