Convert current MHTML tests into reftests
authorzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 8 Feb 2014 17:08:08 +0000 (17:08 +0000)
committerzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 8 Feb 2014 17:08:08 +0000 (17:08 +0000)
commit22c1a31ec3944b8055be2e05e17b5a33e6e0032c
treeeab1b51aa0fe102ae668594ffd30b4711fce631c
parentd9f476caf437d55feb609de0bf4125591b690abe
Convert current MHTML tests into reftests
https://bugs.webkit.org/show_bug.cgi?id=116443

Reviewed by Andreas Kling.

Convert the current set of MHTML tests into reference tests. Reference files are copied from the *_original files
where available (with the *_original files removed) or from the source markup and code that's stored in the archive.
Both the archives and the reference files are adjusted to now dump pixel output instead of text.

* mhtml/check_domain-expected.html: Added.
* mhtml/check_domain-expected.txt: Removed.
* mhtml/check_domain.mht:
* mhtml/frame_4.html_original: Removed.
* mhtml/multi_frames.html_original: Removed.
* mhtml/multi_frames_binary-expected.html: Added.
* mhtml/multi_frames_binary-expected.txt: Removed.
* mhtml/multi_frames_binary.mht:
* mhtml/multi_frames_ie-expected.html: Added.
* mhtml/multi_frames_ie-expected.txt: Removed.
* mhtml/multi_frames_ie.mht:
* mhtml/multi_frames_unmht-expected.html: Added.
* mhtml/multi_frames_unmht-expected.txt: Removed.
* mhtml/multi_frames_unmht.mht:
* mhtml/page_with_css_and_js_ie-expected.html: Copied from LayoutTests/mhtml/page_with_css_and_js.html_original.
* mhtml/page_with_css_and_js_ie-expected.txt: Removed.
* mhtml/page_with_css_and_js_ie.mht:
* mhtml/page_with_css_and_js_unmht-expected.html: Renamed from LayoutTests/mhtml/page_with_css_and_js.html_original.
* mhtml/page_with_css_and_js_unmht-expected.txt: Removed.
* mhtml/page_with_css_and_js_unmht.mht:
* mhtml/page_with_image.html_original: Removed.
* mhtml/page_with_image_ie-expected.html: Added.
* mhtml/page_with_image_ie-expected.txt: Removed.
* mhtml/page_with_image_ie.mht:
* mhtml/page_with_image_unmht-expected.html: Added.
* mhtml/page_with_image_unmht-expected.txt: Removed.
* mhtml/page_with_image_unmht.mht:
* mhtml/resources/frame_0.html: Renamed from LayoutTests/mhtml/frame_0.html_original.
* mhtml/resources/frame_1.html: Renamed from LayoutTests/mhtml/frame_1.html_original.
* mhtml/resources/frame_2.html: Renamed from LayoutTests/mhtml/frame_2.html_original.
* mhtml/resources/frame_4.html: Added.
* mhtml/resources/hide_image.css: Added.
(#secondDiv):
* mhtml/resources/remove_image_script.js: Added.
(onLoad):
* mhtml/resources/style.css: Copied from LayoutTests/mhtml/shared_buffer_bug.mht.
(h1):
* mhtml/shared_buffer_bug-expected.html: Added.
* mhtml/shared_buffer_bug-expected.txt: Removed.
* mhtml/shared_buffer_bug.mht:
* mhtml/simple_page_ie-expected.html: Copied from LayoutTests/mhtml/simple_page.html_original.
* mhtml/simple_page_ie-expected.txt: Removed.
* mhtml/simple_page_ie.mht:
* mhtml/simple_page_unmht-expected.html: Renamed from LayoutTests/mhtml/simple_page.html_original.
* mhtml/simple_page_unmht-expected.txt: Removed.
* mhtml/simple_page_unmht.mht:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@163713 268f45cc-cd09-0410-ab3c-d52691b4dbfc
44 files changed:
LayoutTests/ChangeLog
LayoutTests/mhtml/check_domain-expected.html [new file with mode: 0644]
LayoutTests/mhtml/check_domain-expected.txt [deleted file]
LayoutTests/mhtml/check_domain.mht
LayoutTests/mhtml/frame_4.html_original [deleted file]
LayoutTests/mhtml/multi_frames.html_original [deleted file]
LayoutTests/mhtml/multi_frames_binary-expected.html [new file with mode: 0644]
LayoutTests/mhtml/multi_frames_binary-expected.txt [deleted file]
LayoutTests/mhtml/multi_frames_binary.mht
LayoutTests/mhtml/multi_frames_ie-expected.html [new file with mode: 0644]
LayoutTests/mhtml/multi_frames_ie-expected.txt [deleted file]
LayoutTests/mhtml/multi_frames_ie.mht [changed mode: 0755->0644]
LayoutTests/mhtml/multi_frames_unmht-expected.html [new file with mode: 0644]
LayoutTests/mhtml/multi_frames_unmht-expected.txt [deleted file]
LayoutTests/mhtml/multi_frames_unmht.mht [changed mode: 0755->0644]
LayoutTests/mhtml/page_with_css_and_js_ie-expected.html [moved from LayoutTests/mhtml/page_with_css_and_js.html_original with 86% similarity, mode: 0644]
LayoutTests/mhtml/page_with_css_and_js_ie-expected.txt [deleted file]
LayoutTests/mhtml/page_with_css_and_js_ie.mht [changed mode: 0755->0644]
LayoutTests/mhtml/page_with_css_and_js_unmht-expected.html [new file with mode: 0644]
LayoutTests/mhtml/page_with_css_and_js_unmht-expected.txt [deleted file]
LayoutTests/mhtml/page_with_css_and_js_unmht.mht [changed mode: 0755->0644]
LayoutTests/mhtml/page_with_image.html_original [deleted file]
LayoutTests/mhtml/page_with_image_ie-expected.html [new file with mode: 0644]
LayoutTests/mhtml/page_with_image_ie-expected.txt [deleted file]
LayoutTests/mhtml/page_with_image_ie.mht [changed mode: 0755->0644]
LayoutTests/mhtml/page_with_image_unmht-expected.html [new file with mode: 0644]
LayoutTests/mhtml/page_with_image_unmht-expected.txt [deleted file]
LayoutTests/mhtml/page_with_image_unmht.mht [changed mode: 0755->0644]
LayoutTests/mhtml/resources/frame_0.html [moved from LayoutTests/mhtml/frame_0.html_original with 100% similarity]
LayoutTests/mhtml/resources/frame_1.html [moved from LayoutTests/mhtml/frame_1.html_original with 100% similarity]
LayoutTests/mhtml/resources/frame_2.html [moved from LayoutTests/mhtml/frame_2.html_original with 100% similarity]
LayoutTests/mhtml/resources/frame_4.html [new file with mode: 0644]
LayoutTests/mhtml/resources/hide_image.css [new file with mode: 0644]
LayoutTests/mhtml/resources/remove_image_script.js [new file with mode: 0644]
LayoutTests/mhtml/resources/style.css [new file with mode: 0644]
LayoutTests/mhtml/shared_buffer_bug-expected.html [new file with mode: 0644]
LayoutTests/mhtml/shared_buffer_bug-expected.txt [deleted file]
LayoutTests/mhtml/shared_buffer_bug.mht
LayoutTests/mhtml/simple_page_ie-expected.html [moved from LayoutTests/mhtml/simple_page.html_original with 69% similarity]
LayoutTests/mhtml/simple_page_ie-expected.txt [deleted file]
LayoutTests/mhtml/simple_page_ie.mht [changed mode: 0755->0644]
LayoutTests/mhtml/simple_page_unmht-expected.html [new file with mode: 0644]
LayoutTests/mhtml/simple_page_unmht-expected.txt [deleted file]
LayoutTests/mhtml/simple_page_unmht.mht [changed mode: 0755->0644]