| Index: third_party/WebKit/Source/devtools/front_end/Tests.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/Tests.js b/third_party/WebKit/Source/devtools/front_end/Tests.js
|
| index 268f62c932c955791f0e865e38a48117adb0d2ee..ad125f1e87f3f5ffb06d90bd394f3db01ab199be 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/Tests.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/Tests.js
|
| @@ -717,6 +717,20 @@ TestSuite.prototype.testDeviceMetricsOverrides = function()
|
| step1();
|
| };
|
|
|
| +TestSuite.prototype.testDispatchKeyEventDoesNotCrash = function()
|
| +{
|
| + WebInspector.targetManager.mainTarget().inputAgent().invoke_dispatchKeyEvent({
|
| + type: "rawKeyDown",
|
| + windowsVirtualKeyCode: 0x23,
|
| + key: "End"
|
| + });
|
| + WebInspector.targetManager.mainTarget().inputAgent().invoke_dispatchKeyEvent({
|
| + type: "keyUp",
|
| + windowsVirtualKeyCode: 0x23,
|
| + key: "End"
|
| + });
|
| +};
|
| +
|
| TestSuite.prototype.testEmulateNetworkConditions = function()
|
| {
|
| var test = this;
|
|
|