commit | 734db66cb259dd70f28566b21dd05efe11dee91d | [log] [tgz] |
---|---|---|
author | Charlie Reis <[email protected]> | Thu Jan 11 18:20:03 2024 |
committer | Chromium LUCI CQ <[email protected]> | Thu Jan 11 18:20:03 2024 |
tree | 16554be693964ffd606f822ab052e567e89dbc7d | |
parent | 1ec2393213432219962a975021623c6af704befa [diff] |
Fix bug with computing was_on_initial_empty_document. The previous code may have incorrectly computed true when not on the initial empty document, if a speculative RFH was being committed. This led to the wrong outcome for location.replace in a subframe, which is the only place that this was_on_initial_empty_document value was used. Instead, this CL moves the initial empty document state from RenderFrameHost back to FrameTreeNode, where it lived before https://chromium-review.googlesource.com/c/chromium/src/+/3947845. This ensures that the value does not temporarily reset to true after each new RenderFrameHost in the FrameTreeNode. Bug: 1515381 Change-Id: I84624d89e9ee4796036b8e77124fd6567e1d619e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5172021 Commit-Queue: Charlie Reis <[email protected]> Reviewed-by: Kevin McNee <[email protected]> Cr-Commit-Position: refs/heads/main@{#1245966}
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.