Chromium Code Reviews| 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(); |
|
vsevik
2014/06/06 11:51:23
I don't really understand this code, but why did t
|
| } |
| function closeInspectorAndNotifyDone() |