Skip to content

Commit 04722d9

Browse files
committed
Broaden incumbent tracking in Promises to also include FinalizationRegistries
1 parent 0aecf15 commit 04722d9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

source

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90144,9 +90144,10 @@ dictionary <dfn>PromiseRejectionEventInit</dfn> : <span>EventInit</span> {
9014490144
to let hosts attach state to JavaScript callbacks that are called from inside <span
9014590145
data-x="concept-task">task</span>s. HTML <span
9014690146
id="incumbent-settings-object-tracking-in-promises">tracks the <span>incumbent settings
90147-
object</span> in promises</span> by saving the <span>incumbent settings object</span> and a
90148-
<span>JavaScript execution context</span> for the <span>active script</span>. User agents must use
90149-
the following implementation: <ref spec=JAVASCRIPT></p>
90147+
object</span> in promises and <code>FinalizationRegistry</code> callbacks</span> by saving the
90148+
<span>incumbent settings object</span> and a <span>JavaScript execution context</span> for the
90149+
<span>active script</span>. User agents must use the following implementation: <ref
90150+
spec=JAVASCRIPT></p>
9015090151

9015190152
<ol>
9015290153
<li><p>Let <var>incumbent settings</var> be the <span>incumbent settings object</span>.</p></li>

0 commit comments

Comments
 (0)