Skip to content

Commit 76b5da5

Browse files
committed
[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): Canonical link: https://commits.webkit.org/107592@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@121009 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent 6faa634 commit 76b5da5

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

Tools/ChangeLog

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
2012-06-22 Zoltan Horvath <zoltan@webkit.org>
2+
3+
[Qt] Allow DumpRenderTree to dump about:blank
4+
https://bugs.webkit.org/show_bug.cgi?id=89685
5+
6+
Reviewed by Ryosuke Niwa.
7+
8+
We need to allow DumpRenderTree to dump about:blank page, then it will be consistent with other ports,
9+
additionaly this behavior is required for running WTR performance tests.
10+
11+
* DumpRenderTree/qt/DumpRenderTreeQt.cpp:
12+
(WebCore::DumpRenderTree::processLine):
13+
114
2012-06-21 Adam Barth <abarth@webkit.org>
215

316
[Chromium] Reset mediaPlaybackRequiresUserGesture WebSettings after each test

Tools/DumpRenderTree/qt/DumpRenderTreeQt.cpp

100644100755
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,8 @@ void DumpRenderTree::processLine(const QString &input)
700700

701701
if (line.startsWith(QLatin1String("http:"))
702702
|| line.startsWith(QLatin1String("https:"))
703-
|| line.startsWith(QLatin1String("file:"))) {
703+
|| line.startsWith(QLatin1String("file:"))
704+
|| line == QLatin1String("about:blank")) {
704705
open(QUrl(line));
705706
} else {
706707
QFileInfo fi(line);

0 commit comments

Comments
 (0)