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

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: fix win compile 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) {
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
« no previous file with comments | « LayoutTests/http/tests/permissions/resources/helpers.js ('k') | LayoutTests/http/tests/permissions/resources/test-query.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698