Commit ce71929
stream: handle a pending pull request from a released reader
In order to meet the specification, this includes mainly the followings:
- Adding the 'release steps' to ReadableStreamController
- Responding to a pull request from a released reader in
ReadableByteStreamController
Signed-off-by: Daeyeon Jeong daeyeon.dev@gmail.com
PR-URL: #44702
Refs: https://streams.spec.whatwg.org/#abstract-opdef-readablebytestreamcontroller-releasesteps
Refs: https://streams.spec.whatwg.org/#readable-byte-stream-controller-respond-in-readable-state
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>1 parent e353bf7 commit ce71929Copy full SHA for ce71929
File tree
Expand file treeCollapse file tree
3 files changed
+86
-8
lines changedOpen diff view settings
Filter options
- doc/api
- lib/internal/webstreams
- test/wpt/status
Expand file treeCollapse file tree
3 files changed
+86
-8
lines changedOpen diff view settings
Collapse file
+4Lines changed: 4 additions & 0 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
651 | 651 | |
652 | 652 | |
653 | 653 | |
| 654 | + |
| 655 | + |
| 656 | + |
| 657 | + |
654 | 658 | |
655 | 659 | |
656 | 660 | |
|
Collapse file
lib/internal/webstreams/readablestream.js
Copy file name to clipboardExpand all lines: lib/internal/webstreams/readablestream.js+82Lines changed: 82 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
139 | 139 | |
140 | 140 | |
141 | 141 | |
| 142 | + |
142 | 143 | |
143 | 144 | |
144 | 145 | |
| ||
1019 | 1020 | |
1020 | 1021 | |
1021 | 1022 | |
| 1023 | + |
| 1024 | + |
1022 | 1025 | |
1023 | 1026 | |
1024 | 1027 | |
| ||
1143 | 1146 | |
1144 | 1147 | |
1145 | 1148 | |
| 1149 | + |
| 1150 | + |
| 1151 | + |
| 1152 | + |
| 1153 | + |
| 1154 | + |
| 1155 | + |
| 1156 | + |
| 1157 | + |
| 1158 | + |
| 1159 | + |
1146 | 1160 | |
1147 | 1161 | |
1148 | 1162 | |
| ||
2060 | 2074 | |
2061 | 2075 | |
2062 | 2076 | |
| 2077 | + |
| 2078 | + |
| 2079 | + |
2063 | 2080 | |
2064 | 2081 | |
2065 | 2082 | |
| ||
2365 | 2382 | |
2366 | 2383 | |
2367 | 2384 | |
| 2385 | + |
| 2386 | + |
2368 | 2387 | |
2369 | 2388 | |
2370 | 2389 | |
| ||
2574 | 2593 | |
2575 | 2594 | |
2576 | 2595 | |
| 2596 | + |
| 2597 | + |
| 2598 | + |
2577 | 2599 | |
2578 | 2600 | |
2579 | 2601 | |
| ||
2663 | 2685 | |
2664 | 2686 | |
2665 | 2687 | |
| 2688 | + |
| 2689 | + |
| 2690 | + |
| 2691 | + |
| 2692 | + |
| 2693 | + |
| 2694 | + |
| 2695 | + |
| 2696 | + |
| 2697 | + |
| 2698 | + |
| 2699 | + |
| 2700 | + |
| 2701 | + |
| 2702 | + |
| 2703 | + |
| 2704 | + |
| 2705 | + |
| 2706 | + |
| 2707 | + |
| 2708 | + |
| 2709 | + |
| 2710 | + |
| 2711 | + |
| 2712 | + |
2666 | 2713 | |
2667 | 2714 | |
2668 | 2715 | |
| ||
2678 | 2725 | |
2679 | 2726 | |
2680 | 2727 | |
| 2728 | + |
| 2729 | + |
| 2730 | + |
| 2731 | + |
| 2732 | + |
| 2733 | + |
| 2734 | + |
| 2735 | + |
| 2736 | + |
| 2737 | + |
| 2738 | + |
| 2739 | + |
| 2740 | + |
| 2741 | + |
| 2742 | + |
| 2743 | + |
| 2744 | + |
| 2745 | + |
| 2746 | + |
| 2747 | + |
| 2748 | + |
| 2749 | + |
| 2750 | + |
2681 | 2751 | |
2682 | 2752 | |
2683 | 2753 | |
| ||
2773 | 2843 | |
2774 | 2844 | |
2775 | 2845 | |
| 2846 | + |
2776 | 2847 | |
2777 | 2848 | |
2778 | 2849 | |
| ||
2783 | 2854 | |
2784 | 2855 | |
2785 | 2856 | |
| 2857 | + |
| 2858 | + |
| 2859 | + |
| 2860 | + |
| 2861 | + |
| 2862 | + |
| 2863 | + |
| 2864 | + |
| 2865 | + |
| 2866 | + |
| 2867 | + |
2786 | 2868 | |
2787 | 2869 | |
2788 | 2870 | |
|
Collapse file
test/wpt/status/streams.json
Copy file name to clipboardExpand all lines: test/wpt/status/streams.json-8Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
16 | 16 | |
17 | 17 | |
18 | 18 | |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | 19 | |
24 | | - |
25 | | - |
26 | 20 | |
27 | | - |
28 | 21 | |
29 | | - |
30 | 22 | |
31 | 23 | |
32 | 24 | |
|
0 commit comments