Use dumpAsText() to avoid an image result being generated
authorharaken@chromium.org <haraken@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 9 Nov 2011 23:40:17 +0000 (23:40 +0000)
committerharaken@chromium.org <haraken@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 9 Nov 2011 23:40:17 +0000 (23:40 +0000)
commit3d0cf092cf0225e87abd635dd21afc8cfa1d83d8
tree21704172352803401f80c443a8379503d4d93cca
parentc6c73365090e844aadbe8e404d842f276f23a319
Use dumpAsText() to avoid an image result being generated
https://bugs.webkit.org/show_bug.cgi?id=71386

Reviewed by Tony Chang.

single-line-must-not-be-split-into-two-pages.html had been producing
a huge image result. What we need is a way by which we can generate a
DumpRenderTree result but do not generate an image even if
--pixel-test option is specified for ./Tools/Scripts/new-run-webkit-tests.
This patch realizes it using dumpAsText() and
window.internals.elementRenderTreeAsText.

* printing/single-line-must-not-be-split-into-two-pages.html: Used dumpAsText() and window.internals.elementRenderTreeAsText.
* platform/chromium-cg-mac-leopard/printing/single-line-must-not-be-split-into-two-pages-expected.png: Removed.
* platform/chromium-cg-mac-snowleopard/printing/single-line-must-not-be-split-into-two-pages-expected.png: Removed.
* platform/chromium-linux/printing/single-line-must-not-be-split-into-two-pages-expected.png: Removed.
* platform/chromium-mac-leopard/printing/single-line-must-not-be-split-into-two-pages-expected.png: Removed.
* platform/chromium-mac-snowleopard/printing/single-line-must-not-be-split-into-two-pages-expected.png: Removed.
* platform/chromium-win/printing/single-line-must-not-be-split-into-two-pages-expected.png: Removed.
* platform/chromium-win/printing/single-line-must-not-be-split-into-two-pages-expected.txt: Updated a test result.
* platform/mac/printing/single-line-must-not-be-split-into-two-pages-expected.txt: Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@99772 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/platform/chromium-cg-mac-leopard/printing/single-line-must-not-be-split-into-two-pages-expected.png [deleted file]
LayoutTests/platform/chromium-cg-mac-snowleopard/printing/single-line-must-not-be-split-into-two-pages-expected.png [deleted file]
LayoutTests/platform/chromium-linux/printing/single-line-must-not-be-split-into-two-pages-expected.png [deleted file]
LayoutTests/platform/chromium-mac-leopard/printing/single-line-must-not-be-split-into-two-pages-expected.png [deleted file]
LayoutTests/platform/chromium-mac-snowleopard/printing/single-line-must-not-be-split-into-two-pages-expected.png [deleted file]
LayoutTests/platform/chromium-win/printing/single-line-must-not-be-split-into-two-pages-expected.png [deleted file]
LayoutTests/platform/chromium-win/printing/single-line-must-not-be-split-into-two-pages-expected.txt
LayoutTests/platform/mac/printing/single-line-must-not-be-split-into-two-pages-expected.txt
LayoutTests/printing/single-line-must-not-be-split-into-two-pages.html