OLD | NEW |
---|---|
(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(); | |
OLD | NEW |