From 4c2a0b57cec0a502c87db40afa47bfa96c84cc3d Mon Sep 17 00:00:00 2001
From: Noam Rosenthal Navigate targetNavigable to
urlString using subject's node document, with referrerPolicy set to referrerPolicy and userInvolvement set to userInvolvement.
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,11 @@ callback NavigationInterceptHandler = event.sourceElement
+ Returns the Element
responsible for this navigation, be it an a
+ element that was clicked, a Submit Button, or a
+ submitted form
.
event.intercept({ handler, focusReset, scroll })
Intercepts this navigation, preventing its normal handling and instead converting it into a
@@ -95103,9 +95112,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 +95440,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 +95480,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 +99995,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 +100715,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.
Navigate to a fragment given navigable, url, historyHandling, userInvolvement, - sourceElement navigationAPIState, and navigationId.
Return.
Returns the Element
responsible for this navigation, be it an a
- element that was clicked, a Submit Button, or a
- submitted form
.
form
element.
event.intercept({ handler, focusReset, scroll })
Returns the Element
responsible for this navigation, be it an a
- element that was clicked, a submit button, or a
- submitted form
element.
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 })