Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/keyboard-lock/navigator-requestKeyboardLock.https.html

Issue 2852823002: Rename KeyLock to KeyboardLock and return enum from IPC (Closed)
Patch Set: Remove KeyboardLockRequestResult::FAILURE; it is not used by Chrome. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="/resources/testharness.js"></script> 2 <script src="/resources/testharness.js"></script>
3 <script src="/resources/testharnessreport.js"></script> 3 <script src="/resources/testharnessreport.js"></script>
4 <script> 4 <script>
5 'use strict'; 5 'use strict';
6 6
7 promise_test(() => { 7 promise_test(() => {
8 const p = navigator.requestKeyLock(['a', 'b']); 8 const p = navigator.requestKeyboardLock(['a', 'b']);
9 assert_true(p instanceof Promise); 9 assert_true(p instanceof Promise);
10 return p; 10 return p;
11 }, 'Keyboard Lock requestKeyLock'); 11 }, 'Keyboard Lock requestKeyboardLock');
12 12
13 </script> 13 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698