Index: third_party/WebKit/LayoutTests/external/wpt/keyboard-lock/navigator-requestKeyLock.https.html |
diff --git a/third_party/WebKit/LayoutTests/external/wpt/keyboard-lock/navigator-requestKeyLock.https.html b/third_party/WebKit/LayoutTests/external/wpt/keyboard-lock/navigator-requestKeyLock.https.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ed461bf02f802f702a39edfe74731eedcd0b756c |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/external/wpt/keyboard-lock/navigator-requestKeyLock.https.html |
@@ -0,0 +1,13 @@ |
+<!DOCTYPE html> |
+<script src="/resources/testharness.js"></script> |
+<script src="/resources/testharnessreport.js"></script> |
+<script> |
+'use strict'; |
+ |
+promise_test(() => { |
+ const p = navigator.requestKeyLock(['a', 'b']); |
+ assert_true(p instanceof Promise); |
+ return p; |
+}, 'Keyboard Lock requestKeyLock'); |
+ |
+</script> |