[wpt-sync] Sync PR 27009 - Add tests for ReadableStream.from()
Categories
(Core :: DOM: Streams, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox116 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 27009 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/27009
Details from upstream follow.
b'Mattias Buelens <mattias@buelens.com>' wrote:
Add tests for ReadableStream.from()
Add tests for the new static method
ReadableStream.from()
.See whatwg/streams#1083 for the accompanying spec change.
Assignee | ||
Updated•4 years ago
|
Updated•3 years ago
|
Assignee | ||
Updated•1 years ago
|
Assignee | ||
Updated•1 years ago
|
Assignee | ||
Comment 1•1 years ago
|
||
Assignee | ||
Comment 2•1 years ago
|
||
CI Results
Ran 5 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 5 tests and 38 subtests
Status Summary
Firefox
OK
: 4
PASS
: 44
FAIL
: 108
Chrome
OK
: 4
PASS
: 44
FAIL
: 108
Safari
OK
: 4
PASS
: 44
FAIL
: 108
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /streams/readable-streams/from.any.js [wpt.fyi]:
SKIP
(Chrome:SKIP
, Safari:SKIP
) - /streams/readable-streams/from.any.worker.html [wpt.fyi]
- ReadableStream.from accepts an array of values:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts an array of promises:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts an array iterator:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts a string:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts a Set:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts a Set iterator:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts a sync generator:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts an async generator:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts a sync iterable of values:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts a sync iterable of promises:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts an async iterable:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts a ReadableStream:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts a ReadableStream async iterator:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from re-throws errors from calling the @@iterator method:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from re-throws errors from calling the @@asyncIterator method:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from ignores @@iterator if @@asyncIterator exists:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts an empty iterable:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from: stream errors when next() rejects:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from: stream stalls when next() never settles:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from: calls next() after first read():
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from: cancelling the returned stream calls and awaits return():
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from: return() is not called when iterator completes normally:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from: cancel() rejects when return() fulfills with a non-object:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from: reader.read() inside next():
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from: reader.cancel() inside next():
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from: reader.cancel() inside return():
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from(array), push() to array while reading:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- ReadableStream.from accepts an array of values:
- /streams/readable-streams/from.any.html [wpt.fyi]
- ReadableStream.from accepts an array of values:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts an array of promises:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts an array iterator:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts a string:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts a Set:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts a Set iterator:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts a sync generator:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts an async generator:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts a sync iterable of values:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts a sync iterable of promises:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts an async iterable:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts a ReadableStream:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts a ReadableStream async iterator:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from re-throws errors from calling the @@iterator method:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from re-throws errors from calling the @@asyncIterator method:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from ignores @@iterator if @@asyncIterator exists:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts an empty iterable:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from: stream errors when next() rejects:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from: stream stalls when next() never settles:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from: calls next() after first read():
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from: cancelling the returned stream calls and awaits return():
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from: return() is not called when iterator completes normally:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from: cancel() rejects when return() fulfills with a non-object:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from: reader.read() inside next():
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from: reader.cancel() inside next():
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from: reader.cancel() inside return():
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from(array), push() to array while reading:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- ReadableStream.from accepts an array of values:
- /streams/readable-streams/from.any.serviceworker.html [wpt.fyi]
- ReadableStream.from accepts an array of values:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts an array of promises:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts an array iterator:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts a string:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts a Set:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts a Set iterator:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts a sync generator:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts an async generator:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts a sync iterable of values:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts a sync iterable of promises:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts an async iterable:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts a ReadableStream:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts a ReadableStream async iterator:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from re-throws errors from calling the @@iterator method:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from re-throws errors from calling the @@asyncIterator method:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from ignores @@iterator if @@asyncIterator exists:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts an empty iterable:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from: stream errors when next() rejects:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from: stream stalls when next() never settles:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from: calls next() after first read():
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from: cancelling the returned stream calls and awaits return():
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from: return() is not called when iterator completes normally:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from: cancel() rejects when return() fulfills with a non-object:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from: reader.read() inside next():
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from: reader.cancel() inside next():
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from: reader.cancel() inside return():
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from(array), push() to array while reading:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- ReadableStream.from accepts an array of values:
- /streams/readable-streams/from.any.sharedworker.html [wpt.fyi]
- ReadableStream.from accepts an array of values:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts an array of promises:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts an array iterator:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts a string:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts a Set:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts a Set iterator:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts a sync generator:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts an async generator:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts a sync iterable of values:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts a sync iterable of promises:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts an async iterable:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts a ReadableStream:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts a ReadableStream async iterator:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from re-throws errors from calling the @@iterator method:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from re-throws errors from calling the @@asyncIterator method:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from ignores @@iterator if @@asyncIterator exists:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from accepts an empty iterable:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from: stream errors when next() rejects:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from: stream stalls when next() never settles:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from: calls next() after first read():
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from: cancelling the returned stream calls and awaits return():
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from: return() is not called when iterator completes normally:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from: cancel() rejects when return() fulfills with a non-object:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from: reader.read() inside next():
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from: reader.cancel() inside next():
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from: reader.cancel() inside return():
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ReadableStream.from(array), push() to array while reading:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- ReadableStream.from accepts an array of values:
Tests Disabled in Gecko Infrastructure
- /streams/readable-streams/from.any.js [wpt.fyi]:
SKIP
(Chrome:SKIP
, Safari:SKIP
)
Comment 4•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/96e220eeecd1
https://hg.mozilla.org/mozilla-central/rev/e29ef7a7d855
Description
•