Commit f10d9ad
stream: treat null asyncIterator as undefined
According to the spec, getIterator should normalize incoming method to
undefined if it is either undefined or null. This PR enforces that spec
compliance with passed WPT.
PR-URL: #55119
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
Reviewed-By: Mattias Buelens <mattias@buelens.com>1 parent 81bcec0 commit f10d9adCopy full SHA for f10d9ad
File tree
Expand file treeCollapse file tree
2 files changed
+2
-8
lines changedOpen diff view settings
Filter options
- lib/internal/webstreams
- test/wpt/status
Expand file treeCollapse file tree
2 files changed
+2
-8
lines changedOpen diff view settings
Collapse file
lib/internal/webstreams/util.js
Copy file name to clipboardExpand all lines: lib/internal/webstreams/util.js+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
230 | 230 | |
231 | 231 | |
232 | 232 | |
| 233 | + |
233 | 234 | |
234 | 235 | |
235 | 236 | |
236 | 237 | |
237 | | - |
| 238 | + |
238 | 239 | |
239 | 240 | |
240 | 241 | |
|
Collapse file
test/wpt/status/streams.json
Copy file name to clipboardExpand all lines: test/wpt/status/streams.json-7Lines changed: 0 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
16 | 16 | |
17 | 17 | |
18 | 18 | |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | 19 | |
27 | 20 | |
28 | 21 | |
|
0 commit comments