Fix crash when JS alert from background page appears during lock screen
commit71a7571049a620cb7aa5ef60c4a517ad30b4e844
authordpolukhin@chromium.org <dpolukhin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 30 May 2013 18:59:24 +0000 (30 18:59 +0000)
committerdpolukhin@chromium.org <dpolukhin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 30 May 2013 18:59:24 +0000 (30 18:59 +0000)
treeb9f0b2a5eac73f0330cd9b64695dc279550d6612
parent14257059d28250e3da6137804f003717311abffa
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

Review URL: https://chromiumcodereview.appspot.com/15690015

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203191 0039d316-1c4b-4281-b951-d872f2087c98
ash/shell_unittest.cc
ash/wm/stacking_controller.cc
chrome/browser/ui/views/frame/browser_view.cc