Re: [whatwg/webidl] Allow users of "invoke a callback function" to report the exception (PR #1424)

@domenic approved this pull request.

LGTM with nit.

>      and an optional [=callback this value|callback this value=] |thisArg|,
     perform the following steps.
     These steps will either return an IDL value or throw an exception.
 
+    The |exceptionBehavior| argument must be supplied if, and only if, |callable|'s
+    [=return type=] is not a [=promise type=]. If |callable|'s return type is neither
+    {{undefined}} nor {{any}}, it may not be "<code>report</code>".

```suggestion
    {{undefined}} nor {{any}}, it must be "<code>rethrow</code>".
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/pull/1424#pullrequestreview-2214663916
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/webidl/pull/1424/review/2214663916@github.com>

Received on Friday, 2 August 2024 05:35:09 UTC