mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +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 requires secure context
|
||||
|
||||
'use strict';
|
||||
|
||||
test(t => {
|
||||
assert_true(self.isSecureContext);
|
||||
assert_idl_attribute(navigator, 'locks',
|
||||
'navigator.locks exists in secure context');
|
||||
assert_true('LockManager' in self,
|
||||
'LockManager is present in secure contexts');
|
||||
assert_true('Lock' in self,
|
||||
'Lock interface is present in secure contexts');
|
||||
}, 'API presence in secure contexts');
|
Loading…
Add table
Add a link
Reference in a new issue