@@ -14186,7 +14186,8 @@ the special value “missing”, which represents a missing optional argument.
14186
14186
|callResult| and jump to the step labeled <a href="#call-user-object-operation-return"><i>return</i></a>.
14187
14187
1. Set |completion| to the result of [=converted to an IDL value|converting=]
14188
14188
|callResult|.\[[Value]] to an IDL value of the same type as the operation's
14189
- return type.
14189
+ return type. If this throws an exception, set |completion| to the completion value
14190
+ representing the thrown exception.
14190
14191
1. <i id="call-user-object-operation-return">Return:</i> at this
14191
14192
point |completion| will be set to an IDL value or an [=abrupt completion=].
14192
14193
1. [=Clean up after running a callback=] with |stored settings|.
@@ -14273,8 +14274,9 @@ described in the previous section).
14273
14274
1. If |callResult| is an [=abrupt completion=], set |completion| to
14274
14275
|callResult| and jump to the step labeled <a href="#invoke-return"><i>return</i></a>.
14275
14276
1. Set |completion| to the result of [=converted to an IDL value|converting=]
14276
- |callResult|.\[[Value]] to an IDL value of the same type as the operation's
14277
- return type.
14277
+ |callResult|.\[[Value]] to an IDL value of the same type as |callable|'s
14278
+ return type. If this throws an exception, set |completion| to the completion value
14279
+ representing the thrown exception.
14278
14280
1. <i id="invoke-return">Return:</i> at this
14279
14281
point |completion| will be set to an IDL value or an [=abrupt completion=].
14280
14282
1. [=Clean up after running a callback=] with |stored settings|.
@@ -14315,8 +14317,9 @@ a return type that is a [=promise type=].
14315
14317
1. If |callResult| is an [=abrupt completion=], set |completion| to
14316
14318
|callResult| and jump to the step labeled <a href="#construct-return"><i>return</i></a>.
14317
14319
1. Set |completion| to the result of [=converted to an IDL value|converting=]
14318
- |callResult|.\[[Value]] to an IDL value of the same type as the operation's
14319
- return type.
14320
+ |callResult|.\[[Value]] to an IDL value of the same type as |callable|'s
14321
+ return type. If this throws an exception, set |completion| to the completion value
14322
+ representing the thrown exception.
14320
14323
1. <i id="construct-return">Return:</i> at this
14321
14324
point |completion| will be set to an IDL value or an [=abrupt completion=].
14322
14325
1. [=Clean up after running a callback=] with |stored settings|.
0 commit comments