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); |
+ closeInspectorAndNotifyDone(); |
} |
function closeInspectorAndNotifyDone() |