commit | ff8ce9b425c56e4b0bc6834b153ab63509964a53 | [log] [tgz] |
---|---|---|
author | Shakti Sahu <shaktisahu@chromium.org> | Mon Mar 03 16:04:01 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Mar 03 16:04:01 2025 |
tree | 6f34afd42fbcc1aee8d5ed3915415acacbc80b7a | |
parent | 353a2634a0d2df2a0906384de02aeed9b34fc09d [diff] |
[collaborations] Ignore OnTabGroupAdded if already opened locally During shared tab group join flow, collaboration controller opens the tab group locally in the tab model. However, there is a race condition due to which sometimes the OnTabGroupAdded observer event from TabGroupSyncService arrives later (probably due to PostTask) which tries to create the group again in the tab model which leads to an assert. This CL ensures that the later event is ignored quietly instead of crashing. Bug: 399995422 Change-Id: I5da3c47350f49902132b875bc092d8e793e2c6f1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6315385 Reviewed-by: Calder Kitagawa <ckitagawa@chromium.org> Commit-Queue: Shakti Sahu <shaktisahu@chromium.org> Cr-Commit-Position: refs/heads/main@{#1427140}
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.