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

Side by Side Diff: LayoutTests/http/tests/permissions/resources/test-api-surface.js

Issue 760223003: Stub implementation of Permissions API module. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: forgot a nit Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 if (self.importScripts) {
Peter Beverloo 2014/12/01 13:26:07 Would it make sense to include this block (lines 1
mlamouri (slow - plz ping) 2014/12/01 13:33:17 As discussed f2f, it's unlikely that we will have
2 importScripts('helpers.js');
3
4 if (get_current_scope() == 'ServiceWorker')
5 importScripts('../../serviceworker/resources/worker-testharness.js');
6 else
7 importScripts('../../resources/testharness.js');
8 }
9
10 test(function() {
11 assert_own_property(self, 'Permissions');
12 assert_own_property(Permissions, 'query');
13
14 assert_own_property(self, 'PermissionStatus');
15 }, 'Check the Permissions API surface in the ' + get_current_scope() + ' scope.' );
16
17 done();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698