Skip to content

Commit 4fd4d3d

Browse files
rmcilroydomenic
authored andcommitted
Start an idle period more often
In particular, an idle period should start in the case where there are tasks, but they are all associated with non-fully-active documents. Fixes #4212.
1 parent d36d3eb commit 4fd4d3d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89490,7 +89490,8 @@ dictionary <dfn>PromiseRejectionEventInit</dfn> : <span>EventInit</span> {
8949089490
<li><p>If this is a <span>browsing context</span> <span>event loop</span> (as opposed to a <a
8949189491
href="#workers">worker</a> <span>event loop</span>), and there are no <span
8949289492
data-x="concept-task">tasks</span> in the <span>event loop</span>'s <span data-x="task
89493-
queue">task queues</span>, and the <span>event loop</span>'s <span>microtask queue</span> is
89493+
queue">task queues</span> which are associated with a <code>Document</code> that is
89494+
<span>fully active</span>, and the <span>event loop</span>'s <span>microtask queue</span> is
8949489495
empty, and none of the <span data-x="browsing context">browsing contexts</span> have a
8949589496
<span>rendering opportunity</span>, then for each <span>browsing context</span>, run the steps in
8949689497
the <span>start an idle period algorithm</span>, passing the <code>Window</code> associated with

0 commit comments

Comments
 (0)