DCHECK while switching sync from a managed account to another manage account |
||
Issue descriptionThis bug is to track: crbug.com/890312#c1 : While testing it, I was able to hit that DCHECK [1] But this is not a crasher. To leave the managed account, an alert dialog is created [2]. And in the callback, the delegate is called first [3], and then the dialog is cleanup in the following line (setting _alertCoordinator to nil). The issue is the delegate calls -[AuthenticationFlowPerformer showManagedConfirmationForHostedDomain:viewController:] which creates a new alert dialog and stores it in _alertCoordinator, and this is done before the cleanup of the first alert dialog. So DCHECK [1] fails. The consequence is _alertCoordinator is set to nil while the dialog box is opened. This should not be a crasher since the alert is being displayed. This issue happens for all alert dialog in that file. [1] https://cs.chromium.org/chromium/src/ios/chrome/browser/ui/authentication/authentication_flow_performer.mm?l=321 [2] https://cs.chromium.org/chromium/src/ios/chrome/browser/ui/authentication/authentication_flow_performer.mm?l=205 [3] https://cs.chromium.org/chromium/src/ios/chrome/browser/ui/authentication/authentication_flow_performer.mm?l=216
,
Oct 15
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Sep 28