Skip to content

Commit

Permalink
Editorial: Update use of WebIDL "invoke a callback function"
Browse files Browse the repository at this point in the history
The single use, in mutation observers, no longer needs to deal with
reporting the exception itself, but simply request that WebIDL do so.

Part of whatwg/webidl#1425.
  • Loading branch information
jeremyroman committed Aug 2, 2024
1 parent 7c494e5 commit 4e2cdb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dom.bs
Original file line number Diff line number Diff line change
Expand Up @@ -3658,8 +3658,8 @@ run these steps:
<var>mo</var> from <var>node</var>'s <a>registered observer list</a>.

<li><p>If <var>records</var> <a for=queue>is not empty</a>, then <a spec=webidl>invoke</a>
<var>mo</var>'s <a for=MutationObserver>callback</a> with « <var>records</var>, <var>mo</var> »,
and <var>mo</var>. If this throws an exception, catch it, and <a>report the exception</a>.
<var>mo</var>'s <a for=MutationObserver>callback</a> with « <var>records</var>, <var>mo</var> »
and "<code>report</code>", and with <a>callback this value</a> <var>mo</var>.
</ol>

<li><p><a for=set>For each</a> <var>slot</var> of <var>signalSet</var>, <a>fire an event</a> named
Expand Down

0 comments on commit 4e2cdb2

Please sign in to comment.