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:
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.
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:
+ +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.
Return.
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 {
Let specified browsing context be the browsing context of the specified entry.
If any of the following are true:
+If any of the following are true:
-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.
specified browsing context's active document's unload + counter is greater than 0
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.
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.
Return.
+Queue a global task on the history traversal task source given @@ -84944,7 +84960,7 @@ interface History { steps:
If navigationId is null, let navigation id be the result of +
If navigationId is null, then set navigationId to the result of generating a random UUID.
If there is an ongoing attempt to navigate specified browsing context @@ -84960,13 +84976,13 @@ interface History {
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.
Unload the active document of the specified browsing context.
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.Traverse the history to sessionHistory's current entry with historyHandling set to navigationParams's history - handling, and navigation id - set to navigationId.
Traverse the history to newEntry with
historyHandling set to "replace
", and navigation id set to navigationId.
-
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.
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.
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.
If stateChanged is true:
+If stateChanged is true, then:
+Fire an event named popstate
at newDocument's
- relevant global object, using PopStateEvent
, with the state
attribute initialized to state.
-
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
".
Fire an event named popstate
at newDocument's
+ relevant global object, using PopStateEvent
, with the state
attribute initialized to state.
+
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
".
Restore persisted state from entry.
If hashChanged is true:
+If hashChanged is true, then:
+Fire an event named
hashchange
at the browsing context's