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

Unified Diff: LayoutTests/http/tests/inspector/inspector-test.js

Issue 176933003: Deflake LayoutTests/inspector/timeline/timeline-layout-autosize.html (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 months 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
« no previous file with comments | « no previous file | LayoutTests/inspector/timeline/timeline-layout-autosize.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/inspector/inspector-test.js
diff --git a/LayoutTests/http/tests/inspector/inspector-test.js b/LayoutTests/http/tests/inspector/inspector-test.js
index 980b9a71ff13a309761e9a7cdc8f7050f744dede..6926cc0464446c8cfdccbd35c3abd45e87dd17aa 100644
--- a/LayoutTests/http/tests/inspector/inspector-test.js
+++ b/LayoutTests/http/tests/inspector/inspector-test.js
@@ -650,6 +650,15 @@ function runTest(enableWatchDogWhileDebugging)
}
}
+function runTestAfterDisplay(enableWatchDogWhileDebugging)
+{
+ if (!window.testRunner)
+ return;
+
+ testRunner.waitUntilDone();
+ requestAnimationFrame(runTest.bind(this, enableWatchDogWhileDebugging));
+}
+
function didEvaluateForTestInFrontend(callId)
{
if (callId !== completeTestCallId)
« no previous file with comments | « no previous file | LayoutTests/inspector/timeline/timeline-layout-autosize.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698