Skip to content

Reject strings in ReadableStream.from - #59594

Merged
MattiasBuelens merged 1 commit into
web-platform-tests:masterfrom
MattiasBuelens:rs-from-reject-strings
Jul 13, 2026
Merged

Reject strings in ReadableStream.from#59594
MattiasBuelens merged 1 commit into
web-platform-tests:masterfrom
MattiasBuelens:rs-from-reject-strings

Reject strings in `ReadableStream.from`

245888f
Select commit
Loading
Failed to load commit list.
Community-TC Integration / wpt-chrome-dev-results succeeded Jun 20, 2026 in 4m 42s

Community-TC (pull_request)

Collect results for all tests affected by a pull request in chrome.

Details

View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster

Task Status

Started: 2026-06-20T20:46:06.271Z
Resolved: 2026-06-20T20:50:47.767Z
Task Execution Time: 4 minutes, 41 seconds, 496 milliseconds
Task Status: completed
Reason Resolved: completed
TaskId: OCpDVBHlSQmQ9Ak5J_yINw
RunId: 0

Artifacts

- public/logs/live_backing.log
- public/logs/live.log
- public/results/checkrun.md
- public/results/wpt_report.json.gz
- public/results/wpt_screenshot.txt.gz

WPT Command: python3 ./wpt run --channel=dev --no-fail-on-unexpected --log-wptreport=../artifacts/wpt_report.json --log-wptscreenshot=../artifacts/wpt_screenshot.txt --affected base_head --log-mach-level=info --log-mach=- -y --no-pause --no-restart-on-unexpected --install-fonts --verify-log-full --no-headless --enable-swiftshader --install-browser --install-webdriver chrome


[taskcluster 2026-06-20 20:46:06.368Z] Task ID: OCpDVBHlSQmQ9Ak5J_yINw
[taskcluster 2026-06-20 20:46:06.368Z] Worker ID: 8601788292450174262
[taskcluster 2026-06-20 20:46:06.368Z] Worker Group: us-east4-a
[taskcluster 2026-06-20 20:46:06.368Z] Worker Node Type: projects/757942385826/machineTypes/n2-standard-4
[taskcluster 2026-06-20 20:46:06.368Z] Worker Pool: proj-wpt/ci
[taskcluster 2026-06-20 20:46:06.368Z] Worker Version: 46.1.0
[taskcluster 2026-06-20 20:46:06.368Z] Public IP: 136.107.238.192
[taskcluster 2026-06-20 20:46:06.368Z] Hostname: proj-wpt-ci-q2ckk7watyi9ay8wae1jwg

66587c81b81a - Started downloading
5b82b858ea7e - Started downloading
b1e71f63927a - Started downloading
b1e71f63927a - Downloaded in 0.005 seconds
08c7e224535e - Started downloading
08c7e224535e - Downloaded in 0.009 seconds
32bbaaf98e4c - Started downloading
66587c81b81a - Downloaded in 0.238 seconds
4f4fb700ef54 - Started downloading
4f4fb700ef54 - Downloaded in 0 seconds
dd5257950bd4 - Started downloading

...(2632 lines hidden)...

    at https://web-platform.test:8443/resources/testharness.js:2916:35
  FAIL ReadableStream.from accepts a ReadableStream - promise_test: Unhandled rejection with value: object "TypeError: ReadableStream.from is not a function"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4802:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4795:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4779:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2869:25)
    at https://web-platform.test:8443/resources/testharness.js:2916:35
  FAIL ReadableStream.from accepts a ReadableStream async iterator - promise_test: Unhandled rejection with value: object "TypeError: ReadableStream.from is not a function"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4802:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4795:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4779:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2869:25)
    at https://web-platform.test:8443/resources/testharness.js:2916:35
  FAIL ReadableStream.from re-throws errors from calling the @@iterator method - assert_throws_exactly: from() should re-throw the error function "() => ReadableStream.from(iterable)" threw object "TypeError: ReadableStream.from is not a function" but we expected it to throw object "Error: a unique string"
    at Test.<anonymous> (https://web-platform.test:8443/streams/readable-streams/from.any.js:197:3)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2869:25)
    at test (https://web-platform.test:8443/resources/testharness.js:633:30)
    at https://web-platform.test:8443/streams/readable-streams/from.any.js:189:1
  FAIL ReadableStream.from re-throws errors from calling the @@asyncIterator method - assert_throws_exactly: from() should re-throw the error function "() => ReadableStream.from(iterable)" threw object "TypeError: ReadableStream.from is not a function" but we expected it to throw object "Error: a unique string"
    at Test.<anonymous> (https://web-platform.test:8443/streams/readable-streams/from.any.js:208:3)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2869:25)
    at test (https://web-platform.test:8443/resources/testharness.js:633:30)
    at https://web-platform.test:8443/streams/readable-streams/from.any.js:200:1
  FAIL ReadableStream.from ignores @@iterator if @@asyncIterator exists - assert_throws_exactly: from() should re-throw the error function "() => ReadableStream.from(iterable)" threw object "TypeError: ReadableStream.from is not a function" but we expected it to throw object "Error: a unique string"
    at Test.<anonymous> (https://web-platform.test:8443/streams/readable-streams/from.any.js:220:3)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2869:25)
    at test (https://web-platform.test:8443/resources/testharness.js:633:30)
    at https://web-platform.test:8443/streams/readable-streams/from.any.js:211:1
  FAIL ReadableStream.from ignores a null @@asyncIterator - assert_throws_exactly: from() should re-throw the error function "() => ReadableStream.from(iterable)" threw object "TypeError: ReadableStream.from is not a function" but we expected it to throw object "Error: a unique string"
    at Test.<anonymous> (https://web-platform.test:8443/streams/readable-streams/from.any.js:232:3)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2869:25)
    at test (https://web-platform.test:8443/resources/testharness.js:633:30)
    at https://web-platform.test:8443/streams/readable-streams/from.any.js:223:1
  FAIL ReadableStream.from accepts an empty iterable - promise_test: Unhandled rejection with value: object "TypeError: ReadableStream.from is not a function"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4802:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4795:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4779:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2869:25)
    at https://web-platform.test:8443/resources/testharness.js:2916:35
  FAIL ReadableStream.from: stream errors when next() rejects - promise_test: Unhandled rejection with value: object "TypeError: ReadableStream.from is not a function"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4802:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4795:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4779:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2869:25)
    at https://web-platform.test:8443/resources/testharness.js:2916:35
  FAIL ReadableStream.from: stream errors when next() throws synchronously - promise_test: Unhandled rejection with value: object "TypeError: ReadableStream.from is not a function"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4802:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4795:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4779:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2869:25)
    at https://web-platform.test:8443/resources/testharness.js:2916:35
  FAIL ReadableStream.from: stream errors when next() returns a non-object - promise_test: Unhandled rejection with value: object "TypeError: ReadableStream.from is not a function"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4802:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4795:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4779:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2869:25)
    at https://web-platform.test:8443/resources/testharness.js:2916:35
  FAIL ReadableStream.from: stream errors when next() fulfills with a non-object - promise_test: Unhandled rejection with value: object "TypeError: ReadableStream.from is not a function"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4802:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4795:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4779:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2869:25)
    at https://web-platform.test:8443/resources/testharness.js:2916:35
  FAIL ReadableStream.from: stream stalls when next() never settles - promise_test: Unhandled rejection with value: object "TypeError: ReadableStream.from is not a function"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4802:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4795:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4779:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2869:25)
    at https://web-platform.test:8443/resources/testharness.js:2916:35
  FAIL ReadableStream.from: calls next() after first read() - promise_test: Unhandled rejection with value: object "TypeError: ReadableStream.from is not a function"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4802:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4795:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4779:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2869:25)
    at https://web-platform.test:8443/resources/testharness.js:2916:35
  FAIL ReadableStream.from: cancelling the returned stream calls and awaits return() - promise_test: Unhandled rejection with value: object "TypeError: ReadableStream.from is not a function"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4802:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4795:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4779:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2869:25)
    at https://web-platform.test:8443/resources/testharness.js:2916:35
  FAIL ReadableStream.from: return() is not called when iterator completes normally - promise_test: Unhandled rejection with value: object "TypeError: ReadableStream.from is not a function"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4802:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4795:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4779:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2869:25)
    at https://web-platform.test:8443/resources/testharness.js:2916:35
  FAIL ReadableStream.from: cancel() resolves when return() method is missing - promise_test: Unhandled rejection with value: object "TypeError: ReadableStream.from is not a function"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4802:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4795:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4779:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2869:25)
    at https://web-platform.test:8443/resources/testharness.js:2916:35
  FAIL ReadableStream.from: cancel() rejects when return() is not a method - promise_test: Unhandled rejection with value: object "TypeError: ReadableStream.from is not a function"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4802:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4795:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4779:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2869:25)
    at https://web-platform.test:8443/resources/testharness.js:2916:35
  FAIL ReadableStream.from: cancel() rejects when return() rejects - promise_test: Unhandled rejection with value: object "TypeError: ReadableStream.from is not a function"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4802:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4795:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4779:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2869:25)
    at https://web-platform.test:8443/resources/testharness.js:2916:35
  FAIL ReadableStream.from: cancel() rejects when return() throws synchronously - promise_test: Unhandled rejection with value: object "TypeError: ReadableStream.from is not a function"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4802:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4795:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4779:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2869:25)
    at https://web-platform.test:8443/resources/testharness.js:2916:35
  FAIL ReadableStream.from: cancel() rejects when return() fulfills with a non-object - promise_test: Unhandled rejection with value: object "TypeError: ReadableStream.from is not a function"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4802:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4795:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4779:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2869:25)
    at https://web-platform.test:8443/resources/testharness.js:2916:35
  FAIL ReadableStream.from: reader.read() inside next() - promise_test: Unhandled rejection with value: object "TypeError: ReadableStream.from is not a function"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4802:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4795:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4779:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2869:25)
    at https://web-platform.test:8443/resources/testharness.js:2916:35
  FAIL ReadableStream.from: reader.cancel() inside next() - promise_test: Unhandled rejection with value: object "TypeError: ReadableStream.from is not a function"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4802:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4795:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4779:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2869:25)
    at https://web-platform.test:8443/resources/testharness.js:2916:35
  FAIL ReadableStream.from: reader.cancel() inside return() - promise_test: Unhandled rejection with value: object "TypeError: ReadableStream.from is not a function"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4802:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4795:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4779:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2869:25)
    at https://web-platform.test:8443/resources/testharness.js:2916:35
  FAIL ReadableStream.from(array), push() to array while reading - promise_test: Unhandled rejection with value: object "TypeError: ReadableStream.from is not a function"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4802:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4795:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4779:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2869:25)
    at https://web-platform.test:8443/resources/testharness.js:2916:35
 1:59.32 INFO Got 4 unexpected results, with 0 unexpected passes
 1:59.32 wptserve INFO Stopped http server on 127.0.0.1:8000
 1:59.32 wptserve INFO Stopped http server on 127.0.0.1:8003
 1:59.32 wptserve INFO Stopped http server on 127.0.0.1:8001
 1:59.32 wptserve INFO Stopped http server on 127.0.0.1:8002
 1:59.34 wptserve INFO Stopped http server on 127.0.0.1:8443
 1:59.34 wptserve INFO Stopped http server on 127.0.0.1:8444
 1:59.34 wptserve INFO Stopped http server on 127.0.0.1:8445
 1:59.34 wptserve INFO Stopped http server on 127.0.0.1:8446
 1:59.34 wptserve INFO Stopped http server on 127.0.0.1:9000
 1:59.34 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
 1:59.34 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 1:59.34 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 1:59.48 INFO Removed font: Ahem.ttf
 1:59.50 INFO Closing logging queue
 1:59.50 INFO queue closed
 1:59.50 INFO Tolerating 4 unexpected results
[taskcluster 2026-06-20 20:50:45.947Z] === Task Finished ===
[taskcluster 2026-06-20 20:50:47.037Z] Successful task run with exit code: 0 completed in 280.671 seconds