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

Issue 760223003: Stub implementation of Permissions API module. (Closed)

Created:
6 years ago by mlamouri (slow - plz ping)
Modified:
6 years ago
CC:
abarth-chromium, blink-reviews, timvolodine
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Stub implementation of Permissions API module. This is adding the Permissions interface with the query() method and implements it by always rejecting. This CL also introduces a test framework to be able to test the API in different scopes easily and uses it to test the above mentioned implementation. Intent to implement thread: https://groups.google.com/a/chromium.org/d/msg/blink-dev/wfszE6uUmk8/r9ucFjbfvY4J BUG=437770 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=186310

Patch Set 1 #

Patch Set 2 : with tests #

Patch Set 3 : no copies #

Total comments: 21

Patch Set 4 : nits #

Patch Set 5 : forgot a nit #

Total comments: 6

Patch Set 6 : style #

Patch Set 7 : typo #

Total comments: 1

Patch Set 8 : fix win compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+336 lines, -0 lines) Patch
A LayoutTests/http/tests/permissions/resources/helpers.js View 1 2 3 4 5 6 1 chunk +42 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/permissions/resources/test-api-surface.js View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/permissions/resources/test-query.js View 1 2 3 1 chunk +32 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/permissions/test-api-surface.html View 1 2 3 4 5 1 chunk +17 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/permissions/test-query.html View 1 2 3 4 5 1 chunk +17 lines, -0 lines 0 comments Download
M LayoutTests/webexposed/global-constructors-listing-dedicated-worker-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/webexposed/global-constructors-listing-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/webexposed/global-constructors-listing-shared-worker-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/modules/EventTargetModulesFactory.in View 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/modules.gypi View 2 chunks +6 lines, -0 lines 0 comments Download
A Source/modules/permissions/OWNERS View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A Source/modules/permissions/PermissionStatus.h View 1 2 3 1 chunk +45 lines, -0 lines 0 comments Download
A Source/modules/permissions/PermissionStatus.cpp View 1 2 3 4 5 6 7 1 chunk +48 lines, -0 lines 0 comments Download
A Source/modules/permissions/PermissionStatus.idl View 1 2 3 1 chunk +20 lines, -0 lines 0 comments Download
A Source/modules/permissions/Permissions.h View 1 2 3 1 chunk +34 lines, -0 lines 0 comments Download
A Source/modules/permissions/Permissions.cpp View 1 chunk +29 lines, -0 lines 0 comments Download
A Source/modules/permissions/Permissions.idl View 1 2 3 1 chunk +20 lines, -0 lines 0 comments Download
M Source/platform/RuntimeEnabledFeatures.in View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
mlamouri (slow - plz ping)
6 years ago (2014-12-01 10:33:26 UTC) #2
Peter Beverloo
Mostly lg, thanks! Have a series of comments. Can you include a link to the ...
6 years ago (2014-12-01 11:30:35 UTC) #3
mlamouri (slow - plz ping)
Comments applied. https://codereview.chromium.org/760223003/diff/40001/LayoutTests/http/tests/permissions/resources/helpers.js File LayoutTests/http/tests/permissions/resources/helpers.js (right): https://codereview.chromium.org/760223003/diff/40001/LayoutTests/http/tests/permissions/resources/helpers.js#newcode2 LayoutTests/http/tests/permissions/resources/helpers.js:2: // http://creativecommons.org/publicdomain/zero/1.0/ On 2014/12/01 at 11:30:34, Peter ...
6 years ago (2014-12-01 12:36:01 UTC) #4
Peter Beverloo
lgtm Your CL description now mentions "Intent to Ship", but I'm sure you mean "Intent ...
6 years ago (2014-12-01 13:26:07 UTC) #5
mlamouri (slow - plz ping)
https://codereview.chromium.org/760223003/diff/80001/LayoutTests/http/tests/permissions/resources/helpers.js File LayoutTests/http/tests/permissions/resources/helpers.js (right): https://codereview.chromium.org/760223003/diff/80001/LayoutTests/http/tests/permissions/resources/helpers.js#newcode38 LayoutTests/http/tests/permissions/resources/helpers.js:38: // Run the tests on {Dedicated,Shared,Shared}Worker. On 2014/12/01 at ...
6 years ago (2014-12-01 13:33:18 UTC) #6
Mike West
LGTM https://codereview.chromium.org/760223003/diff/120001/Source/modules/permissions/OWNERS File Source/modules/permissions/OWNERS (right): https://codereview.chromium.org/760223003/diff/120001/Source/modules/permissions/OWNERS#newcode1 Source/modules/permissions/OWNERS:1: mlamouri@chromium.org It's probably a good idea to find ...
6 years ago (2014-12-02 12:39:38 UTC) #7
mlamouri (slow - plz ping)
On 2014/12/02 at 12:39:38, mkwst wrote: > LGTM > > https://codereview.chromium.org/760223003/diff/120001/Source/modules/permissions/OWNERS > File Source/modules/permissions/OWNERS (right): ...
6 years ago (2014-12-02 12:41:31 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/760223003/120001
6 years ago (2014-12-02 12:42:02 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_compile_dbg on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_compile_dbg/builds/27873)
6 years ago (2014-12-02 13:29:13 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/760223003/140001
6 years ago (2014-12-02 14:10:44 UTC) #14
commit-bot: I haz the power
6 years ago (2014-12-02 16:43:35 UTC) #15
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=186310

Powered by Google App Engine
This is Rietveld 408576698