commit | 5682cf0a0e12df6aa3de9d0fcadb733ebebac860 | [log] [tgz] |
---|---|---|
author | Yuzu Saijo <yuzus@chromium.org> | Thu Sep 29 13:26:59 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Sep 29 13:26:59 2022 |
tree | 6e2cb11487205b50f886bece181a7eb15bb3457e | |
parent | f74c37faaa3a9fe8da92ea3a9ad77943e0c5265d [diff] |
[bfcache] Update NotRestoredReasons before committing navigation This CL adds code to update NotRestoredReasons when sending commit navigation so that we send the right reasons to the renderer. Before this we only populated certain reasons at DidCommitNavigation, but now we cover all the reasons at SendCommitNavigation. This CL also adds a test case that would fail without calling UpdateNotRestoredReasons in SendCommitNavigation. Bug: 1326344 Change-Id: Iee870f8538d602d6027623989cdced032a00b7ea Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3886299 Reviewed-by: Rakina Zata Amni <rakina@chromium.org> Commit-Queue: Yuzu Saijo <yuzus@chromium.org> Cr-Commit-Position: refs/heads/main@{#1052951}
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.