diff --git a/source b/source index 6a8ff6c9eab..48cb296445c 100644 --- a/source +++ b/source @@ -100193,6 +100193,8 @@ const p2 = navigation.navigate(url2).finished;
Set navigation's transition to null.
Resolve event's deferred commit cleanup promise.
DOMException.
+ event.scroll(Promise<undefined>)NavigationInterceptHandler callbacks, initially empty.
+ Each NavigateEvent has a deferred commit promise list, a
+ list of promise objects, initially empty.
Each NavigateEvent has a deferred commit cleanup promise, a promise
+ object, initially a new promise.
Each NavigateEvent has a focus
reset behavior, a NavigationFocusReset-or-null, initially null.
info, hasUAVisualTransition, and
- sourceElement attributes
- must return the values they are initialized to.
+ data-x="dom-NavigateEvent-hasUAVisualTransition">hasUAVisualTransition, and sourceElement attributes must return the
+ values they are initialized to.
deferCommit(readyPromise) method
+ steps are:
+
+ Perform shared checks given + this.
If this's canIntercept
+ attribute was initialized to false, then throw a "SecurityError"
+ DOMException.
If this's dispatch flag is unset, then throw an
+ "InvalidStateError" DOMException.
If this's interception state is not "none", then throw an "InvalidStateError"
+ DOMException.
Append readyPromise to this's + deferred commit promise list.
Let cleanupPromise be a new promise in this's relevant realm.
Wait for all « readyPromise, this's deferred + commit cleanup promise », with the following as both the success and failure step: resolve + cleanupPromise.
Return cleanupPromise.
To perform shared checks for a
NavigateEvent event:
Let document be navigation's relevant global object's NavigationDestination { transition, to display a cached rendered state of the document's latest entry, was done by the user agent. Otherwise, initialize it to false.
Let destinationDocument be.
Initialize event's sourceElement to
sourceElement.
Let deferringCommit be true if navigation's ongoing navigate event's deferred commit promise list
+ is non-empty; Otherwise false.
If sourceDocument is navigable's container document, then reserve deferred fetch quota for navigable's container given @@ -106575,8 +106635,9 @@ location.href = '#foo'; data-x="dom-navigationtimingtype-navigate">navigate", sourceSnapshotParams, targetSnapshotParams, userInvolvement, navigationId, navigationParams, cspNavigationType, with allowPOST set to true and completionSteps set to the following + data-x="attempt-to-populate-allow-post">allowPOST set to true, deferCommit set to deferringCommit, + and completionSteps set to the following step:
other"), an optional boolean allowPOST (default false), and optional
- algorithm steps allowPOST (default false), an optional
+ boolean deferCommit (default
+ false), and optional algorithm steps completionSteps (default an empty
algorithm):
@@ -108036,14 +108098,14 @@ location.href = '#foo';
Let processNavigateResponse be to + queue a global task on the navigation and traversal task source, given + navigable's active window, to run these steps:
If navigable's ongoing navigation no longer equals navigationId, then run completionSteps and abort these steps.
Let saveExtraDocumentState be true.
@@ -108265,6 +108327,19 @@ location.href = '#foo';Run completionSteps.
If deferringCommit is true, then defer navigation commit given + navigable, navigationId, and the following steps:
+ +Call processNavigateResponse.
Set processNavigateResponse to an empty algorithm.
Otherwise, call processNavigateResponse.
To defer navigation commit given a navigable navigable, a + navigation ID navigationID, and an algorithm proceed:
+ +Let document be navigable's active + document.
Queue a task on the DOM manipulation task source given + document's relevant global object to run the steps:
+ +If navigable ongoing navigation is not navigationID, + then call proceed and abort these steps.
Let event be document's relevant global object's
+ navigation API's ongoing navigate event.
Add proceed to event's signal.
Wait for all event's deferred commit promise list, + with proceed as both the success and failure steps.
An element has a browsing context scope origin if its Document's
node navigable is a top-level traversable or if all of its