diff --git a/source b/source index 5eeed7af23a..524b1fa4acd 100644 --- a/source +++ b/source @@ -25639,8 +25639,9 @@ document.body.appendChild(wbr);
Navigate targetNavigable to urlString using subject's node document, with referrerPolicy set to referrerPolicy and userInvolvement set to userInvolvement.
+ data-x="navigation-referrer-policy">referrerPolicy set to referrerPolicy, userInvolvement set to userInvolvement, + and sourceElement set to subject.Unlike many other types of navigations, following hyperlinks does not have
special "replace
" behavior for when
@@ -25720,7 +25721,8 @@ document.body.appendChild(wbr);
navigation with destinationURL
set to urlString, userInvolvement set to
- userInvolvement, and filename set to
+ userInvolvement, sourceElement
+ set to subject, and filename set to
filename.
If continue is false, then return.
form
element's node document, with historyHandling set to historyHandling, userInvolvement set to userInvolvement,
+ sourceElement set to submitter,
referrerPolicy set to referrerPolicy,
documentResource set to postResource, and formDataEntryList set to entry
@@ -94869,6 +94872,7 @@ interface NavigateEvent : Event {
readonly attribute DOMString? downloadRequest;
readonly attribute any info;
readonly attribute boolean hasUAVisualTransition;
+ readonly attribute Element? sourceElement;
undefined intercept(optional NavigationInterceptOptions options = {});
undefined scroll();
@@ -94999,6 +95003,12 @@ callback NavigationInterceptHandler = event.sourceElement
+ Returns the Element
responsible for this navigation. This can be an
+ a
or area
element, a submit button, or a submitted form
+ element.
event.intercept({ handler, focusReset, scroll })
Intercepts this navigation, preventing its normal handling and instead converting it into a
@@ -95103,9 +95113,11 @@ callback NavigationInterceptHandler = formData
, downloadRequest
, info
, and info
, hasUAVisualTransition
attributes
+ data-x="dom-NavigateEvent-hasUAVisualTransition">hasUAVisualTransition, and
+ sourceElement
attributes
must return the values they are initialized to.
The NavigationDestination
{
Return the result of performing the inner navigate
event firing algorithm given
navigation, "traverse
",
- event, destination, userInvolvement, null, and null.
To fire a push/replace/reload Return the result of performing the inner navigate
event at
@@ -95428,7 +95441,9 @@ interface NavigationDestination {
data-x="fire-navigate-prr-isSameDocument">isSameDocument, an optional user
navigation involvement userInvolvement (default "none
"), an optional entry list-or-null none"), an optional Element
-or-null sourceElement (default null), an
+ optional entry list-or-null formDataEntryList (default null), an
optional serialized state navigationAPIState (default
@@ -95466,14 +95481,17 @@ interface NavigationDestination {
navigate
event firing algorithm given
navigation, navigationType, event, destination,
- userInvolvement, formDataEntryList, and null.
To fire a download request navigate
event at a
Navigation
navigation given a URL destinationURL, a user
navigation involvement userInvolvement, and a string
+ data-x="fire-navigate-download-userInvolvement">userInvolvement, an
+ Element
-or-null sourceElement, and a string
filename:
Return the result of performing the inner navigate
event firing algorithm given
navigation, "push
", event,
- destination, userInvolvement, null, and filename.
The inner navigate
event firing algorithm
consists of the following steps, given a Navigation
navigation, a
NavigationType
navigationType, a NavigateEvent
event, a NavigationDestination
destination, a user
- navigation involvement userInvolvement, an entry list-or-null
- formDataEntryList, and a string-or-null downloadRequestFilename:
Element
-or-null
+ sourceElement, an entry list-or-null formDataEntryList, and a
+ string-or-null downloadRequestFilename:
Initialize event's sourceElement
to
+ sourceElement.
Set event's abort
controller to a new AbortController
created in
navigation's relevant realm.
none
"):
+ data-x="uni-none">none"), and an optional Element
sourceElement (default null):
Let cspNavigationType be "form-submission
" if
@@ -99971,7 +99996,7 @@ location.href = '#foo';
Navigate to a fragment given navigable, url, historyHandling, userInvolvement, - navigationAPIState, and navigationId.
Return.
To navigate to a fragment given a navigable navigable, a URL url, a history handling behavior historyHandling, a user navigation involvement userInvolvement, - a serialized state-or-null navigationAPIState, and a navigation - ID navigationId:
+ anElement
-or-null sourceElement, a serialized state-or-null
+ navigationAPIState, and a navigation ID navigationId:
Let navigation be navigable's active @@ -100690,7 +100716,8 @@ location.href = '#foo'; navigation with navigationType set to historyHandling, isSameDocument set to true, userInvolvement set to - userInvolvement, destinationURL + userInvolvement, sourceElement set + to sourceElement, destinationURL set to url, and navigationAPIState set to destinationNavigationAPIState.