Files
tubestation/testing/web-platform/tests/streams
Milly 0ee89baf8b Bug 1897793 [wpt PR 46374] - Fix ReadableStream.from ignores a null @@asyncIterator, a=testonly
Automatic update from web-platform-tests
Fix ReadableStream.from ignores a null @@asyncIterator

The proposal uses TC39 [GetIterator][] and [GetMethod][] within it.
GetMethod treats null as undefined. So if `@@asyncIterator` is null it
should be ignored and fallback to `@@iterator`.

This change breaks Deno v1.43.5 and Node v20.13.1.
However, Firefox 126.0 are implemented correctly.

[GetIterator]: https://tc39.es/ecma262/#sec-getiterator
[GetMethod]: https://tc39.es/ecma262/#sec-getmethod

--

wpt-commits: 10dbaeaca47389f2c892abd3f3134d922fdde658
wpt-pr: 46374
2024-05-23 10:01:28 +00:00
..

Streams Tests

The work on the streams tests is closely tracked by the specification authors, who maintain a reference implementation intended to match the spec line-by-line while passing all of these tests. See the whatwg/streams repository for details. Some tests may be in that repository while the spec sections they test are still undergoing heavy churn.