summaryrefslogtreecommitdiff
path: root/tests/wpt
diff options
context:
space:
mode:
authorMilly <milly.ca@gmail.com>2024-05-28 06:29:54 +0900
committerGitHub <noreply@github.com>2024-05-27 21:29:54 +0000
commit35e5159c8d5987497b8980c1cf3996d241612957 (patch)
tree24056d26007f7bc477dabaabe166823249eafe96 /tests/wpt
parente44c538f37c48f738dea904cffe4cda67f689914 (diff)
fix(ext/web): `ReadableStream.from()` allows `Iterable` instead of `IterableIterator` (#23903)
`createAsyncFromSyncIterator(x)` which is used in `ReadableStream.from()` expects `x` as `Iterable` but, previous implements specify `Iterator` or `IterableIterator`. If it was `IterableIterator`, it would work, but if it was `Iterator`, an exception will occur. Tests have been merged into WPT. https://github.com/web-platform-tests/wpt/pull/46365 --------- Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
Diffstat (limited to 'tests/wpt')
-rw-r--r--tests/wpt/runner/expectation.json10
1 files changed, 2 insertions, 8 deletions
diff --git a/tests/wpt/runner/expectation.json b/tests/wpt/runner/expectation.json
index 78a33badf..30c9d692e 100644
--- a/tests/wpt/runner/expectation.json
+++ b/tests/wpt/runner/expectation.json
@@ -3170,14 +3170,8 @@
"owning-type-message-port.any.worker.html": false,
"owning-type.any.html": false,
"owning-type.any.worker.html": false,
- "from.any.html": [
- "ReadableStream.from accepts a sync iterable of values",
- "ReadableStream.from accepts a sync iterable of promises"
- ],
- "from.any.worker.html": [
- "ReadableStream.from accepts a sync iterable of values",
- "ReadableStream.from accepts a sync iterable of promises"
- ]
+ "from.any.html": true,
+ "from.any.worker.html": true
},
"transform-streams": {
"backpressure.any.html": true,