Closed Bug 1684272 Opened 4 years ago Closed 1 year ago

[wpt-sync] Sync PR 27009 - Add tests for ReadableStream.from()

Categories

(Core :: DOM: Streams, task, P4)

task

Tracking

()

RESOLVED FIXED
116 Branch
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.

Component: web-platform-tests → JavaScript Engine
Product: Testing → Core
Component: JavaScript Engine → DOM: Streams
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

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)
  • /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)
  • /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)
  • /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)

Tests Disabled in Gecko Infrastructure

Blocks: 1772772
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/96e220eeecd1 [wpt PR 27009] - Add tests for ReadableStream.from(), a=testonly https://hg.mozilla.org/integration/autoland/rev/e29ef7a7d855 [wpt PR 27009] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
You need to log in before you can comment on or make changes to this bug.