[chromium] don't track the top loading frame if no layout test is currently running
authorjochen@chromium.org <jochen@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Mar 2013 15:20:00 +0000 (15:20 +0000)
committerjochen@chromium.org <jochen@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Mar 2013 15:20:00 +0000 (15:20 +0000)
commit9f9f27a20ac3e288f76d68b6368662d53d7093bd
tree496d79ce7bc514d67899b9f61945099744babafc
parent4607065d81c410f7ad36a6596c6cdd457a26c6d3
[chromium] don't track the top loading frame if no layout test is currently running
https://bugs.webkit.org/show_bug.cgi?id=111716

Reviewed by Kentaro Hara.

In DRT, we synchronously stop the test and start loading the next test
URL. However, in content_shell, this happens asynchronously. It's
important that the top loading frame is not changed due to stray
navigation events before the next test starts.

* DumpRenderTree/chromium/TestRunner/src/TestRunner.cpp:
(WebTestRunner::TestRunner::setTopLoadingFrame):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@145072 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/DumpRenderTree/chromium/TestRunner/src/TestRunner.cpp