Update navigation_concepts.md for document.open change.
document.open now generates a same-document navigation commit, which may update the URL (per spec). Note this in our markdown documentation to help people reason about corner cases. Bug: 1046898 Change-Id: I706efc0cf553ef90b6988243819c160067784529 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2766189 Reviewed-by: Nate Chapin <japhet@chromium.org> Commit-Queue: Charlie Reis <creis@chromium.org> Cr-Commit-Position: refs/heads/master@{#863995}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
315807c966
commit
ef219c827c
@ -21,6 +21,8 @@ can be the result of one of the following cases:
|
||||
* Navigating to a fragment within an existing document (e.g.
|
||||
`https://foo.com/1.html#fragment`).
|
||||
* A document calling the `history.pushState()` or `history.replaceState()` APIs.
|
||||
* A new document created via `document.open()`, which may change the URL to
|
||||
match the document that initiated the call (possibly from another frame).
|
||||
* A session history navigation that stays in the same document, such as going
|
||||
back/forward to an existing entry for the same document.
|
||||
|
||||
|
Reference in New Issue
Block a user