Skip to content

Commit 65b8e90

Browse files
committed
Fail successive scan() invocations on readers
Signed-off-by: Zoltan Kis <[email protected]>
1 parent aa2c2f8 commit 65b8e90

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

index.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3474,7 +3474,12 @@ <h3><dfn>Writing content</dfn></h3>
34743474
and abort these steps.
34753475
</li>
34763476
<li>
3477-
Add |reader| to the <a>activated reader objects</a>.
3477+
If |reader| has already initiated a scan, then reject |p| with a
3478+
{{"InvalidStateError"}} {{DOMException}} and abort these steps.
3479+
</li>
3480+
<li>
3481+
Add |reader| to the <a>activated reader objects</a> and mark
3482+
that it has initiated a scan.
34783483
</li>
34793484
<li>
34803485
Resolve |p|.

0 commit comments

Comments
 (0)