Index: Source/devtools/front_end/screencast/ScreencastView.js |
diff --git a/Source/devtools/front_end/screencast/ScreencastView.js b/Source/devtools/front_end/screencast/ScreencastView.js |
index ec602a87d56827ebbf60eca277426c9a326ee24a..b39247fd853d5a35d95ff76be25e4abbcc96d3bb 100644 |
--- a/Source/devtools/front_end/screencast/ScreencastView.js |
+++ b/Source/devtools/front_end/screencast/ScreencastView.js |
@@ -280,7 +280,7 @@ WebInspector.ScreencastView.prototype = { |
var text = event.type === "keypress" ? String.fromCharCode(event.charCode) : undefined; |
this._target.inputAgent().dispatchKeyEvent(type, this._modifiersForEvent(event), event.timeStamp / 1000, text, text ? text.toLowerCase() : undefined, |
- event.keyIdentifier, event.keyCode /* windowsVirtualKeyCode */, event.keyCode /* nativeVirtualKeyCode */, false, false, false); |
+ event.keyIdentifier, event.code, event.keyCode /* windowsVirtualKeyCode */, event.keyCode /* nativeVirtualKeyCode */, false, false, false); |
event.consume(); |
this._canvasElement.focus(); |
}, |