forked from Floorp-Projects/Floorp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1667006 - document.open should set the url of the session history…
… entry to the entry document's. r=smaug document.open replaces the session history entry with a new one, the url of which needs to point to the entry document. nsDocShell::UpdateActiveEntry wasn't resetting the url and the originalURL in the replace case. This patch always creates a new SessionHistoryInfo so we share more code between replace and non-replace, to avoid missing some fields. Differential Revision: https://phabricator.services.mozilla.com/D91273
- Loading branch information
1 parent
27d2ca4
commit 4a5a36d
Showing
3 changed files
with
50 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters