Index: third_party/WebKit/LayoutTests/inspector-protocol/input/dispatchKeyEvent-focus.html |
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/input/dispatchKeyEvent-focus.html b/third_party/WebKit/LayoutTests/inspector-protocol/input/dispatchKeyEvent-focus.html |
index 36d7c4cb63faa76fd64460bd89d1203257bb8e31..a729129ab0a08e8791dd95891bb14e7887f48692 100644 |
--- a/third_party/WebKit/LayoutTests/inspector-protocol/input/dispatchKeyEvent-focus.html |
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/input/dispatchKeyEvent-focus.html |
@@ -34,17 +34,18 @@ function test() |
InspectorTest.sendCommand("Input.dispatchKeyEvent", { |
"type": "rawKeyDown", |
"windowsVirtualKeyCode": dec, |
- "keyIdentifier": hex |
+ "key": text[i] |
}); |
InspectorTest.sendCommand("Input.dispatchKeyEvent", { |
"type": "char", |
"text": text[i], |
+ "key": text[i], |
"unmodifiedText": text[i] |
}); |
InspectorTest.sendCommand("Input.dispatchKeyEvent", { |
"type": "keyUp", |
"windowsVirtualKeyCode": dec, |
- "keyIdentifier": hex |
+ "key": text[i] |
}); |
} |
} |
@@ -54,16 +55,11 @@ function test() |
InspectorTest.sendCommand("Input.dispatchKeyEvent", { |
"type": "rawKeyDown", |
"windowsVirtualKeyCode": 9, |
- "keyIdentifier": "U+0009", |
"key": "Tab", |
}); |
InspectorTest.sendCommand("Input.dispatchKeyEvent", { |
- "type": "char" |
- }); |
- InspectorTest.sendCommand("Input.dispatchKeyEvent", { |
"type": "keyUp", |
"windowsVirtualKeyCode": 9, |
- "keyIdentifier": "U+0009", |
"key": "Tab", |
}); |
} |