commit | 11c2a57145e18afbe6e328a998407ce746da22f2 | [log] [tgz] |
---|---|---|
author | Rakina Zata Amni <rakina@chromium.org> | Fri Sep 13 23:15:23 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Sep 13 23:15:23 2024 |
tree | ca5bc00b8de9997cb961dcc4a39f74ee7d0c904f | |
parent | 2e5f650bd9d007124e2f20fe8fbd9ca9ad7175cf [diff] |
Make must_be_replaced have precedence over embedder RenderDocument check Embedders like WebView can prevent same-site RFH swaps through returning false in ShouldAllowSameSiteRenderFrameHostChange(). This is so that RenderDocument-subframe can be enabled by default except for WebView. However, the check is currently too powerful and prevents RFH swaps on crashed frames as well. This CL makes it so that even when embedders return false, must_be_replaced() RFHs will still be replaced, so navigating from crashed frames will still change RFHs. Bug: 936696 Change-Id: I2f98b4018c8df3b3a03a15044ab03658a395ebb2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5859500 Reviewed-by: Alex Moshchuk <alexmos@chromium.org> Auto-Submit: Rakina Zata Amni <rakina@chromium.org> Commit-Queue: Rakina Zata Amni <rakina@chromium.org> Cr-Commit-Position: refs/heads/main@{#1355477}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.