From b4233430fe410f67b7022ec8b28f55795dcc4110 Mon Sep 17 00:00:00 2001 From: Alex Rudenko Date: Wed, 15 Jan 2025 09:37:39 +0100 Subject: [PATCH] Consistently use navigables for integration with WebDriver BiDi Follows https://github.com/w3c/webdriver-bidi/pull/729. --- source | 59 ++++++++++++++++++++++++++-------------------------------- 1 file changed, 26 insertions(+), 33 deletions(-) diff --git a/source b/source index 5ac4faf7eb7..59aad827aa0 100644 --- a/source +++ b/source @@ -100432,8 +100432,8 @@ location.href = '#foo';
  • If navigable's active document's unload counter is greater than 0, then invoke WebDriver BiDi navigation - failed with a WebDriver BiDi navigation status whose id is navigationId, with navigable and a WebDriver BiDi navigation status whose + id is navigationId, status is "canceled", and url is url, and return.

  • @@ -100506,16 +100506,12 @@ location.href = '#foo'; navigable's is delaying load events to true.

    -
  • Let targetBrowsingContext be navigable's active browsing context.

  • -
  • Let targetSnapshotParams be the result of snapshotting target snapshot params given navigable.

  • -
  • Invoke WebDriver BiDi navigation started with - targetBrowsingContext, and a new WebDriver BiDi navigation status whose - id is navigationId, status is "

    Invoke WebDriver BiDi navigation started with navigable and a new + WebDriver BiDi navigation status whose id + is navigationId, status is "pending", and url is url.

  • @@ -100524,9 +100520,9 @@ location.href = '#foo'; data-x="">traversal", then:

      -
    1. Invoke WebDriver BiDi navigation failed with - targetBrowsingContext and a new WebDriver BiDi navigation status whose - id is navigationId,

      Invoke WebDriver BiDi navigation failed with navigable and a new + WebDriver BiDi navigation status whose id is navigationId, status is "canceled", and url is url.

    2. @@ -100629,9 +100625,9 @@ location.href = '#foo'; navigation is no longer navigationId, then:

        -
      1. Invoke WebDriver BiDi navigation failed with - targetBrowsingContext and a new WebDriver BiDi navigation status - whose id is navigationId,

        Invoke WebDriver BiDi navigation failed with navigable and a + new WebDriver BiDi navigation status whose id is navigationId, status is "canceled", and url is url.

      2. @@ -101327,10 +101323,10 @@ location.href = '#foo'; navigable, historyEntry, entryToReplace, historyHandling, and userInvolvement.

        -
      3. Invoke WebDriver BiDi fragment navigated with navigable's active browsing context and a new WebDriver BiDi navigation - status whose id is navigationId, - url is url, and

        Invoke WebDriver BiDi fragment navigated with navigable and a + new WebDriver BiDi navigation status whose id is navigationId, url is url, and status is "complete".

      @@ -102138,9 +102134,6 @@ location.href = '#foo'; navigationParams's response is non-null.

      -
    3. Let currentBrowsingContext be navigable's active browsing context.

    4. -
    5. Let documentResource be entry's document state's resource.

    6. @@ -102315,9 +102308,9 @@ location.href = '#foo'; steps for navigationParams's reserved environment.

      -
    7. Invoke WebDriver BiDi navigation failed with - currentBrowsingContext and a new WebDriver BiDi navigation status - whose id is navigationId,

      Invoke WebDriver BiDi navigation failed with navigable and a + new WebDriver BiDi navigation status whose id is navigationId, status is "canceled", and url is navigationParams's

    8. Handle navigationParams's response as a download.

    9. -
    10. Invoke WebDriver BiDi download started with - currentBrowsingContext and a new WebDriver BiDi navigation status - whose id is navigationId,

      Invoke WebDriver BiDi download started with navigable and a + new WebDriver BiDi navigation status whose id is navigationId, status is "complete", and url is navigationParams's is non-null, then:

        -
      1. Invoke WebDriver BiDi navigation aborted with document's browsing context, and a new WebDriver BiDi navigation - status whose id is - document's during-loading navigation - ID for WebDriver BiDi, status is "

        Invoke WebDriver BiDi navigation aborted with document's + node navigable and a new WebDriver BiDi navigation status whose id is document's during-loading navigation ID for WebDriver BiDi, + status is "canceled", and url is document's URL.