commit | 4ba99d6ab6593ef89703a1e69a8b965502edb96a | [log] [tgz] |
---|---|---|
author | Mason Freed <masonf@chromium.org> | Tue Feb 11 16:33:31 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Feb 11 16:33:31 2025 |
tree | f03fa36c5f661bc0cd56b917bf435297a387ce3b | |
parent | e1225abce4b12e4167ac1cc05b76abf1c954a031 [diff] |
Fix dialog crashers related to `<dialog open>` When the `open` attribute is added to a dialog to force-open it, the close watcher was previously not getting constructed. Several related cases then could crash, due to the lack of a close watcher. This CL constructs the close watcher, and adds the dialog to the open dialogs list, when the `open` attribute is manually added. Fixed: 393420204, 393883102, 393879748, 393834331 Bug: 376516550 Change-Id: Id80ac36a3b9295b071fc56c251f6f3706573bc27 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6245064 Reviewed-by: Traian Captan <tcaptan@chromium.org> Auto-Submit: Mason Freed <masonf@chromium.org> Commit-Queue: Mason Freed <masonf@chromium.org> Cr-Commit-Position: refs/heads/main@{#1418682}
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.