From d280c831b695ad8eb00fbcbd9af2de8bf625823e Mon Sep 17 00:00:00 2001
From: Domenic Denicola
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's relevant Document
has
- completely loaded, orclick
event's isTrusted
- attribute is true, orclick
event, whose isTrusted
attribute is true, is being handled.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
"):
Let browsingContext be the current global object's Location { // but see also replace".
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
".
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.
Location
-object-setter navigate given the resulting URL
+ Location
-object navigate given the resulting URL
record.
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".
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.
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: