File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -2978,10 +2978,11 @@ The following abstract operations support the implementation of the
2978
2978
[$ReadableStreamGetNumReadRequests$] (|stream|) > 0, perform the following steps:
2979
2979
1. Let |internalChunk| be |chunk|.
2980
2980
1. If |controller|.[=ReadableStreamDefaultController/[[isOwning]]=] is true, perform the following steps:
2981
- 1. Set |internalChunk| to [$StructuredTransferOrClone$] (|chunk|, |transferList|).
2982
- 1. If |internalChunk| is an abrupt completion,
2983
- 1. Perform ! [$ReadableStreamDefaultControllerError$] (|controller|, |internalChunk|.\[[Value]] ).
2984
- 1. Return |internalChunk|.
2981
+ 1. Let |result| be [$StructuredTransferOrClone$] (|chunk|, |transferList|).
2982
+ 1. If |result| is an abrupt completion,
2983
+ 1. Perform ! [$ReadableStreamDefaultControllerError$] (|controller|, |result|.\[[Value]] ).
2984
+ 1. Return |result|.
2985
+ 1. Set |internalChunk| to |result|.\[[Value]] .
2985
2986
1. Perform ! [$ReadableStreamFulfillReadRequest$] (|stream|, |internalChunk|, false).
2986
2987
1. Otherwise,
2987
2988
1. Let |result| be the result of performing
You can’t perform that action at this time.
0 commit comments