| commit | 04e823a24cfd3b64889ca1bc417f6165c12e8ff8 | [log] [tgz] |
|---|---|---|
| author | Addison Luh <aluh@chromium.org> | Wed May 22 00:57:14 2024 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed May 22 00:57:14 2024 |
| tree | 5849345112bf6b4c119cddcde8083527e78ae138 | |
| parent | e9edaa6786926dd5db4b0062ede574e2a9c59afc [diff] |
[extended-updates] Fix CrosSettings observer after Settings page refresh When the About settings page refreshes, it temporarily disallows Javascript then allows it again. In `OnJavascriptDisallowed()`, it invalidates its weak pointers, which causes any CrosSettings change observation to become invalidated as well. The fix is to re-observe CrosSettings changes every time Javascript is allowed again. A test has been added to exercise this. Bug: b:341890624 Change-Id: I525211e9d1f701da1758dce376e2300bdaaca9c3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5555936 Reviewed-by: Demetrios Papadopoulos <dpapad@chromium.org> Reviewed-by: Nikki Moteva <moteva@google.com> Auto-Submit: Addison Luh <aluh@chromium.org> Commit-Queue: Demetrios Papadopoulos <dpapad@chromium.org> Commit-Queue: Addison Luh <aluh@chromium.org> Cr-Commit-Position: refs/heads/main@{#1304173}
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.