Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -8244,6 +8244,8 @@ IDL [=promise type=] values are represented by JavaScript [=PromiseCapability=]
To <dfn export>resolve</dfn> a <code><a interface>Promise</a>&lt;|T|&gt;</code> |p| with |x| (a
value of type |T|), perform the following steps:

1. [=Record timing info for promise resolver=] given |p| and
"<code data-x="">resolve-promise</code>".
1. If |x| is not given, then let it be the {{undefined}} value.
1. Let |value| be the result of [=converted to a JavaScript value|converting=] |x| to a
JavaScript value.
Expand All @@ -8257,6 +8259,9 @@ IDL [=promise type=] values are represented by JavaScript [=PromiseCapability=]
To <dfn export>reject</dfn> a <code><a interface>Promise</a>&lt;<var ignore>T</var>&gt;</code>
|p| with reason |r| (a JavaScript value), perform the following steps:

1. [=Record timing info for promise resolver=] given |p| and
"<code data-x="">reject-promise</code>".

1. Perform [=!=] [$Call$](|p|.\[[Reject]], <emu-val>undefined</emu-val>, « |r| »).
</div>

Expand Down Expand Up @@ -14367,6 +14372,7 @@ described in the previous section).
1. Let |realm| be |F|'s [=associated realm=].
1. Let |relevant settings| be |realm|'s [=realm/settings object=].
1. Let |stored settings| be |callable|'s [=callback context=].
1. [=Record timing info for user callback=] with |F| and |relevant settings|.
1. [=Prepare to run script=] with |relevant settings|.
1. [=Prepare to run a callback=] with |stored settings|.
1. Let |jsArgs| be the result of [=Web IDL arguments list/converting=] |args| to a JavaScript
Expand Down