diff --git a/dom.bs b/dom.bs index f22477bc..7a2ad16e 100644 --- a/dom.bs +++ b/dom.bs @@ -2034,16 +2034,42 @@ an optional reason:
Set signal's [=AbortSignal/abort reason=] to reason if it is given; otherwise to a new "{{AbortError!!exception}}" {{DOMException}}. +
Let dependentSignalsToAbort be a new list. + +
For each dependentSignal of signal's + [=AbortSignal/dependent signals=]: + +
If dependentSignal is not [=AbortSignal/aborted=], then: + +
Set dependentSignal's [=AbortSignal/abort reason=] to signal's + [=AbortSignal/abort reason=]. + +
Append dependentSignal to + dependentSignalsToAbort. +
Run the abort steps for signal. + +
For each dependentSignal of dependentSignalsToAbort, + run the abort steps for dependentSignal. + + + +
To run the abort steps for an {{AbortSignal}} signal: + +
For each algorithm of signal's [=AbortSignal/abort algorithms=]: run algorithm.
Empty signal's abort algorithms.
[=Fire an event=] named {{AbortSignal/abort}} at signal. - -
For each dependentSignal of signal's - [=AbortSignal/dependent signals=], [=AbortSignal/signal abort=] on dependentSignal with - signal's [=AbortSignal/abort reason=].