From ac09c92224d0ee428b2c667841e5ba007075e5c3 Mon Sep 17 00:00:00 2001 From: "darin@chromium.org" Date: Sat, 18 Apr 2009 20:32:33 +0000 Subject: Make change to our LayoutTestController to match the change I made upstream to DumpRenderTree's version in http://trac.webkit.org/changeset/42623 This change makes it so that we do not finish the test until all loading stops. R=dglazkov Review URL: http://codereview.chromium.org/79079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14007 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/tools/test_shell/layout_test_controller.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webkit') 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(); } -- cgit v1.1