commit | 602f3688ffd299e890b252f608fb1a85ff555bcc | [log] [tgz] |
---|---|---|
author | Charlie Reis <creis@chromium.org> | Tue Mar 18 02:38:30 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Mar 18 02:38:30 2025 |
tree | 86a569af2a52095675cb2aaa0b63c68682ee6e6f | |
parent | 56f8d2a7b3fb8cb4f88da9cc26bea422c69e8bac [diff] |
Fix crash when multiple start time updates occur for a navigation. Surprisingly, it is possible for a single NavigationRequest to have its start time updated multiple times in response to separate beforeunload completions. We don't have easy repro steps for this, so this is a speculative fix that removes the failing CHECK in favor of handling the case in a reasonable way (i.e., preserving the actual original navigation start time in metrics). The change should only affect metrics in rare cases, and avoid the crash. Bug: 402545469, 385170155 Change-Id: Id33c057c8fb4a3effe22e66c75c465a3372d1597 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6363439 Reviewed-by: Rakina Zata Amni <rakina@chromium.org> Auto-Submit: Charlie Reis <creis@chromium.org> Commit-Queue: Rakina Zata Amni <rakina@chromium.org> Cr-Commit-Position: refs/heads/main@{#1433943}
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.