mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-29 09:52:50 -10:00
15 lines
377 B
HTML
15 lines
377 B
HTML
<!DOCTYPE html>
|
|
<script src="/resources/testharness.js"></script>
|
|
<script src="/resources/testharnessreport.js"></script>
|
|
<script>
|
|
'use strict';
|
|
|
|
promise_test(() => {
|
|
return navigator.requestKeyboardLock(['a', 'b'])
|
|
.then(() => {
|
|
return navigator.requestKeyboardLock(['c', 'd']);
|
|
});
|
|
}, 'Keyboard Lock requestKeyboardLock twice sequentially');
|
|
|
|
</script>
|