Update web-platform-tests to revision c792ea26624bde49b72afce348de07ab72fb9ad7

This commit is contained in:
WPT Sync Bot 2018-08-13 21:52:18 -04:00
parent e051c5880e
commit ca45711d07
178 changed files with 2163 additions and 1807 deletions

View file

@ -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');