Skip to content

Commit 5e1d90a

Browse files
Revert "Allow for HostEnqueueFinalizationRegistryCleanupJob and HostEnqueuePromiseJob when the scripting is disabled"
This reverts commit 88b10e4.
1 parent ec2cdac commit 5e1d90a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

source

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119763,6 +119763,9 @@ dictionary <dfn dictionary>PromiseRejectionEventInit</dfn> : <span>EventInit</sp
119763119763
<var>finalizationRegistry</var>.[[CleanupCallback]].[[Callback]].[[Realm]]'s <span
119764119764
data-x="concept-realm-settings-object">environment settings object</span>.</p></li>
119765119765

119766+
<li><p><span>Check if we can run script</span> with <var>entry</var>. If this returns "do not
119767+
run", then return.</p></li>
119768+
119766119769
<li>
119767119770
<p><span>Prepare to run script</span> with <var>entry</var>.</p>
119768119771

@@ -119844,6 +119847,9 @@ dictionary <dfn dictionary>PromiseRejectionEventInit</dfn> : <span>EventInit</sp
119844119847
<p><span>Queue a microtask</span> to perform the following steps:</p>
119845119848

119846119849
<ol>
119850+
<li><p>If <var>job settings</var> is not null, then <span>check if we can run script</span>
119851+
with <var>job settings</var>. If this returns "do not run" then return.</p></li>
119852+
119847119853
<li>
119848119854
<p>If <var>job settings</var> is not null, then <span>prepare to run script</span> with
119849119855
<var>job settings</var>.</p>

0 commit comments

Comments
 (0)