Description[Mac] In BrowserWindowCocoa::Close() do not use -[NSWindow performClose:].
|-performClose:| will mimic a click on the window's close button, which can
race a JavaScript app-modal alert during shutdown, leaving around an orphaned
Browser object.
BUG=118424
TEST=See steps in bug. Regression test added.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=161874
Patch Set 1 #Patch Set 2 : Fix non-Mac compile #Patch Set 3 : Different test methodology #Patch Set 4 : Get CrOS passing #
Total comments: 4
Patch Set 5 : Ask the window, too #
Total comments: 11
Patch Set 6 : Address comments #
Total comments: 2
Patch Set 7 : '' #
Messages
Total messages: 12 (0 generated)
|