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

Issue 274123003: Enabling alwaysOnTop should fail to create app windows if the permission is lacking (Closed)

Created:
6 years, 7 months ago by tmdiep
Modified:
6 years, 7 months ago
Reviewers:
benwells
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Enabling alwaysOnTop should fail to create app windows if the permission is lacking If the alwaysOnTop property is enabled, but the app.window.alwaysOnTop permission is not specified in the manifest, app window creation will now fail with an error. BUG=371213 TEST=browser_tests (PlatformAppBrowserTest.WindowsApiAlwaysOnTopNoPermissions) Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270045

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressed nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -25 lines) Patch
M chrome/browser/extensions/api/app_window/app_window_api.cc View 2 chunks +10 lines, -2 lines 0 comments Download
M chrome/test/data/extensions/platform_apps/windows_api_always_on_top/no_permissions/background.js View 1 2 chunks +45 lines, -23 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
tmdiep
benwells: This is the patch for failing early when alwaysOnTop permission is lacking. Thanks in ...
6 years, 7 months ago (2014-05-13 04:01:21 UTC) #1
benwells
just nits, lgtm. https://codereview.chromium.org/274123003/diff/1/chrome/test/data/extensions/platform_apps/windows_api_always_on_top/no_permissions/background.js File chrome/test/data/extensions/platform_apps/windows_api_always_on_top/no_permissions/background.js (right): https://codereview.chromium.org/274123003/diff/1/chrome/test/data/extensions/platform_apps/windows_api_always_on_top/no_permissions/background.js#newcode19 chrome/test/data/extensions/platform_apps/windows_api_always_on_top/no_permissions/background.js:19: chrome.test.waitForRoundTrip("msg", callbackPass(function(msg) { Nit: you can ...
6 years, 7 months ago (2014-05-13 04:16:00 UTC) #2
tmdiep
The CQ bit was checked by tmdiep@chromium.org
6 years, 7 months ago (2014-05-13 05:16:09 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tmdiep@chromium.org/274123003/20001
6 years, 7 months ago (2014-05-13 05:16:54 UTC) #4
commit-bot: I haz the power
6 years, 7 months ago (2014-05-13 07:29:11 UTC) #5
Message was sent while issue was closed.
Change committed as 270045

Powered by Google App Engine
This is Rietveld 408576698