Skip to content

Commit 557edc9

Browse files
committed
Fix further conversion to owning
1 parent cd34d11 commit 557edc9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.bs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -651,16 +651,16 @@ enum ReadableStreamType { "bytes", "owning" };
651651
<p>For an example of how to set up a readable byte stream, including using the different
652652
controller interface, see [[#example-rbs-push]].
653653

654-
<p>Can be set to "<dfn enum-value for="ReadableStreamType">transfer</dfn>" to signal that the
654+
<p>Can be set to "<dfn enum-value for="ReadableStreamType">owning</dfn>" to signal that the
655655
constructed {{ReadableStream}} will own chunks (via transfer or serialization) before enqueuing them.
656656
This ensures that enqueued chunks are not mutable by the source.
657657
Transferred or serialized chunks may have <dfn>closing steps</dfn> which are executed if
658658
enqueued chunks are dequeued without being provided to the application, for instance when
659659
a {{ReadableStream}} is errored.
660660
</p>
661661

662-
<p>Setting any value other than "{{ReadableStreamType/bytes}}" or undefined will cause the
663-
{{ReadableStream()}} constructor to throw an exception.
662+
<p>Setting any value other than "{{ReadableStreamType/bytes}}", "{{ReadableStreamType/owning}}"
663+
or undefined will cause the {{ReadableStream()}} constructor to throw an exception.
664664

665665
<dt><dfn dict-member for="UnderlyingSource"
666666
lt="autoAllocateChunkSize"><code>autoAllocateChunkSize</code></dfn> (byte streams only)</dt>
@@ -1581,7 +1581,7 @@ the following table:
15811581
</div>
15821582

15831583
<div algorithm>
1584-
The <dfn id="ref-for-rs-default-controller-enqueue" method
1584+
The <dfn id="rs-default-controller-enqueue" method
15851585
for="ReadableStreamDefaultController">enqueue(|chunk|, |options|)</dfn> method steps are:
15861586

15871587
1. Let |transferList| be |options|["transfer"].

0 commit comments

Comments
 (0)