mirror of
https://github.com/servo/servo.git
synced 2025-08-09 15:35:34 +01:00
Update web-platform-tests to revision c792ea26624bde49b72afce348de07ab72fb9ad7
This commit is contained in:
parent
e051c5880e
commit
ca45711d07
178 changed files with 2163 additions and 1807 deletions
|
@ -0,0 +1,13 @@
|
|||
// META title=Web Locks API: API not available in non-secure context
|
||||
|
||||
'use strict';
|
||||
|
||||
test(t => {
|
||||
assert_false(self.isSecureContext);
|
||||
assert_false('locks' in navigator,
|
||||
'navigator.locks is only present in secure contexts');
|
||||
assert_false('LockManager' in self,
|
||||
'LockManager is only present in secure contexts');
|
||||
assert_false('Lock' in self,
|
||||
'Lock interface is only present in secure contexts');
|
||||
}, 'API presence in non-secure contexts');
|
Loading…
Add table
Add a link
Reference in a new issue