Title: [121009] trunk/Tools
Revision
121009
Author
[email protected]
Date
2012-06-22 00:16:53 -0700 (Fri, 22 Jun 2012)

Log Message

[Qt] Allow DumpRenderTree to dump about:blank
https://bugs.webkit.org/show_bug.cgi?id=89685

Reviewed by Ryosuke Niwa.

We need to allow DumpRenderTree to dump about:blank page, then it will be consistent with other ports,
additionaly this behavior is required for running WTR performance tests.

* DumpRenderTree/qt/DumpRenderTreeQt.cpp:
(WebCore::DumpRenderTree::processLine):

Modified Paths

Property Changed

Diff

Modified: trunk/Tools/ChangeLog (121008 => 121009)


--- trunk/Tools/ChangeLog	2012-06-22 06:52:33 UTC (rev 121008)
+++ trunk/Tools/ChangeLog	2012-06-22 07:16:53 UTC (rev 121009)
@@ -1,3 +1,16 @@
+2012-06-22  Zoltan Horvath  <[email protected]>
+
+        [Qt] Allow DumpRenderTree to dump about:blank
+        https://bugs.webkit.org/show_bug.cgi?id=89685
+
+        Reviewed by Ryosuke Niwa.
+
+        We need to allow DumpRenderTree to dump about:blank page, then it will be consistent with other ports,
+        additionaly this behavior is required for running WTR performance tests.
+
+        * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
+        (WebCore::DumpRenderTree::processLine):
+
 2012-06-21  Adam Barth  <[email protected]>
 
         [Chromium] Reset mediaPlaybackRequiresUserGesture WebSettings after each test

Modified: trunk/Tools/DumpRenderTree/qt/DumpRenderTreeQt.cpp (121008 => 121009)


--- trunk/Tools/DumpRenderTree/qt/DumpRenderTreeQt.cpp	2012-06-22 06:52:33 UTC (rev 121008)
+++ trunk/Tools/DumpRenderTree/qt/DumpRenderTreeQt.cpp	2012-06-22 07:16:53 UTC (rev 121009)
@@ -700,7 +700,8 @@
 
     if (line.startsWith(QLatin1String("http:"))
             || line.startsWith(QLatin1String("https:"))
-            || line.startsWith(QLatin1String("file:"))) {
+            || line.startsWith(QLatin1String("file:"))
+            || line == QLatin1String("about:blank")) {
         open(QUrl(line));
     } else {
         QFileInfo fi(line);
Property changes on: trunk/Tools/DumpRenderTree/qt/DumpRenderTreeQt.cpp
___________________________________________________________________

Added: svn:executable

_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to