diff --git a/source b/source index ef3bf3395d8..5c49ee31ecb 100644 --- a/source +++ b/source @@ -23719,9 +23719,17 @@ document.body.appendChild(wbr); request's referrer to "no-referrer".

-
  • Let historyHandling be "replace" if - windowType is not "existing or none"; otherwise, "default".

  • +
  • +

    Let historyHandling be "replace" if + windowType is not "existing or none"; otherwise, "default".

    + +

    Unlike many other types of navigations, following hyperlinks does not have + special "replace" behavior for when documents are not + completely loaded. This is true for both user-initiated instances of following + hyperlinks, as well as script-triggered ones via, e.g., aElement.click().

    +
  • Queue an element task on the DOM manipulation task source given subject to navigate target to @@ -56344,9 +56352,8 @@ fur

  • If target browsing context is null, then return.

  • -
  • If form document has not yet completely loaded and the - submitted from submit() method flag is set, then - set historyHandling to "replace".

  • +
  • If form document has not yet completely loaded, then set + historyHandling to "replace".

  • If the value of method is Location { // but see also replace".

  • - -
  • -

    If any of the following conditions are met, then set historyHandling to "default":

    - - -
  • - -
  • Location-object navigate, given url and - historyHandling.

  • - - -

    To Location-object navigate, given a url and - historyHandling:

    +

    To Location-object navigate, given a URL url + and an optional history handling behavior historyHandling (default "default"):

    1. Let browsingContext be the current global object's Location { // but see also replace".

    2. +
    3. If this Location object's relevant Document is not + yet completely loaded, and the incumbent + global object does not have transient activation, then set + historyHandling to "replace".

    4. +
    5. Navigate browsingContext to url, with exceptionsEnabled set to true, historyHandling set to historyHandling, and the @@ -84744,7 +84728,7 @@ interface Location { // but see also Parse the given value relative to the entry settings object. If that failed, throw a TypeError exception.

    6. -
    7. Location-object-setter navigate given the resulting URL +

    8. Location-object navigate given the resulting URL record.

    @@ -84813,7 +84797,7 @@ interface Location { // but see also scheme is not an HTTP(S) scheme, then terminate these steps.

    -
  • Location-object-setter navigate to copyURL.

  • +
  • Location-object navigate to copyURL.

  • The host @@ -84863,7 +84847,7 @@ interface Location { // but see also state override.

    -
  • Location-object-setter navigate to copyURL.

  • +
  • Location-object navigate to copyURL.

  • The hostname @@ -84906,7 +84890,7 @@ interface Location { // but see also state override.

    -
  • Location-object-setter navigate to copyURL.

  • +
  • Location-object navigate to copyURL.

  • The port @@ -84952,7 +84936,7 @@ interface Location { // but see also state override.

    -
  • Location-object-setter navigate to copyURL.

  • +
  • Location-object navigate to copyURL.

  • The pathname @@ -85004,7 +84988,7 @@ interface Location { // but see also state override.

    -
  • Location-object-setter navigate to copyURL.

  • +
  • Location-object navigate to copyURL.

  • The search @@ -85062,7 +85046,7 @@ interface Location { // but see also hash @@ -85109,7 +85093,7 @@ interface Location { // but see also state override.

    -
  • Location-object-setter navigate to copyURL.

  • +
  • Location-object navigate to copyURL.

  • Unlike the equivalent API for the a and area elements, @@ -85136,7 +85120,7 @@ interface Location { // but see also default".

    + record.

    When the to the current high resolution time given the Document's relevant global object.

    +
  • Completely finish loading the Document.

  • +
  • Queue the navigation timing entry for document.

  • @@ -112705,8 +112691,6 @@ document.body.appendChild(text); printing steps.

  • The Document is now ready for post-load tasks.

  • - -
  • Completely finish loading the Document.

  • When the user agent is to abort a parser, it must run the following steps: