diff --git a/source b/source index 6c9c67cb50e..4b3f950a432 100644 --- a/source +++ b/source @@ -84903,15 +84903,23 @@ interface History { data-x="concept-task">task consisting of running the following steps:

    -
  1. If the index of the current entry of the joint session history plus - delta is less than zero or greater than or equal to the number of items in the - joint session history, invoke WebDriver BiDi navigation failed - with source browsing context, and a WebDriver BiDi navigation status whose id is navigationId, status is "canceled", and url is resource's url, then return.

  2. +
  3. +

    If the index of the current entry of the joint session history plus + delta is less than zero or greater than or equal to the number of items in the + joint session history, then:

    + +
      +
    1. Invoke WebDriver BiDi navigation failed with source browsing + context and a WebDriver BiDi navigation status whose id is navigationId, status is "canceled", and url is resource's URL.

    2. + +
    3. Return.

    4. +
    +
  4. Let specified entry be the entry in the joint session history whose index is the sum of delta and the index of the @@ -84920,23 +84928,31 @@ interface History {

  5. Let specified browsing context be the browsing context of the specified entry.

  6. -
  7. If any of the following are true:

    +
  8. +

    If any of the following are true:

    -
      -
    1. Source browsing context is not allowed to navigate +

        +
      • source browsing context is not allowed to navigate specified browsing context; or

      • -
      • The specified browsing context's active document's unload - counter is greater than 0.

      • -
    +
  9. specified browsing context's active document's unload + counter is greater than 0

  10. + + +

    then:

    -

    Then invoke WebDriver BiDi navigation failed with - with source browsing context, and a WebDriver BiDi navigation status whose id is navigationId, status is "canceled", and url is resource's url, and return.

    +
      +
    1. Invoke WebDriver BiDi navigation failed with source browsing + context and a WebDriver BiDi navigation status whose id is navigationId, status is "canceled", and url is resource's URL.

    2. + +
    3. Return.

      +
    +
  11. Queue a global task on the history traversal task source given @@ -84944,7 +84960,7 @@ interface History { steps:

      -
    1. If navigationId is null, let navigation id be the result of +

    2. If navigationId is null, then set navigationId to the result of generating a random UUID.

    3. If there is an ongoing attempt to navigate specified browsing context @@ -84960,13 +84976,13 @@ interface History {

      1. Prompt to unload the active document of the specified browsing context. If the user refused to allow the document to be - unloaded, then invoke WebDriver BiDi navigation failed with - with source browsing context, and a WebDriver BiDi navigation status - whose id is navigationId, , then invoke WebDriver BiDi navigation failed with source + browsing context and a WebDriver BiDi navigation status whose id is navigationId, status is "canceled", and url is resource's url, then return.

      2. + data-x="concept-request-url">url, and then return.

      3. Unload the active document of the specified browsing context.

      4. @@ -84975,8 +84991,8 @@ interface History {
      5. Traverse the history of the specified browsing context to the specified entry with explicitHistoryNavigation set to - true, and navigation id set to - navigationId.

        + true and navigationId set to + navigationId.

    @@ -87671,8 +87687,8 @@ new PaymentRequest(…); // Allowed to use
  12. Traverse the history to sessionHistory's current entry with historyHandling set to navigationParams's history - handling, and navigation id - set to navigationId.

  13. + handling, and navigationId set to + navigationId.

@@ -87702,9 +87718,9 @@ new PaymentRequest(…); // Allowed to use
  • Traverse the history to newEntry with historyHandling set to "replace", and navigation id set to navigationId. -

  • + data-x="hh-replace">replace", and navigationId set to + navigationId.

    @@ -87733,9 +87749,9 @@ new PaymentRequest(…); // Allowed to use
  • Append newEntry to sessionHistory.

  • -
  • Traverse the history to newEntry with navigation id set to navigationId. -

  • +
  • Traverse the history to newEntry with navigationId set to + navigationId.

  • @@ -88129,8 +88145,8 @@ new PaymentRequest(…); // Allowed to use
  • Traverse the history to the new entry, with historyHandling set to historyHandling, - nonBlockingEvents set to true, and navigation id set to navigationId. + nonBlockingEvents set to true, and navigationId set to navigationId. This will scroll to the fragment given in what is now the document's URL.

  • @@ -88291,10 +88307,10 @@ new PaymentRequest(…); // Allowed to use
  • Navigate the browsing context to request with historyHandling - set to "entry update", with entry update", historyPolicyContainer set to - entry's policy container, and with - navigation id set to navigationId. + entry's policy container, and + navigationId set to navigationId. The navigation must be done using the same source browsing context as was used the first time entry was created.

    @@ -88502,27 +88518,31 @@ new PaymentRequest(…); // Allowed to use object to run the following steps instead.

      -
    1. If stateChanged is true:

      +
    2. +

      If stateChanged is true, then:

      +
        -
      1. Fire an event named popstate at newDocument's - relevant global object, using PopStateEvent, with the state attribute initialized to state. -

      2. - -
      3. Invoke WebDriver BiDi pop state with with newDocument's - browsing context, and a new WebDriver - BiDi navigation status whose id is - navigationId, url is - resource's URL, and status is "complete".

      4. +
      5. Fire an event named popstate at newDocument's + relevant global object, using PopStateEvent, with the state attribute initialized to state. +

      6. + +
      7. Invoke WebDriver BiDi pop state with newDocument's + browsing context and a new WebDriver + BiDi navigation status whose id is + navigationId, url is + resource's URL, and status is "complete".

    3. Restore persisted state from entry.

    4. -
    5. If hashChanged is true:

      +
    6. +

      If hashChanged is true, then:

      +
      1. Fire an event named hashchange at the browsing context's