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", |