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

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: no copies 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 // Any copyright is dedicated to the Public Domain.
2 // http://creativecommons.org/publicdomain/zero/1.0/
3
4 if (self.importScripts) {
5 importScripts('helpers.js');
6
7 if (get_current_scope() == 'ServiceWorker')
8 importScripts('../../serviceworker/resources/worker-testharness.js');
9 else
10 importScripts('../../resources/testharness.js');
11 }
12
13 test(function() {
14 assert_own_property(self, 'Permissions');
15 assert_own_property(Permissions, 'query');
16
17 assert_own_property(self, 'PermissionStatus');
18 }, 'Check the Permissions API surface in the ' + get_current_scope() + ' scope.' );
19
20 done();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698