diff --git a/index.html b/index.html index a756f0d..a803a2c 100644 --- a/index.html +++ b/index.html @@ -398,8 +398,8 @@

The IdleDeadline interface

"Privacy and Security" section of [[HR-TIME]]. This value is calculated by performing the following steps:

    -
  1. Let now be a {{DOMHighResTimeStamp}} representing - current high resolution time in milliseconds.
  2. +
  3. Let now be the [=coarsened shared current time=] given + [=this=]'s [=relevant settings object=]'s [=environment settings object/cross-origin isolated capability=].
  4. Let deadline be the result of calling {{IdleDeadline}}'s get deadline time algorithm.
  5. Let timeRemaining be deadline - now.
  6. @@ -466,7 +466,8 @@

    Invoke idle callbacks algorithm

    1. If the user-agent believes it should end the idle period early due to newly scheduled high-priority work, return from the algorithm. -
    2. Let now be the current time.
    3. +
    4. Let now be the [=coarsened shared current time=] given + window's [=relevant settings object=]'s [=environment settings object/cross-origin isolated capability=].
    5. If now is less than the result of calling getDeadline and the window's list of runnable idle callbacks is not empty:
        @@ -502,7 +503,8 @@

        Invoke idle callback timeout algorithm

      1. Remove callback from both window's list of idle request callbacks and the list of runnable idle callbacks.
      2. -
      3. Let now be the current time.
      4. +
      5. Let now be the [=coarsened shared current time=] given + window's [=relevant settings object=]'s [=environment settings object/cross-origin isolated capability=].
      6. Let deadlineArg be a new IdleDeadline. Set the get deadline time algorithm associated with deadlineArg to an algorithm returning now and set the timeout associated with