-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fenced Frames: Navigations always replace the current entry
Background: Fenced frames can navigate themselves but their history is not part of the browser back/forward list as that could be a communication channel from the fenced frame to the embedding page. This aligns with MPArch's disjoint back/forward list for nested frame trees. (For shadowDOM, this would be achieved with additional API level restrictions like history.length always returning 1 etc.) Current Change: This CL focuses on fenced frames to always have a replacement-only navigation which was decided due to being a simpler model since it doesn't imply that there's a hidden list of back/forward entries for the nested page, only accessible via history APIs and not via the back/forward buttons. This is also consistent with the iframes new opt-in mode for disjoint session history as discussed in whatwg/html#6501. This change affects both shadowDOM and MPArch versions. Design: https://docs.google.com/document/d/17rtX55WkxMcfh6ipuhP4mNULIVxUApvYt4ZYXfX2x-s/edit#heading=h.af2cik2j1rbs This CL includes browser tests to check the NavigationController's entry count and https://chromium-review.googlesource.com/c/chromium/src/+/3227344 added WPTs for all the history API surface. Bug: 1242533 Change-Id: Ic574ee1bf87ce3a53dde7d280abaa46233d85b0d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3216452 Reviewed-by: Reilly Grant <[email protected]> Reviewed-by: Dave Tapuska <[email protected]> Reviewed-by: Rakina Zata Amni <[email protected]> Reviewed-by: Jeremy Roman <[email protected]> Reviewed-by: Lei Zhang <[email protected]> Reviewed-by: Alex Moshchuk <[email protected]> Commit-Queue: Dave Tapuska <[email protected]> Commit-Queue: Shivani Sharma <[email protected]> Cr-Commit-Position: refs/heads/main@{#938761} NOKEYCHECK=True GitOrigin-RevId: 5e37873045b5e4c8cd4244480476a2b0c23b8114
- Loading branch information
1 parent
6c9994c
commit d7bab20
Showing
11 changed files
with
61 additions
and
9 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
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
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
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
4 changes: 0 additions & 4 deletions
4
...d_frame/history-length-fenced-navigations-replace-do-not-contribute-to-joint-expected.txt
This file was deleted.
Oops, something went wrong.