summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--webkit/tools/test_shell/layout_test_controller.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/tools/test_shell/layout_test_controller.cc b/webkit/tools/test_shell/layout_test_controller.cc
index a7a4d25..70d6163 100644
--- a/webkit/tools/test_shell/layout_test_controller.cc
+++ b/webkit/tools/test_shell/layout_test_controller.cc
@@ -176,7 +176,7 @@ void LayoutTestController::WorkQueue::ProcessWork() {
return;
}
- if (!wait_until_done_)
+ if (!wait_until_done_ && !shell_->delegate()->top_loading_frame())
shell_->TestFinished();
}