| Index: third_party/WebKit/LayoutTests/inspector/input-event-warning.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/input-event-warning.html b/third_party/WebKit/LayoutTests/inspector/input-event-warning.html
|
| index e3936908ac4b8bd934dcd46a0c8cacd8719529ec..2b1c62bd4f0f0eae50fb54e0f4059b6471bcd440 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/input-event-warning.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/input-event-warning.html
|
| @@ -42,7 +42,7 @@ function dispatchEvents()
|
| target.addEventListener(type, eventListener1);
|
| target.addEventListener(type, eventListener2);
|
| }
|
| - var deadline = performance.now() + 110;
|
| + var deadline = performance.now() + 100;
|
| while (performance.now() < deadline) {};
|
| if (window.testRunner)
|
| window.testRunner.setDumpConsoleMessages(false);
|
| @@ -67,13 +67,15 @@ function test()
|
|
|
| function step1()
|
| {
|
| - InspectorTest.mainTarget.logAgent().setReportViolationsEnabled(false);
|
| + InspectorTest.mainTarget.logAgent().startViolationsReport([
|
| + {name: 'blockedEvent', threshold: 30000}]);
|
| InspectorTest.evaluateInPage("dispatchEvents()", step2);
|
| }
|
|
|
| function step2()
|
| {
|
| - InspectorTest.mainTarget.logAgent().setReportViolationsEnabled(true);
|
| + InspectorTest.mainTarget.logAgent().startViolationsReport([
|
| + {name: 'blockedEvent', threshold: 0.001}]);
|
| InspectorTest.addResult("There should be no warnings above this line");
|
| InspectorTest.evaluateInPage("dispatchEvents()", () => InspectorTest.completeTest());
|
| }
|
|
|