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 no longer needs to report the exception itself.

Part of whatwg/webidl#1425.
  • Loading branch information
jeremyroman committed Aug 2, 2024
1 parent 221c867 commit d83c188
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions notifications.bs
Original file line number Diff line number Diff line change
Expand Up @@ -762,8 +762,7 @@ method steps are:

<ol>
<li><p>If <var>deprecatedCallback</var> is given, then <a for=/>invoke</a>
<var>deprecatedCallback</var> with « <var>permissionState</var> ». If this throws an
exception, then <a>report the exception</a>.
<var>deprecatedCallback</var> with « <var>permissionState</var> » and "<code>report</code>".

<li><p><a for=/>Resolve</a> <var>promise</var> with <var>permissionState</var>.
</ol>
Expand Down

0 comments on commit d83c188

Please sign in to comment.