From 725ca64df7c03abf012fa7633aa8f155c8280c19 Mon Sep 17 00:00:00 2001 From: James Graham Date: Wed, 15 Sep 2021 15:35:14 +0100 Subject: [PATCH] Fix review issues --- source | 47 ++++++++++++++++++++++++----------------------- 1 file changed, 24 insertions(+), 23 deletions(-) diff --git a/source b/source index 555b6cabe8f..6c9c67cb50e 100644 --- a/source +++ b/source @@ -84920,23 +84920,23 @@ interface History {
  • Let specified browsing context be the browsing context of the specified entry.

  • -
  • If source browsing context is not allowed to navigate - specified browsing context, 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, then return.

  • +
  • If any of the following are true:

    -
  • If the specified browsing context's active document's unload - counter is greater than 0, 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, then return.

  • +
      +
    1. Source browsing context is not allowed to navigate + specified browsing context; or

    2. + +
    3. The specified browsing context's active document's unload + counter is greater than 0.

    4. +
    + +

    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.

  • Queue a global task on the history traversal task source given @@ -88264,7 +88264,7 @@ new PaymentRequest(…); // Allowed to use data-x="traverse-history-hh">historyHandling (default "default"), an optional boolean nonBlockingEvents (default false), an optional boolean explicitHistoryNavigation (default - false), optional navigation id + false), and an optional navigation id navigationId (default null):

    This algorithm is not just invoked when navigation - id is not null, let navigationId be newDocument's navigation id. Otherwise let - navigationId be the result of generating a random UUID. -

  • + id is not null, set navigationId to newDocument's navigation id. + +
  • Otherwise, set navigationId to the result of generating a random + UUID.

  • @@ -88513,7 +88514,7 @@ new PaymentRequest(…); // Allowed to use browsing context, and a new WebDriver BiDi navigation status whose id is navigationId, url is - resource's url, and resource's URL, and status is "complete".

    @@ -88534,7 +88535,7 @@ new PaymentRequest(…); // Allowed to use browsing context, and a new WebDriver BiDi navigation status whose id is navigationId, url is - resource's url, and resource's URL, and status is "complete".