Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Unified Diff: third_party/WebKit/LayoutTests/inspector/input-event-warning.html

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 c0d66918832d820771d87bb1a87751d2c51c90b0..e3936908ac4b8bd934dcd46a0c8cacd8719529ec 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() + 100;
+ var deadline = performance.now() + 110;
while (performance.now() < deadline) {};
if (window.testRunner)
window.testRunner.setDumpConsoleMessages(false);
@@ -67,13 +67,13 @@ function test()
function step1()
{
- InspectorTest.mainTarget.pageAgent().setBlockedEventsWarningThreshold(30);
+ InspectorTest.mainTarget.logAgent().setReportViolationsEnabled(false);
InspectorTest.evaluateInPage("dispatchEvents()", step2);
}
function step2()
{
- InspectorTest.mainTarget.pageAgent().setBlockedEventsWarningThreshold(0.000001);
+ InspectorTest.mainTarget.logAgent().setReportViolationsEnabled(true);
InspectorTest.addResult("There should be no warnings above this line");
InspectorTest.evaluateInPage("dispatchEvents()", () => InspectorTest.completeTest());
}

Powered by Google App Engine
This is Rietveld 408576698