WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
84327
[Qt] Make DRT not dump pixel results if test is calling layoutTestController.dumpAsText()
https://bugs.webkit.org/show_bug.cgi?id=84327
Summary
[Qt] Make DRT not dump pixel results if test is calling layoutTestController....
Milian Wolff
Reported
2012-04-19 04:11:51 PDT
The DRT-Qt port creates pixel dumps even for test cases where this is not expected. I.e.: ./Tools/Scripts/run-webkit-tests -p LayoutTests/printing/page-break-orphans.html -> creates a PNG of the page and complains about missing baseline According to Dirk Pranke (
https://lists.webkit.org/pipermail/webkit-dev/2012-April/020349.html
) pixel dumps should not be created when layoutTestController.dumpAsText() was called. The attached patch does that and fixes the problem mentioned above.
Attachments
don't dump pixels if shouldDumpAsText is true
(1.67 KB, patch)
2012-04-19 04:19 PDT
,
Milian Wolff
ossy
: review-
Details
Formatted Diff
Diff
don't dump pixels if shouldDumpAsText is true
(1.62 KB, patch)
2012-04-19 05:44 PDT
,
Milian Wolff
no flags
Details
Formatted Diff
Diff
don't dump pixels if shouldDumpAsText is true
(1.66 KB, patch)
2012-04-19 06:41 PDT
,
Milian Wolff
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Milian Wolff
Comment 1
2012-04-19 04:19:56 PDT
Created
attachment 137875
[details]
don't dump pixels if shouldDumpAsText is true patch that checks m_controller->shouldDumpAsText() and prevents the pixel-dump when that is true
Csaba Osztrogonác
Comment 2
2012-04-19 04:30:06 PDT
Comment on
attachment 137875
[details]
don't dump pixels if shouldDumpAsText is true View in context:
https://bugs.webkit.org/attachment.cgi?id=137875&action=review
Only small nitpicks, otherwise LGTM. Please update the patch and upload it with r?
> Tools/ChangeLog:5 > + Qt: don't dump pixels if test should be dumped as text > + > + [Qt] don't dump pixels if test should be dumped as text
Could you add the title (the new one, please) only once to the changelog?
> Tools/DumpRenderTree/qt/DumpRenderTreeQt.cpp:951 > // FIXME: All other ports don't dump pixels, if generatePixelResults is false.
Please remove this FIXME, we don't need anymore after your fix.
Milian Wolff
Comment 3
2012-04-19 05:44:41 PDT
Created
attachment 137886
[details]
don't dump pixels if shouldDumpAsText is true fix issues raised by Ossy
Csaba Osztrogonác
Comment 4
2012-04-19 05:51:24 PDT
Comment on
attachment 137886
[details]
don't dump pixels if shouldDumpAsText is true View in context:
https://bugs.webkit.org/attachment.cgi?id=137886&action=review
Something is wrong with Tools/DumpRenderTree/qt/DumpRenderTreeQt.cpp, because it can't be applied.
> Tools/ChangeLog:5 > + [Qt] Make DRT not dump pixel results if test is calling layoutTestController.dumpAsText() > + > + Reviewed by NOBODY (OOPS!).
[Qt] Make DRT not dump pixel results if test is calling layoutTestController.dumpAsText()
https://bugs.webkit.org/show_bug.cgi?id=84327
Reviewed by NOBODY (OOPS!).
Milian Wolff
Comment 5
2012-04-19 06:41:42 PDT
Created
attachment 137893
[details]
don't dump pixels if shouldDumpAsText is true - create patch that directly applies against master - add bug url to changelog entry
Csaba Osztrogonác
Comment 6
2012-04-22 23:30:57 PDT
Comment on
attachment 137893
[details]
don't dump pixels if shouldDumpAsText is true LGTM, r=me.
WebKit Review Bot
Comment 7
2012-04-23 00:10:44 PDT
Comment on
attachment 137893
[details]
don't dump pixels if shouldDumpAsText is true Clearing flags on attachment: 137893 Committed
r114875
: <
http://trac.webkit.org/changeset/114875
>
WebKit Review Bot
Comment 8
2012-04-23 00:10:49 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug