Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MPArch: Treat fenced frames as subresources in SubresourceFilter
[Picking up adithyas@'s CL: https://crrev.com/c/3296548] This CL changes CSFTM to not create throttle managers for fenced frames and makes them use their embedding page's throttle manager instead. It also updates other some of the throttles to handle fenced frame roots correctly (and treat them like subframes instead of main frames). A few notes about this patch: 1) It does not treat portals as subresources yet (we aren't sure what the right behaviour for them is yet, and this patch maintains existing behaviour for them) 2) This patch doesn't fix ad tagging for fenced frames (this will be done in a separate patch) and needs some browser and renderer side changes 3) It does not fix activation inheritance for fenced frames Design doc: https://docs.google.com/document/d/1tD8ZatT4PbIRdA2LzIUWCjLoOmKYCMnv526XEiwdy5g/edit?usp=sharing * test_render_view_host.cc: Without this, some tests were crashing due to not having a ScreenInfo while performing a SynchronizeVisualProperties, see also: https://source.chromium.org/chromium/chromium/src/+/main:content/browser/renderer_host/render_widget_host_view_child_frame.cc;l=65;drc=46aacb37f89802901db6d8cb19e3e2ec01408ec4 Bug: 1263541 Change-Id: I0f30c5aec4e0ecb002769b08d2d142a12e1112e6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3488833 Reviewed-by: Kevin McNee <mcnee@chromium.org> Reviewed-by: Adithya Srinivasan <adithyas@chromium.org> Reviewed-by: John Delaney <johnidel@chromium.org> Reviewed-by: Alex Turner <alexmt@chromium.org> Reviewed-by: Andrey Kosyakov <caseq@chromium.org> Reviewed-by: Colin Blundell <blundell@chromium.org> Reviewed-by: Jonathan Ross <jonross@chromium.org> Commit-Queue: David Bokan <bokan@chromium.org> Cr-Commit-Position: refs/heads/main@{#985298}
- Loading branch information
Showing
26 changed files
with
719 additions
and
185 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
Oops, something went wrong.