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

Issue 9195018: Disable modal JavaScript dialogs for platform apps. (Closed)

Created:
8 years, 11 months ago by jstritar
Modified:
8 years, 11 months ago
CC:
chromium-reviews, Aaron Boodman, mihaip+watch_chromium.org
Visibility:
Public.

Description

Disable modal JavaScript dialogs for platform apps. - window.alert is silently ignored - window.confirm returns false - window.prompt returns null BUG=none TEST=PlatformAppBrowserTest.DisallowModalDialogs Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=118874

Patch Set 1 #

Patch Set 2 : fix spelling #

Total comments: 1

Patch Set 3 : comments #

Patch Set 4 : nit #

Total comments: 2

Patch Set 5 : . #

Patch Set 6 : fix tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -36 lines) Patch
M chrome/browser/extensions/extension_apitest.h View 1 2 3 4 2 chunks +12 lines, -3 lines 0 comments Download
M chrome/browser/extensions/extension_apitest.cc View 1 2 3 4 5 3 chunks +37 lines, -25 lines 0 comments Download
M chrome/browser/extensions/extension_browsertest.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_browsertest.cc View 1 2 3 4 5 1 chunk +9 lines, -5 lines 0 comments Download
M chrome/browser/extensions/extension_host.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/extension_host.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/platform_app_browsertest.cc View 1 2 4 chunks +13 lines, -2 lines 0 comments Download
A chrome/test/data/extensions/platform_apps/modal_dialogs/main.html View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/platform_apps/modal_dialogs/manifest.json View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/platform_apps/modal_dialogs/test.js View 1 2 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
jstritar
8 years, 11 months ago (2012-01-19 17:46:32 UTC) #1
jstritar
http://codereview.chromium.org/9195018/diff/2001/chrome/browser/extensions/platform_app_browsertest.cc File chrome/browser/extensions/platform_app_browsertest.cc (right): http://codereview.chromium.org/9195018/diff/2001/chrome/browser/extensions/platform_app_browsertest.cc#newcode211 chrome/browser/extensions/platform_app_browsertest.cc:211: ASSERT_TRUE(RunExtensionTest("platform_apps/modal_dialogs")) << message_; I'll convert these to use RunExtensionSubtest ...
8 years, 11 months ago (2012-01-19 20:20:40 UTC) #2
Mihai Parparita -not on Chrome
LGTM, thought the same comment as on http://codereview.chromium.org/9192021/ about doing tests from the launch page ...
8 years, 11 months ago (2012-01-21 00:00:39 UTC) #3
jstritar
Can you take a look at my changes to extension_apitest.*?
8 years, 11 months ago (2012-01-23 23:39:00 UTC) #4
Mihai Parparita -not on Chrome
LGTM https://chromiumcodereview.appspot.com/9195018/diff/10006/chrome/browser/extensions/extension_apitest.h File chrome/browser/extensions/extension_apitest.h (right): https://chromiumcodereview.appspot.com/9195018/diff/10006/chrome/browser/extensions/extension_apitest.h#newcode139 chrome/browser/extensions/extension_apitest.h:139: kFlagEnableFileaccess = 1 << 1, Nit: Access should ...
8 years, 11 months ago (2012-01-24 01:59:14 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jstritar@chromium.org/9195018/13002
8 years, 11 months ago (2012-01-24 16:49:25 UTC) #6
commit-bot: I haz the power
8 years, 11 months ago (2012-01-24 17:51:16 UTC) #7
Try job failure for 9195018-13002 (retry) on linux_rel for step "update".
It's a second try, previously, step "browser_tests" failed.
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&...

Step "update" is always a major failure.
Look at the try server FAQ for more details.

Powered by Google App Engine
This is Rietveld 408576698