You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Use title-case in clause heading
- Tweak some algorithm syntax
- Put 2 emu-clause attributes in quotes
(We always quote element attributes -- see PR #1868)
- Change "a finalization registry object" to "a FinalizationRegistry"
(The former term isn't defined.)
<p>The abstract operation HostEnqueueFinalizationRegistryCleanupJob takes argument _finalizationRegistry_ (a FinalizationRegistry). HostEnqueueFinalizationRegistryCleanupJob is an implementation-defined abstract operation that is expected to call CleanupFinalizationRegistry(_finalizationRegistry_) at some point in the future, if possible. The host's responsibility is to make this call at a time which does not interrupt synchronous ECMAScript code execution.</p>
<p>The abstract operation ClearKeptObjects takes no arguments. ECMAScript implementations are expected to call ClearKeptObjects when a synchronous sequence of ECMAScript executions completes. It performs the following steps when called:</p>
<p>The abstract operation CleanupFinalizationRegistry takes argument _finalizationRegistry_ (a finalization registry object). It performs the following steps when called:</p>
8134
+
<p>The abstract operation CleanupFinalizationRegistry takes argument _finalizationRegistry_ (a FinalizationRegistry). It performs the following steps when called:</p>
8135
8135
<emu-alg>
8136
8136
1. Assert: _finalizationRegistry_ has [[Cells]] and [[CleanupCallback]] internal slots.
8137
-
1. Set _callback_ to _finalizationRegistry_.[[CleanupCallback]].
8137
+
1. Let _callback_ be _finalizationRegistry_.[[CleanupCallback]].
8138
8138
1. While _finalizationRegistry_.[[Cells]] contains a Record _cell_ such that _cell_.[[WeakRefTarget]] is ~empty~, an implementation may perform the following steps:
8139
8139
1. Choose any such _cell_.
8140
8140
1. Remove _cell_ from _finalizationRegistry_.[[Cells]].
0 commit comments