Skip to content

Commit b04c1ff

Browse files
committed
Check for isTransferring slot presence
1 parent 595fd12 commit b04c1ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6392,7 +6392,7 @@ for="value-with-size">value</dfn> and <dfn for="value-with-size">size</dfn>.
63926392
1. If ! [$IsNonNegativeNumber$](|size|) is false, throw a {{RangeError}} exception.
63936393
1. If |size| is +∞, throw a {{RangeError}} exception.
63946394
1. Let |enqueuedValue| be |value|.
6395-
1. If |container|.\[[isTransferring]] is true, perform the following steps:
6395+
1. If |container| has a \[[isTransferring]] internal slot whose value is true, perform the following steps:
63966396
1. Set |enqueuedValue| to [$StructuredTransferOrClone$](|value|, |transferList|).
63976397
1. If |enqueuedValue| is an abrupt completion, return.
63986398
1. [=list/Append=] a new [=value-with-size=] with [=value-with-size/value=] |enqueuedValue| and
@@ -6415,7 +6415,7 @@ for="value-with-size">value</dfn> and <dfn for="value-with-size">size</dfn>.
64156415
performs the following steps:
64166416

64176417
1. Assert: |container| has \[[queue]] and \[[queueTotalSize]] internal slots.
6418-
1. If |container|.\[[isTransferring]] is true, perform the following steps until |container|.\[[queue]]
6418+
1. If |container| has a \[[isTransferring]] internal slot whose value is true, perform the following steps until |container|.\[[queue]]
64196419
is [=list/is empty|empty=]:
64206420
1. Let |chunk| be ! [$DequeueValue$]([=this=]).
64216421
1. If |chunk| has [=closing steps=], perform the [=closing steps=] given |chunk|.

0 commit comments

Comments
 (0)