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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/input/dispatchKeyEvent.html

Issue 2120153003: Remove keyIdentifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_key_identifier_3a
Patch Set: Rebase Created 4 years, 5 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/inspector-protocol/input/dispatchKeyEvent.html
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/input/dispatchKeyEvent.html b/third_party/WebKit/LayoutTests/inspector-protocol/input/dispatchKeyEvent.html
index 022e5ac061cdb78d52c540c3f9fd7ff673064cc2..34a61d45f22f48383cfe2e09bea1934bdaedcb62 100644
--- a/third_party/WebKit/LayoutTests/inspector-protocol/input/dispatchKeyEvent.html
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/input/dispatchKeyEvent.html
@@ -21,8 +21,8 @@ function logEvent(event)
log("shiftKey");
if (event.keyCode)
log("keyCode: " + event.keyCode);
- if (event.keyIdentifier)
- log("keyIdentifier: " + event.keyIdentifier);
+ if (event.key)
+ log("key: " + event.key);
if (event.charCode)
log("charCode: " + event.charCode);
if (event.text)
@@ -36,7 +36,7 @@ function test()
{
"type": "rawKeyDown",
"windowsVirtualKeyCode": 65, // VK_A
- "keyIdentifier": "U+0041"
+ "key": "A"
},
{
"type": "char",
@@ -47,7 +47,7 @@ function test()
{
"type": "keyUp",
"windowsVirtualKeyCode": 65,
- "keyIdentifier": "U+0041"
+ "key": "A"
},
{
"type": "char",

Powered by Google App Engine
This is Rietveld 408576698