Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mparch] Use NavigationController thru a frame tree for navigation co…
…mmands This CL uses NavigationController thru a frame tree for Page.GetNavigationHistory(), Page.NavigateToHistoryEntry(), and Page.ResetNavigationHistory(). These commands check if the frame is a top level since they are for a history. If they are called from inner frames such as subframes or fenced frames, they return an error. Bug: 1324905, 1170273 Change-Id: Iccea6eeaac5b797bd3082f425e81083b13107064 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3671274 Reviewed-by: Adithya Srinivasan <adithyas@chromium.org> Reviewed-by: Andrey Kosyakov <caseq@chromium.org> Commit-Queue: Julie Jeongeun Kim <jkim@igalia.com> Cr-Commit-Position: refs/heads/main@{#1010449} NOKEYCHECK=True GitOrigin-RevId: 9a07385b5cdd4ff9f42c8d915d014ce7adf3cbc3
- Loading branch information