Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Issue 15690015: Fix crash when JS alert from background page appears during lock screen (Closed)

Created:
7 years, 6 months ago by Dmitry Polukhin
Modified:
7 years, 6 months ago
Reviewers:
Nikita (slow), sky
CC:
chromium-reviews, tfarina, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

Fix crash when JS alert from background page appears during lock screen + Added test that caused crash without changes in ash/wm/stacking_controller.cc + Changes in chrome/browser/ui/views/frame/browser_view.cc prevents stealing focus loop BUG=226141 TEST=ShellTest.CreateLockScreenModalWindow Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203191

Patch Set 1 #

Patch Set 2 : added test #

Patch Set 3 : nit #

Patch Set 4 : JavascriptDialogTest.CopyFromIncognito on win7_aura #

Total comments: 4

Patch Set 5 : comments resolved #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -8 lines) Patch
M ash/shell_unittest.cc View 1 2 3 4 7 chunks +27 lines, -0 lines 0 comments Download
M ash/wm/stacking_controller.cc View 1 2 3 4 1 chunk +8 lines, -8 lines 0 comments Download
chrome/browser/ui/views/frame/browser_view.cc View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Dmitry Polukhin
7 years, 6 months ago (2013-05-29 14:33:48 UTC) #1
Dmitry Polukhin
sky@ please do OWNER review
7 years, 6 months ago (2013-05-29 14:39:49 UTC) #2
sky
How about a test?
7 years, 6 months ago (2013-05-29 15:25:47 UTC) #3
Dmitry Polukhin
Test added, PTAL.
7 years, 6 months ago (2013-05-30 12:45:12 UTC) #4
sky
https://codereview.chromium.org/15690015/diff/24001/ash/shell_unittest.cc File ash/shell_unittest.cc (right): https://codereview.chromium.org/15690015/diff/24001/ash/shell_unittest.cc#newcode278 ash/shell_unittest.cc:278: TestModalDialogDelegate* dilaog_delegate = new TestModalDialogDelegate(); dilaog -> dialog https://codereview.chromium.org/15690015/diff/24001/ash/wm/stacking_controller.cc ...
7 years, 6 months ago (2013-05-30 14:53:47 UTC) #5
Dmitry Polukhin
PTAL https://codereview.chromium.org/15690015/diff/24001/ash/shell_unittest.cc File ash/shell_unittest.cc (right): https://codereview.chromium.org/15690015/diff/24001/ash/shell_unittest.cc#newcode278 ash/shell_unittest.cc:278: TestModalDialogDelegate* dilaog_delegate = new TestModalDialogDelegate(); On 2013/05/30 14:53:47, ...
7 years, 6 months ago (2013-05-30 15:09:02 UTC) #6
sky
LGTM
7 years, 6 months ago (2013-05-30 15:23:35 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dpolukhin@chromium.org/15690015/33003
7 years, 6 months ago (2013-05-30 15:33:35 UTC) #8
commit-bot: I haz the power
7 years, 6 months ago (2013-05-30 18:59:29 UTC) #9
Message was sent while issue was closed.
Change committed as 203191

Powered by Google App Engine
This is Rietveld 408576698