From 61682d0258762519dd571d88d0ffb38b2a8af7e8 Mon Sep 17 00:00:00 2001
From: Noam Rosenthal Update the rendering: if this is a window event loop,
- then: Let Update the rendering be the following steps given an
+ unsafe moment frameTimestamp: For each fully active For each fully active If this is a window event loop, then run the following steps
+ in parallel: Wait until at least one navigable navigable whose active document's relevant agent's event loop is this event loop might have a
+ rendering opportunity. Let frameTimestamp be the unsafe shared current time. For each navigable that might have a rendering opportunity,
+ queue a global task on the rendering task source given
+ navigable's active document's
+ relevant global object to update the rendering given
+ frameTimestamp. The update the rendering steps would update all documents in this
+ event loop that have a rendering opportunity. The purpose of these
+ in parallel steps is to guarantee that the update the rendering step
+ is scheduled as a task. If all of the following are true:DOMHighResTimeStamp
@@ -108122,8 +108123,8 @@ import "https://example.com/foo/../module2.mjs";
Document
in docs,
update animations and send events for that Document
, passing in
- relative high resolution time given now and that
+ relative high resolution time given frameTimestamp and that
Document
's relevant global object as the timestamp.
WEBANIMATIONSDocument
in docs, run
the animation frame callbacks for that Document
, passing in the
- relative high resolution time given now and that
+ relative high resolution time given frameTimestamp and that
Document
's relevant global object as the timestamp.
+
+
This task source us used solely to update the rendering. +