Commit a9675a0
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 0fb446e commit a9675a0Copy full SHA for a9675a0
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 |
|---|---|---|
| ||
211 | 211 | |
212 | 212 | |
213 | 213 | |
| 214 | + |
214 | 215 | |
215 | 216 | |
216 | 217 | |
217 | 218 | |
218 | | - |
| 219 | + |
219 | 220 | |
220 | 221 | |
221 | 222 | |
|
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