@@ -14400,19 +14400,19 @@ described in the previous section).
14400
14400
14401
14401
To <dfn id="invoke-a-callback-function" export>invoke</dfn> a
14402
14402
[=callback function type=] value |callable| with a [=Web IDL arguments list=] |args|,
14403
- exception behavior |exceptionBehavior| (either "` report` " or "` rethrow` "),
14403
+ exception behavior |exceptionBehavior| (either "<code> report</code> " or "<code> rethrow</code> "),
14404
14404
and an optional [=callback this value|callback this value=] |thisArg|,
14405
14405
perform the following steps.
14406
14406
These steps will either return an IDL value or throw an exception.
14407
14407
14408
14408
The |exceptionBehavior| argument must be supplied if, and only if, |callable|'s
14409
14409
[=return type=] is not a [=promise type=]. If |callable|'s return type is neither
14410
- {{undefined}} nor {{any}}, it may not be "` report` ".
14410
+ {{undefined}} nor {{any}}, it may not be "<code> report</code> ".
14411
14411
14412
14412
<div class="XXX">
14413
14413
Until call sites are updated to respect this, specifications which fail to
14414
- provide a value here when it would be mandatory should be read to supply
14415
- "` rethrow` ".
14414
+ provide a value here when it would be mandatory should be understood as
14415
+ supplying "<code> rethrow</code> ".
14416
14416
</div>
14417
14417
14418
14418
1. Let |completion| be an uninitialized variable.
@@ -14445,8 +14445,8 @@ described in the previous section).
14445
14445
1. [=Clean up after running script=] with |relevant settings|.
14446
14446
1. If |completion| is an IDL value, return |completion|.
14447
14447
1. [=Assert=]: |completion| is an [=abrupt completion=].
14448
- 1. If |exceptionBehavior| is "` rethrow` ", throw |completion|.\[[Value]].
14449
- 1. Otherwise, if |exceptionBehavior| is "` report` ":
14448
+ 1. If |exceptionBehavior| is "<code> rethrow</code> ", throw |completion|.\[[Value]].
14449
+ 1. Otherwise, if |exceptionBehavior| is "<code> report</code> ":
14450
14450
1. [=Assert=]: |callable|'s [=return type=] is {{undefined}} or {{any}}.
14451
14451
1. [=Report an exception=] |completion|.\[[Value]] for |realm|'s [=realm/global object=].
14452
14452
1. Return the unique {{undefined}} IDL value.
0 commit comments