From 490f0f69da66211a0edf6dc3f74c85277a308bbd Mon Sep 17 00:00:00 2001 From: Noam Rosenthal Date: Sun, 17 Oct 2021 11:32:25 +0300 Subject: [PATCH] Shift stuff around --- source | 37 ++++++++++++++----------------------- 1 file changed, 14 insertions(+), 23 deletions(-) diff --git a/source b/source index 8d07a7eb7e2..bc9a9dcb37e 100644 --- a/source +++ b/source @@ -4092,7 +4092,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute @@ -9620,12 +9620,6 @@ partial interface Document {
DOMHighResTimeStamp values
-

A Document has a DOMHighResTimeStamp suspension time, - initially zero.

- -

A Document has a list suspended timer handles, - initially empty.

- @@ -88831,6 +88825,12 @@ dictionary PageTransitionEventInit : EventInitpagehide events in a row without an intervening pageshow, or vice versa).

+

A Document has a DOMHighResTimeStamp suspension time, + initially zero.

+ +

A Document has a list suspended timer handles, + initially empty.

+

Event loops have a termination nesting level counter, which must initially be 0.

@@ -93635,7 +93635,7 @@ import "https://example.com/foo/../module2.mjs";
  1. -

    Let computeDeadline be the following steps:

    +

    Let computeDeadline be the following steps:

    1. @@ -93662,17 +93662,9 @@ import "https://example.com/foo/../module2.mjs"; getting the values of windowInSameLoop's map of active timers.

    2. -
    3. -

      For each estimate of timerCallbackEstimates:

      - -
        -
      1. Let timeoutDeadline be the result of calling - estimate.

      2. - -
      3. If timeoutDeadline is less than deadline, set - deadline to timeoutDeadline.

      4. -
      -
    4. +
    5. For each timeoutDeadline of timerCallbackEstimates, if + timeoutDeadline is less than deadline, set + deadline to timeoutDeadline.

  2. @@ -93681,7 +93673,7 @@ import "https://example.com/foo/../module2.mjs";
    1. Let nextRenderDeadline be this event loop's - last render opportunity time plus 16.

    2. + last render opportunity time plus 1000 / 60.

    3. If nextRenderDeadline is less than deadline, then return nextRenderDeadline.

    4. @@ -93693,7 +93685,7 @@ import "https://example.com/foo/../module2.mjs";
    5. For each win of the same-loop windows for - this event loop, start an idle period for win with + this event loop, start an idle period algorithm for win with computeDeadline.

    @@ -96116,8 +96108,7 @@ enum DOMParserSupportedType { key in this map is identified by a number, which must be unique within the list for the lifetime of the object that implements the WindowOrWorkerGlobalScope mixin, and each value is a - DOMHighResTimeStamp, representing the next earliest callback time for that - timer.

    + DOMHighResTimeStamp, representing the expiry time for that timer.

    To get the list of active timers for WindowOrWorkerGlobalScope global, return the result of getting