Title: [139613] trunk/Tools
Revision
139613
Author
commit-qu...@webkit.org
Date
2013-01-14 07:24:56 -0800 (Mon, 14 Jan 2013)

Log Message

Web Inspector: devtools front-end doesn't have focus in TestShell
https://bugs.webkit.org/show_bug.cgi?id=106778

Patch by Andrey Lushnikov <lushni...@chromium.org> on 2013-01-14
Reviewed by Pavel Feldman.

Focus devTools window after loadURL method.

* DumpRenderTree/chromium/TestShell.cpp:
(TestShell::runFileTest):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (139612 => 139613)


--- trunk/Tools/ChangeLog	2013-01-14 13:52:01 UTC (rev 139612)
+++ trunk/Tools/ChangeLog	2013-01-14 15:24:56 UTC (rev 139613)
@@ -1,3 +1,15 @@
+2013-01-14  Andrey Lushnikov  <lushni...@chromium.org>
+
+        Web Inspector: devtools front-end doesn't have focus in TestShell
+        https://bugs.webkit.org/show_bug.cgi?id=106778
+
+        Reviewed by Pavel Feldman.
+
+        Focus devTools window after loadURL method.
+
+        * DumpRenderTree/chromium/TestShell.cpp:
+        (TestShell::runFileTest):
+
 2013-01-14  Raphael Kubo da Costa  <raphael.kubo.da.co...@intel.com>
 
         [EFL][jhbuild] Build the GStreamer-related dependencies with the "configure" script

Modified: trunk/Tools/DumpRenderTree/chromium/TestShell.cpp (139612 => 139613)


--- trunk/Tools/DumpRenderTree/chromium/TestShell.cpp	2013-01-14 13:52:01 UTC (rev 139612)
+++ trunk/Tools/DumpRenderTree/chromium/TestShell.cpp	2013-01-14 15:24:56 UTC (rev 139613)
@@ -297,6 +297,9 @@
         m_printer.handleTestHeader(testUrl.c_str());
     loadURL(m_params.testUrl);
 
+    if (m_devTools)
+        this->setFocus(m_devTools->webView(), true);
+
     m_testIsPreparing = false;
     waitTestFinished();
 }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to