diff --git a/source b/source index 0a3fef09ea2..5a98350974c 100644 --- a/source +++ b/source @@ -83619,7 +83619,16 @@ interface BarProp { data-x="struct item">items:
URL, a URL
URL, a URL
+ +This doesn't necessarily
+ match the document's URL. In general, to find the "current URL" prefer using the
+ appropriate Document
's URL; a
+ session history entry's URL is only to be used for
+ session history traversal and restoration.
document, a Document
or null
Let serializedData be StructuredSerializeForStorage(data). Rethrow any exceptions.
Let newURL be the session history's current entry's - URL.
Let newURL be document's URL.
If url is not null, then:
@@ -85119,12 +85128,19 @@ interface Location { // but see also URL, with exceptionsEnabled set to - true, historyHandling set to "reload
", and the source browsing context set to the
- browsing context being navigated.
+ Navigate the browsing context to
+ this Location
object's relevant Document
's URL, with exceptionsEnabled set to
+ true, historyHandling set to "reload
", and the source browsing context set to the
+ browsing context being navigated.
This is different than navigating to the current
+ session history entry's URL, due to the potential for mismatches caused by document.open()
.