From 0465cfc6e0b652006659e45bf5ddc2f505b0b6c5 Mon Sep 17 00:00:00 2001
From: Ross McIlroy Each Window has: In addition, each event loop has: The following steps run in parallel and queue a timer
@@ -421,11 +429,13 @@ Window interface extensions
-
+
+ Window
- object.Window
- object.
+
+
The
@@ -367,8 +372,11 @@ requestIdleCallback
methodThe
requestIdleCallback
by one.
The
cancelIdleCallback
Window object.The task source for these tasks is the idle-task task source.
The time between now and deadline is referred
to as the idle period. There can only be one idle period
- active at a given time for any given window. The idle period can end
- early if the user agent determines that it is no longer idle. If so,
- the next idle period cannot start until after deadline.
The invoke idle callback timeout algorithm:
The terms browsing context - , event loop, + , similar-origin + window agent, event loop, event loop processing model, spin the event loop, fully active, @@ -345,16 +346,17 @@
Window interface extensionsIn addition, each event loop has:
+In addition, each similar-origin window agent has:
requestIdleCallback
by one.cancelIdleCallback
Window object.The start an idle period algorithm, which is called - by the event loop processing model when it determines that - the event loop is otherwise idle:
+ by the event loop processing model, when it determines that + the event loop is otherwise idle, passing a similar-origin + window agent as the argument agent:The task source for these tasks is the idle-task task source.
The time between now and deadline is referred to as the idle period. There can only be one idle period - active at a given time for any given event loop. The idle period - can end early if the user agent determines that it is no longer idle. If - so, the next idle period cannot start until after deadline. -
+ active at a given time for any given similar-origin window agent. + The idle period can end early if the user agent determines that it is no + longer idle. If so, the next idle period cannot start until after + deadline.The invoke idle callback timeout algorithm: