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

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

Issue 316403002: DevTools: cleanup debugger tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: minor change Created 6 years, 6 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
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 85e1c1844e2fc9e26e8584678fd577d6b77e3888..00374d5667398547f9ffae7376ed227de6fec289 100644
--- a/LayoutTests/http/tests/inspector/inspector-test.js
+++ b/LayoutTests/http/tests/inspector/inspector-test.js
@@ -696,9 +696,7 @@ function didEvaluateForTestInFrontend(callId)
delete window.completeTestCallId;
if (outputElement && window.quietUntilDone)
outputElementParent.appendChild(outputElement);
- // Close inspector asynchrously to allow caller of this
- // function send response before backend dispatcher and frontend are destroyed.
- setTimeout(closeInspectorAndNotifyDone, 0);
yurys 2014/06/06 08:59:58 I wonder why we needed this before but not now? Wa
loislo 2014/06/06 12:41:13 I think it is a bit strange behavior when test ask
pfeldman 2014/06/06 13:24:15 i think yurys@ is right here and since closeInspec
+ closeInspectorAndNotifyDone();
}
function closeInspectorAndNotifyDone()

Powered by Google App Engine
This is Rietveld 408576698