-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hook up about:srcdoc to use initiator_base_url plumbing.
The changes in this CL are guarded behind the NewBaseUrlInheritanceBehavior feature. This CL (mostly) re-implements https://chromium-review.googlesource.com/c/chromium/src/+/3792049 using the initiator_base_url framework landed in https://chromium-review.googlesource.com/c/chromium/src/+/4026883. One notable change is that if a srcdoc reloads itself using location.reload(), this CL uses the base url of the srcdoc frame instead of the parent's, since the srcdoc frame is itself the initiator of the reload. This CL also removes the machinery used to track each frame's baseurl, introduced in CL 3792049. Instead, the initiator base url for about:blank and about:srcdoc frames is stored on their RenderFrameHostImpls in case it's needed later. Change-Id: Ia774332d08d94f85d8c570ab03ad311d8018456d Bug: 1356658, 751329 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4032246 Reviewed-by: Daniel Cheng <dcheng@chromium.org> Commit-Queue: James Maclean <wjmaclean@chromium.org> Reviewed-by: Charlie Reis <creis@chromium.org> Cr-Commit-Position: refs/heads/main@{#1096262}
- Loading branch information
W. James MacLean
authored and
Chromium LUCI CQ
committed
Jan 24, 2023
1 parent
4d866ae
commit 78e2f87
Showing
20 changed files
with
198 additions
and
328 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
Oops, something went wrong.