summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/keyboard-lock/navigator-keyboard-unlock.https.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/keyboard-lock/navigator-keyboard-unlock.https.html')
-rw-r--r--testing/web-platform/tests/keyboard-lock/navigator-keyboard-unlock.https.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/web-platform/tests/keyboard-lock/navigator-keyboard-unlock.https.html b/testing/web-platform/tests/keyboard-lock/navigator-keyboard-unlock.https.html
new file mode 100644
index 0000000000..87b10ee49a
--- /dev/null
+++ b/testing/web-platform/tests/keyboard-lock/navigator-keyboard-unlock.https.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script>
+'use strict';
+
+test(() => {
+ assert_equals(navigator.keyboard.unlock(),
+ undefined);
+}, '[Keyboard Lock] keyboard.unlock');
+
+</script>