servo/tests/wpt/web-platform-tests/keyboard-lock/navigator-keyboardLock-two-sequential-requests.https.html

14 lines
356 B
HTML

<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
'use strict';
promise_test(() => {
return navigator.keyboardLock(['a', 'b'])
.then(() => {
return navigator.keyboardLock(['c', 'd']);
});
}, 'Keyboard Lock keyboardLock twice sequentially');
</script>