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.

  • @@ -60147,6 +60149,7 @@ fur using the 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 + aor 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.

  • + event, destination, userInvolvement, null, null, and + null.

    To fire a push/replace/reload 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 {

  • Return the result of performing the inner navigate event firing algorithm given navigation, navigationType, event, destination, - userInvolvement, formDataEntryList, and null.

  • + userInvolvement, sourceElement, 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:

      @@ -95505,15 +95523,17 @@ interface NavigationDestination {
    1. Return the result of performing the inner navigate event firing algorithm given navigation, "push", event, - destination, userInvolvement, null, and filename.

    2. + destination, userInvolvement, sourceElement, 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:

    + navigation involvement userInvolvement, an Element-or-null + sourceElement, an entry list-or-null formDataEntryList, and a + string-or-null downloadRequestFilename:

    1. @@ -95635,6 +95655,10 @@ interface 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.

    2. +
    3. Initialize event's sourceElement to + sourceElement.

    4. +
    5. Set event's abort controller to a new AbortController created in navigation's relevant realm.

    6. @@ -99849,9 +99873,10 @@ location.href = '#foo'; null formDataEntryList (default null), an optional referrer policy referrerPolicy (default - the empty string), and an optional user navigation involvement user navigation involvement userInvolvement (default "none"):

      + data-x="uni-none">none"), and an optional Element sourceElement (default null):

      1. Let cspNavigationType be "form-submission" if @@ -99971,7 +99996,7 @@ location.href = '#foo';

        1. Navigate to a fragment given navigable, url, historyHandling, userInvolvement, - navigationAPIState, and navigationId.

        2. + sourceElement, navigationAPIState, and navigationId.

        3. Return.

        @@ -100074,7 +100099,8 @@ location.href = '#foo'; data-x="fire-navigate-prr-navigationType">navigationType set to historyHandling, isSameDocument set to false, userInvolvement set to - userInvolvement, userInvolvement, sourceElement set + to sourceElement, formDataEntryList set to entryListForFiring, destinationURL set to url, and

        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:

        + an Element-or-null sourceElement, a serialized state-or-null + navigationAPIState, and a navigation ID navigationId:

        1. 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.