Skip to content

Commit 36c72cc

Browse files
authored
Editorial: Update use of WebIDL "invoke a callback function" (#270)
This algorithm can now handle the need to report an exception thrown by the callback. Some small tweaks are made for consistency with other specifications. Part of whatwg/webidl#1425.
1 parent fe3877b commit 36c72cc

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

index.src.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -833,10 +833,9 @@ <h3 id="invoke-observers" algorithm>
833833

834834
3. Empty |observer|'s <a>report queue</a>
835835

836-
4. <a spec=webidl>Invoke</a> |observer|'s <a>callback</a> with a list of
837-
arguments consisting of |reports| and |observer|, and |observer| as the
838-
<a>callback this value</a>. If this throws an exception, <a>report the
839-
exception</a>.
836+
4. <a spec=webidl>Invoke</a> |observer|'s <a>callback</a> with
837+
« |reports|, |observer| » and "`report`", and with |observer| as the
838+
<a>callback this value</a>.
840839
</section>
841840

842841
<section>

0 commit comments

Comments
 (0)