commit | 99b117196eba83f99f3369db7eb5907ae7d683be | [log] [tgz] |
---|---|---|
author | Mingyu Lei <leimy@chromium.org> | Mon Oct 09 06:35:49 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Oct 09 06:35:49 2023 |
tree | 9b3d73bdde043595bffdab5a6621c8bb55002425 | |
parent | 111ed2c2a3e793c5517743a00be1ab3bf06ad996 [diff] |
Do not restore BFCache entry that's already used in another navigation When a new BFCache NavigationRequest is created, if the BFCache entry is also used in another ongoing BFCache navigation from the same FrameTreeNode, it should not be used anymore since it will eventually be evicted when the old NavigationRequest is reset. In this CL, we also added a new browser test that trigger the above scenario, which will crash because of the new CHECK added in `FrameTreeNode::TakeNavigationRequest`, but will pass with the new logic. Bug: 1430653, 1468984 Change-Id: I4e9c71f1f2099572d49a3db90f7479bb3fe6bfc2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4900139 Commit-Queue: Mingyu Lei <leimy@chromium.org> Reviewed-by: Rakina Zata Amni <rakina@chromium.org> Cr-Commit-Position: refs/heads/main@{#1206975}
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.