New issue
Advanced search Search tips

Issue 772353 link

Starred by 3 users

Issue metadata

Status: Duplicate
Merged: issue 774175
Owner:
Closed: Oct 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Clear ownership model between SigninViewController and its delegate

Project Member Reported by brajkumar@chromium.org, Oct 6 2017

Issue description

Automated tests for the below commit have been missing.Please add test coverage ASAP to avoid regressions in future.

CL: 
----
https://chromium.googlesource.com/chromium/src/+/96c972ea0b7a98c522ae2c4aaee22a9d324fad38

Ref Bug: 
---------
https://bugs.chromium.org/p/chromium/issues/detail?id=771872

Thank you...!!
 

Comment 1 by a...@chromium.org, Oct 6 2017

Owner: anthonyvd@chromium.org
Reassigning to anthonyvd who wrote the class.

Comment 2 by a...@chromium.org, Oct 16 2017

Cc: a...@chromium.org
 Issue 774996  has been merged into this issue.
Owner: msarda@chromium.org
Off to msarda@ since I don't have any throughput for sign in anymore!

Comment 4 by msarda@chromium.org, Oct 18 2017

Cc: droger@chromium.org
Labels: -Pri-1 Pri-2
Summary: Clear ownership model between SigninViewController and its delegate (was: [Missing Test]: Regression : Browser crash is observe after clicking on 'Ok,Got it' button.)
The life-time of the SigninViewController and SigninViewControllerDelegate is impossible to reason about - the controller of the delegate depend on one another, but somehow no one owns the other one. I think this explains why we end up in strange crashes like the ones in https://bugs.chromium.org/p/chromium/issues/detail?id=772745 or the revert in CL https://chromium-review.googlesource.com/c/chromium/src/+/707199

I think I would need to do a full pass over the ownership of these objects in order to find if we can have an ownership between the controller and its delegate.

Lowering the priority of this bug and renaming it.

Comment 5 by a...@chromium.org, Oct 18 2017

Bug 774175 talks about ownership in this case.

Comment 6 by msarda@chromium.org, Oct 18 2017

Cc: wittman@chromium.org sky@chromium.org
Issue 774175 has been merged into this issue.

Comment 7 by msarda@chromium.org, Oct 18 2017

Mergedinto: 774175
Status: Duplicate (was: Assigned)

Sign in to add a comment