Skip to content

Commit e017c7a

Browse files
domenicannevk
authored andcommitted
Define the onabort event handler IDL attribute
Previously, the IDL was present, but there was no behavior.
1 parent dea5d92 commit e017c7a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

dom.bs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1835,6 +1835,11 @@ service worker.
18351835
<p>The <dfn attribute for=AbortSignal>aborted</dfn> attribute's getter, when invoked, must return
18361836
true if the <a>context object</a>'s [=AbortSignal/aborted flag=] is set, and false otherwise.
18371837

1838+
<p>The <dfn attribute for=AbortSignal><code>onabort</code></dfn> attribute is an
1839+
<a>event handler IDL attribute</a> for the <dfn export for=AbortSignal><code>onabort</code></dfn>
1840+
<a>event handler</a>, whose <a>event handler event type</a> is
1841+
<dfn event for=AbortSignal><code>abort</code></dfn>.
1842+
18381843
<p class=note>Changes to an {{AbortSignal}} object represent the wishes of the corresponding
18391844
{{AbortController}} object, but an API observing the {{AbortSignal}} object can chose to ignore
18401845
them. For instance, if the operation has already completed.
@@ -1852,7 +1857,7 @@ them. For instance, if the operation has already completed.
18521857

18531858
<li><p><a for=set>Empty</a> <var>signal</var>'s <a for=AbortSignal>abort algorithms</a>.
18541859

1855-
<li><p>[=Fire an event=] named <code>abort</code> at <var>signal</var>.
1860+
<li><p>[=Fire an event=] named {{AbortSignal/abort}} at <var>signal</var>.
18561861
</ol>
18571862

18581863
<p>A <var>followingSignal</var> (an {{AbortSignal}}) is made to

0 commit comments

Comments
 (0)