Skip to content

Commit 172037a

Browse files
committed
Add Assert to ReadableStreamDefaultControllerEnqueue
1 parent e470c22 commit 172037a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.bs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2971,6 +2971,7 @@ The following abstract operations support the implementation of the
29712971
id="readable-stream-default-controller-enqueue">ReadableStreamDefaultControllerEnqueue(|controller|,
29722972
|chunk|, |transferList|)</dfn> performs the following steps:
29732973

2974+
1. Assert: |transferList| is empty or |controller|.[=ReadableStreamDefaultController/[[isOwning]]=] is true.
29742975
1. If ! [$ReadableStreamDefaultControllerCanCloseOrEnqueue$](|controller|) is false, return.
29752976
1. Let |stream| be |controller|.[=ReadableStreamDefaultController/[[stream]]=].
29762977
1. If ! [$IsReadableStreamLocked$](|stream|) is true and !

0 commit comments

Comments
 (0)