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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/keyboard-lock/navigator-requestKeyboardLock-two-parallel-requests.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, 8 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/external/wpt/keyboard-lock/navigator-requestKeyboardLock-two-parallel-requests.https.html
diff --git a/third_party/WebKit/LayoutTests/external/wpt/keyboard-lock/navigator-requestKeyLock-two-parallel-requests.https.html b/third_party/WebKit/LayoutTests/external/wpt/keyboard-lock/navigator-requestKeyboardLock-two-parallel-requests.https.html
similarity index 55%
rename from third_party/WebKit/LayoutTests/external/wpt/keyboard-lock/navigator-requestKeyLock-two-parallel-requests.https.html
rename to third_party/WebKit/LayoutTests/external/wpt/keyboard-lock/navigator-requestKeyboardLock-two-parallel-requests.https.html
index b8716d370c7d5a8139c6dd178816b86dd3e3b477..8e84d14d465eba45210b7a8d2e115cd3aadbc883 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/keyboard-lock/navigator-requestKeyLock-two-parallel-requests.https.html
+++ b/third_party/WebKit/LayoutTests/external/wpt/keyboard-lock/navigator-requestKeyboardLock-two-parallel-requests.https.html
@@ -5,11 +5,11 @@
'use strict';
promise_test((t) => {
- const p1 = navigator.requestKeyLock(['a', 'b']);
- const p2 = navigator.requestKeyLock(['c', 'd']);
+ const p1 = navigator.requestKeyboardLock(['a', 'b']);
+ const p2 = navigator.requestKeyboardLock(['c', 'd']);
return promise_rejects(t, null, p2,
- 'requestKeyLock() should only be ' +
+ 'requestKeyboardLock() should only be ' +
'executed if another request has finished.');
-}, 'Keyboard Lock requestKeyLock twice in parallel');
+}, 'Keyboard Lock requestKeyboardLock twice in parallel');
</script>

Powered by Google App Engine
This is Rietveld 408576698