Skip to content

Commit 1656aeb

Browse files
Update index.bs
Co-authored-by: Mattias Buelens <[email protected]>
1 parent 9e49c79 commit 1656aeb

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

index.bs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2978,10 +2978,11 @@ The following abstract operations support the implementation of the
29782978
[$ReadableStreamGetNumReadRequests$](|stream|) > 0, perform the following steps:
29792979
1. Let |internalChunk| be |chunk|.
29802980
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]].
29852986
1. Perform ! [$ReadableStreamFulfillReadRequest$](|stream|, |internalChunk|, false).
29862987
1. Otherwise,
29872988
1. Let |result| be the result of performing

0 commit comments

Comments
 (0)