Commit 908cedd
authored
Ensure pipeTo() releases its reader correctly
The user agent is allowed to use a default reader or a BYOB reader for the pipe, but we were always calling ReadableStreamDefaultReaderRelease in the finalize steps. This commit fixes the algorithm to we should use the appropriate release abstract operation corresponding to the chosen reader.
This was broken in d5f92d9.1 parent 3c6b8b3 commit 908cedd
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2219 | 2219 | | |
2220 | 2220 | | |
2221 | 2221 | | |
2222 | | - | |
| 2222 | + | |
| 2223 | + | |
| 2224 | + | |
2223 | 2225 | | |
2224 | 2226 | | |
2225 | 2227 | | |
| |||
0 commit comments