| commit | f021c75fbb80ef8a10342d94197d43838c0bb75d | [log] [tgz] |
|---|---|---|
| author | tomerni-island <tomer.nissim@island.io> | Mon Feb 24 18:59:21 2025 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Feb 24 18:59:21 2025 |
| tree | 23716d64ed1f0ca40b31d79b9659a99b2cd8f419 | |
| parent | 8545c2f1ed4532e6298a6b075b42c0709a77b153 [diff] |
Fix window restore when shutting down while ignoring unloaded handlers When CloseBrowsers() is called with ignore unload handlers, we attempt to close the browser but exit early because the skip flag is set afterward. As a result, the tabs are closed one by one, leading to missing restore data. By setting the force skip flag before initiating the shutdown flow, we ensure that the window closes and that the session history is saved correctly. Bug: 397720837 Change-Id: I6ea0f7616746874ecc98cf3e59b4bcae1c2b865c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6275911 Reviewed-by: Gabriel Charette <gab@chromium.org> Reviewed-by: Etienne Bergeron <etienneb@chromium.org> Commit-Queue: Etienne Bergeron <etienneb@chromium.org> Cr-Commit-Position: refs/heads/main@{#1424021}
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.