2011-01-11 Maciej Stachowiak <mjs@apple.com>
authormjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 12 Jan 2011 07:41:46 +0000 (07:41 +0000)
committermjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 12 Jan 2011 07:41:46 +0000 (07:41 +0000)
        Reviewed by Eric Seidel.

        Close additional pages opened during a test once the test completes.
        https://bugs.webkit.org/show_bug.cgi?id=52276

        * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
        (WTR::InjectedBundle::done):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75587 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.cpp

index d911797de6b9161f301763f9794edbe13a75ebf5..591bba6b95d2c87d5c39b4fc6c0cdf2ebcf08d04 100644 (file)
@@ -1,3 +1,13 @@
+2011-01-11  Maciej Stachowiak  <mjs@apple.com>
+
+        Reviewed by Eric Seidel.
+
+        Close additional pages opened during a test once the test completes.
+        https://bugs.webkit.org/show_bug.cgi?id=52276
+
+        * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
+        (WTR::InjectedBundle::done):
+
 2011-01-11  David Levin  <levin@chromium.org>
 
         Reviewed by Eric Seidel.
index f68d3c4836c7e9b93084e6d29c11784d18bedb15..999ca3accc8a9197f921aa7e9f88677747ff6fff 100644 (file)
@@ -167,6 +167,8 @@ void InjectedBundle::done()
 
     WKBundlePostMessage(m_bundle, doneMessageName.get(), doneMessageBody.get());
 
+    closeOtherPages();
+    
     m_state = Idle;
 }