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) |