Skip to content

Commit 1222f88

Browse files
authored
Tweak other-specification advice on AbortSignal usage
Follows whatwg/dom#1152, which will remove the "follow" operation. Also changes the "should not" to "must not".
1 parent 2942e89 commit 1222f88

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

index.bs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6999,9 +6999,8 @@ above [=WritableStream/set up=] algorithm:
69996999
|stream|.[=WritableStream/[[controller]]=].[=WritableStreamDefaultController/[[signal]]=].
70007000
Specifications can [=AbortSignal/add=] or [=AbortSignal/remove=] algorithms to this
70017001
{{AbortSignal}}, or consult whether it is [=AbortSignal/aborted=] and its [=AbortSignal/abort
7002-
reason=]. Specifications should not [=AbortSignal/signal abort=] or make it [=AbortSignal/follow=]
7003-
another {{AbortSignal}}, as that would interfere with the normal use of this signal to respond to
7004-
the stream being [=abort a writable stream|aborted=].
7002+
reason=]. Specifications must not [=AbortSignal/signal abort=], as that would interfere with the
7003+
normal use of this signal to respond to the stream being [=abort a writable stream|aborted=].
70057004

70067005
<p class="note">The usual usage is, after [=WritableStream/setting up=] the {{WritableStream}},
70077006
[=AbortSignal/add=] an algorithm to its [=WritableStream/signal=], which aborts any ongoing write

0 commit comments

Comments
 (0)