diff --git a/source b/source index 327b5d1d2eb..aaabd4fcf9e 100644 --- a/source +++ b/source @@ -4081,6 +4081,38 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
The following terms are defined in WebDriver BiDi:
+ +The following terms are defined in uuid:
+ +about:blank
is
true.
+ The Document
has a navigation
+ id, which is a navigation id or null.
DocumentOrShadowRoot
interfaceDOM defines the permissions policy is
permissionsPolicy, cross-origin opener
- policy is coop, and which is ready for post-load tasks.
Assert: document's URL and document's relevant settings object's Location { // but see also items:
A navigation has a navigation id, which is a unique + string.
+ @@ -86040,9 +86083,10 @@ interface Location { // but see also historyHandling (default "default
"), an optional policy container-or-null historyPolicyContainer (default null) and an
+ data-x="navigation-historypolicycontainer">historyPolicyContainer (default null), an
optional string navigationType (default
- "other
"):
+ "other
"), and an optional navigation id
+ navigationId (default null):
If resource is a URL, then set resource to a new Location { // but see also reload", + and browingContext's active document's navigation id is not null, let + navigationId be browingContext's active document's + navigation id. Otherwise let navigation + id be the result of generating a random UUID.
If browsingContext's active document's unload counter - is greater than 0, then return.
canceled
", and url is resource's url, and return.
To process a navigate URL scheme, given a URL url, a @@ -87056,7 +87157,8 @@ interface Location { // but see also final sandboxing flag set, and cross-origin opener policy is navigationParams's cross-origin opener - policy.
+ policy, and navigation id is + navigationParams's id.The new Window
's associated Document
is set to
@@ -87395,9 +87497,9 @@ new PaymentRequest(…); // Allowed to use
defined in XML and Namespaces in XML, XML Media Types,
DOM, and other relevant specifications to create and initialize a Document
object
- given "xml
", type, and navigationParams. They must
- also create a corresponding XML parser.
xml
", type, and
+ navigationParams. They must also create a corresponding XML parser.
+
At the time of writing, the XML specification community had not actually yet specified how XML and the DOM interact.
@@ -87408,16 +87510,20 @@ new PaymentRequest(…); // Allowed to use encoding is established, the document's character encoding must be set to that character encoding. -Then, with the newly created Document
, the user agent must update the
- session history with the new page given navigationParams and the newly-created
- Document
. User agents may do this before the complete document has been parsed (thus
- achieving incremental rendering), and must do this before any scripts are to be
- executed.
Then, with document, the user agent must update the session history with the + new page given navigationParams and document. User agents may do + this before the complete document has been parsed (thus achieving incremental rendering), + and must do this before any scripts are to be executed.
+ +Once parsing is complete, the user agent must set document's navigation id to null.
+ +For HTML documents this is reset when parsing is complete, after firing the load + event.
Error messages from the parse process (e.g., XML namespace well-formedness errors) may be
reported inline by mutating the Document
.
When a plain text document is to be loaded, provided navigation params @@ -87670,8 +87776,9 @@ new PaymentRequest(…); // Allowed to use
To navigate to a fragment given a browsing - context browsingContext, a URL url, and a history - handling behavior historyHandling:
+ context browsingContext, a URL url, a history + handling behavior historyHandling, and a navigation + id navigationId:Invoke WebDriver BiDi fragment navigated with browsingContext,
+ and a new WebDriver BiDi navigation status whose id is navigationId, url is resource's url, and status is "complete
".
If the scrolling fails because the relevant ID has @@ -88568,6 +88683,24 @@ interface BeforeUnloadEvent : Event { discarded, then set document's salvageable state to false.
+If document's navigation id + is non-null, then:
+ +Invoke WebDriver BiDi navigation aborted with document's browsing context, and new WebDriver BiDi navigation
+ status whose whose id is
+ document's navigation id, status is "canceled
", and url is
+ document's URL.
Set document's navigation + id to null.
If document has an active parser, then:
@@ -113472,6 +113605,16 @@ document.body.appendChild(text);ServiceWorkerContainer
object whose associated service worker client is the
Document
object's relevant settings object.Invoke WebDriver BiDi DOM content loaded with the Document
's
+ browsing context, and a new WebDriver BiDi
+ navigation status whose id is the
+ Document
object's navigation id, status is "pending
", and url is the
+ Document
object's URL.
Invoke WebDriver BiDi load complete with the Document
's
+ browsing context, and a new WebDriver BiDi
+ navigation status whose id is the
+ Document
object's navigation
+ id, status is "complete
", and url is the Document
object's URL.
Set the Document
object's
+ navigation id to null.
Set the Document
's load timing info's load event end
time to the current high resolution time given window.