Commit 93e91f3
stream: fix respondWithNewView() errors when view.byteOffset != 0
Fixes: #42851
Refs: https://github.com/whatwg/streams/blob/f894acdd417926a2121710803cef593e15127964/reference-implementation/lib/abstract-ops/readable-streams.js#L1756
PR-URL: #46465
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>1 parent 9c7a2e3 commit 93e91f3Copy full SHA for 93e91f3
File tree
Expand file treeCollapse file tree
2 files changed
+31
-1
lines changedOpen diff view settings
Filter options
- lib/internal/webstreams
- test/parallel
Expand file treeCollapse file tree
2 files changed
+31
-1
lines changedOpen diff view settings
Collapse file
lib/internal/webstreams/readablestream.js
Copy file name to clipboardExpand all lines: lib/internal/webstreams/readablestream.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2965 | 2965 | |
2966 | 2966 | |
2967 | 2967 | |
2968 | | - |
| 2968 | + |
2969 | 2969 | |
2970 | 2970 | |
2971 | 2971 | |
|
Collapse file
test/parallel/test-whatwg-readablestream.js
Copy file name to clipboardExpand all lines: test/parallel/test-whatwg-readablestream.js+30Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1657 | 1657 | |
1658 | 1658 | |
1659 | 1659 | |
| 1660 | + |
| 1661 | + |
| 1662 | + |
| 1663 | + |
| 1664 | + |
| 1665 | + |
| 1666 | + |
| 1667 | + |
| 1668 | + |
| 1669 | + |
| 1670 | + |
| 1671 | + |
| 1672 | + |
| 1673 | + |
| 1674 | + |
| 1675 | + |
| 1676 | + |
| 1677 | + |
| 1678 | + |
| 1679 | + |
| 1680 | + |
| 1681 | + |
| 1682 | + |
| 1683 | + |
| 1684 | + |
| 1685 | + |
| 1686 | + |
| 1687 | + |
| 1688 | + |
| 1689 | + |
0 commit comments