Commit 3fdf6cf
authored
stream: fix
The `size` function returned from the `size` getter of
`ByteLengthQueuingStrategy` or `CountQueuingStrategy` should not have
a prototype property, nor be a constructor.
Refs: https://streams.spec.whatwg.org/#blqs-size
Refs: https://streams.spec.whatwg.org/#cqs-size
Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com>
PR-URL: #44867
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>size function returned from QueuingStrategies1 parent 19a9099 commit 3fdf6cfCopy full SHA for 3fdf6cf
File tree
Expand file treeCollapse file tree
2 files changed
+8
-15
lines changedOpen diff view settings
Filter options
- lib/internal/webstreams
- test/wpt/status
Expand file treeCollapse file tree
2 files changed
+8
-15
lines changedOpen diff view settings
Collapse file
lib/internal/webstreams/queuingstrategies.js
Copy file name to clipboardExpand all lines: lib/internal/webstreams/queuingstrategies.js+8-5Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2 | 2 | |
3 | 3 | |
4 | 4 | |
| 5 | + |
5 | 6 | |
6 | 7 | |
7 | 8 | |
| ||
47 | 48 | |
48 | 49 | |
49 | 50 | |
50 | | - |
51 | | - |
52 | | - |
53 | | - |
54 | | - |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
55 | 58 | |
56 | 59 | |
57 | 60 | |
|
Collapse file
test/wpt/status/streams.json
Copy file name to clipboardExpand all lines: test/wpt/status/streams.json-10Lines changed: 0 additions & 10 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2 | 2 | |
3 | 3 | |
4 | 4 | |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | 5 | |
16 | 6 | |
17 | 7 | |
|
0 commit comments