Index: third_party/WebKit/LayoutTests/external/wpt/keyboard-lock/navigator-requestKeyLock-two-sequential-requests.https.html |
diff --git a/third_party/WebKit/LayoutTests/external/wpt/keyboard-lock/navigator-requestKeyLock-two-sequential-requests.https.html b/third_party/WebKit/LayoutTests/external/wpt/keyboard-lock/navigator-requestKeyLock-two-sequential-requests.https.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2d7a5b59e7636de1401c6e4c3a4cdf34be215c77 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/external/wpt/keyboard-lock/navigator-requestKeyLock-two-sequential-requests.https.html |
@@ -0,0 +1,14 @@ |
+<!DOCTYPE html> |
+<script src="/resources/testharness.js"></script> |
+<script src="/resources/testharnessreport.js"></script> |
+<script> |
+'use strict'; |
+ |
+promise_test(() => { |
+ return navigator.requestKeyLock(['a', 'b']) |
+ .then(() => { |
+ return navigator.requestKeyLock(['c', 'd']); |
+ }); |
+}, 'Keyboard Lock requestKeyLock twice sequentially'); |
+ |
+</script> |