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