File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -6280,7 +6280,7 @@ for="ReadableStream">locked</dfn> if ! [$IsReadableStreamLocked$](|stream|) retu
6280
6280
6281
6281
<h3 id="other-specs-ws">Writable streams</h3>
6282
6282
6283
- <h4 id="other-specs-ws-creation">Creation</h4>
6283
+ <h4 id="other-specs-ws-creation">Creation and manipulation </h4>
6284
6284
6285
6285
<div algorithm="set up a WritableStream">
6286
6286
To <dfn export for="WritableStream">set up</dfn> a newly-[=new|created-via-Web IDL=]
@@ -6320,6 +6320,13 @@ for="ReadableStream">locked</dfn> if ! [$IsReadableStreamLocked$](|stream|) retu
6320
6320
directly on the [=this=] value inside their constructor steps.</p>
6321
6321
</div>
6322
6322
6323
+ The following algorithm must only be used on {{WritableStream}} instances initialized via the above
6324
+ [=WritableStream/set up=] algorithm:
6325
+
6326
+ <p algorithm> To <dfn export for="WritableStream" lt="error|erroring">error</dfn> a
6327
+ {{WritableStream}} |stream| given a JavaScript value |e|, perform !
6328
+ [$WritableStreamDefaultControllerErrorIfNeeded$] (|stream|.[=WritableStream/[[controller]]=] , |e|).
6329
+
6323
6330
<h4 id="other-specs-ws-writing">Writing</h4>
6324
6331
6325
6332
The following algorithms can be used on arbitrary {{WritableStream}} instances, including ones that
You can’t perform that action at this time.
0 commit comments