haikuwebkit/LayoutTests/mhtml/page_with_css_and_js_ie.mht

81 lines
2.8 KiB
Plaintext
Raw Permalink Normal View History

2011-05-24 Jay Civelli <jcivelli@chromium.org> Reviewed by Adam Barth. Adding MHTML reading support. https://bugs.webkit.org/show_bug.cgi?id=7168 * configure.ac: 2011-05-24 Jay Civelli <jcivelli@chromium.org> Reviewed by Adam Barth. Adding MHTML reading support to WebCore. https://bugs.webkit.org/show_bug.cgi?id=7168 * mhtml/frame_0.html_original: Added. * mhtml/frame_1.html_original: Added. * mhtml/frame_2.html_original: Added. * mhtml/frame_4.html_original: Added. * mhtml/multi_frames.html_original: Added. * mhtml/multi_frames_ie.mht: Added. * mhtml/multi_frames_unmht.mht: Added. * mhtml/page_with_css_and_js.html_original: Added. * mhtml/page_with_css_and_js_ie.mht: Added. * mhtml/page_with_css_and_js_unmht.mht: Added. * mhtml/page_with_image.html_original: Added. * mhtml/page_with_image_ie.mht: Added. * mhtml/page_with_image_unmht.mht: Added. * mhtml/resources/red_square.png: Added. * mhtml/simple_page.html_original: Added. * mhtml/simple_page_ie.mht: Added. * mhtml/simple_page_unmht.mht: Added. * platform/chromium/mhtml/multi_frames_ie-expected.txt: Added. * platform/chromium/mhtml/multi_frames_unmht-expected.txt: Added. * platform/chromium/mhtml/page_with_css_and_js_ie-expected.txt: Added. * platform/chromium/mhtml/page_with_css_and_js_unmht-expected.txt: Added. * platform/chromium/mhtml/page_with_image_ie-expected.txt: Added. * platform/chromium/mhtml/page_with_image_unmht-expected.txt: Added. * platform/chromium/mhtml/simple_page_ie-expected.txt: Added. * platform/chromium/mhtml/simple_page_unmht-expected.txt: Added. 2011-05-24 Jay Civelli <jcivelli@chromium.org> Reviewed by Adam Barth. Adding MHTML reading support. That required some basic MIME header parsing. Modified DocumentLoader to keep a reference to the currently Archive loaded, so we can have different policies for loading subresources depending on the archive type. https://bugs.webkit.org/show_bug.cgi?id=7168 * CMakeLists.txt: * Configurations/FeatureDefines.xcconfig: * GNUmakefile.am: * GNUmakefile.list.am: * WebCore.gyp/WebCore.gyp: * WebCore.gypi: * WebCore.pro: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * features.pri: * loader/DocumentLoader.cpp: (WebCore::DocumentLoader::commitLoad): (WebCore::DocumentLoader::setupForReplaceByMIMEType): (WebCore::DocumentLoader::popArchiveForSubframe): (WebCore::DocumentLoader::scheduleArchiveLoad): * loader/DocumentLoader.h: * loader/FrameLoader.cpp: (WebCore::FrameLoader::loadURLIntoChildFrame): (WebCore::FrameLoader::loadArchive): (WebCore::FrameLoader::stopAllLoaders): (WebCore::FrameLoader::finishedLoadingDocument): * loader/FrameLoader.h: (WebCore::FrameLoader::archive): * loader/MainResourceLoader.cpp: (WebCore::MainResourceLoader::continueAfterContentPolicy): * loader/ResourceLoader.cpp: (WebCore::ResourceLoader::start): * loader/archive/Archive.cpp: Added. * loader/archive/Archive.h: (WebCore::Archive::mainResource): * loader/archive/ArchiveFactory.cpp: (WebCore::archiveFactoryCreate): (WebCore::archiveMIMETypes): (WebCore::ArchiveFactory::create): (WebCore::ArchiveFactory::registerKnownArchiveMIMETypes): * loader/archive/ArchiveFactory.h: * loader/archive/ArchiveResourceCollection.cpp: (WebCore::ArchiveResourceCollection::addAllResources): (WebCore::ArchiveResourceCollection::popSubframeArchive): * loader/archive/ArchiveResourceCollection.h: * loader/archive/cf/LegacyWebArchive.cpp: (WebCore::LegacyWebArchive::create): (WebCore::LegacyWebArchive::type): * loader/archive/cf/LegacyWebArchive.h: * loader/archive/mhtml/MHTMLArchive.cpp: Added. * loader/archive/mhtml/MHTMLArchive.h: Added. * loader/archive/mhtml/MHTMLParser.cpp: Added. * loader/archive/mhtml/MHTMLParser.h: Added. * platform/MIMETypeRegistry.cpp: (WebCore::initializeSupportedNonImageMimeTypes): * platform/mac/PasteboardMac.mm: (WebCore::Pasteboard::documentFragment): * platform/network/MIMEHeader.cpp: Added. * platform/network/MIMEHeader.h: Added. 2011-05-24 Jay Civelli <jcivelli@chromium.org> Reviewed by Adam Barth. Adding MHTML reading support to WebCore. https://bugs.webkit.org/show_bug.cgi?id=7168 * features.gypi: 2011-05-24 Jay Civelli <jcivelli@chromium.org> Reviewed by Adam Barth. Adding MHTML reading support. https://bugs.webkit.org/show_bug.cgi?id=7168 * Scripts/build-webkit: * Scripts/old-run-webkit-tests: * Scripts/webkitperl/features.pm: * Scripts/webkitpy/layout_tests/port/test_files.py: * Scripts/webkitpy/layout_tests/port/webkit.py: Canonical link: https://commits.webkit.org/76767@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@87189 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-05-24 19:32:03 +00:00
From: "Saved by Windows Internet Explorer 9"
Subject:
Date: Wed, 18 May 2011 16:49:23 -0700
MIME-Version: 1.0
Content-Type: multipart/related;
type="text/html";
boundary="----=_NextPart_000_0012_01CC157B.8AA06570"
X-MimeOLE: Produced By Microsoft MimeOLE V6.1.7600.16776
This is a multi-part message in MIME format.
------=_NextPart_000_0012_01CC157B.8AA06570
Content-Type: text/html;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://localhost/page_with_css_and_js.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Dwindows-1252" =
http-equiv=3DContent-Type><LINK=20
rel=3Dstylesheet type=3Dtext/css =
href=3D"http://localhost/resources/hide_image.css">
<SCRIPT type=3Dtext/javascript=20
src=3D"http://localhost/resources/remove_image_script.js"></SCRIPT>
<SCRIPT>=0A=
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: Canonical link: https://commits.webkit.org/146481@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@163713 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2014-02-08 17:08:08 +00:00
if (window.testRunner)=0A=
Use testRunner instead of layoutTestController in ietestcenter, inspector, java, jquery, loader, mathml, media, and mhtml tests https://bugs.webkit.org/show_bug.cgi?id=89176 Reviewed by Kent Tamura. * ietestcenter/css3/bordersbackgrounds/background-attachment-local-scrolling.htm: * inspector/audits/resources/audits-style1.css: * inspector/console/console-long-eval-crash.html: * inspector/extensions/extensions-audits-content-script.html: * inspector/extensions/extensions-eval-content-script.html: * inspector/profiler/cpu-profiler-profiling-without-inspector.html: * inspector/timeline/timeline-animation-frame.html: * inspector/timeline/timeline-paint.html: * inspector/timeline/timeline-receive-response-event.html: * inspector/timeline/timeline-timer.html: * java/argument-to-object-type.html: * java/array-return.html: * java/array-sort.html: * java/embedding-java-with-object.html: * java/inaccessible-class.html: * java/inline-applet-crash.html: * java/java-and-plugins.html: * java/lc3/: * jquery/resources/helper.js: * loader/go-back-to-different-window-size.html: * loader/load-defer-resume-crash.html: * loader/navigation-while-deferring-loads.html: * loader/reload-subresource-when-type-changes.html: * mathml/EmptyMFracCrash.xhtml: * mathml/EmptyMunderOverCrash.xhtml: * mathml/empty-mroot-crash.xhtml: * mathml/empty-msubsup-crash.html: * mathml/fenced-whitespace-separators-crash.html: * mathml/msub-anonymous-child-render-crash.html: * mathml/msubsup-no-grandchild.xhtml: * mathml/msubsup-remove-children.xhtml: * mathml/munderover-remove-children.html: * mathml/operator-hijacks-fenced-node.xhtml: * mathml/wbr-in-mroot-crash.html: * media/W3C/w3cwrapper.js: (test): (async_test.t.done): (async_test): * media/adopt-node-crash.html: * media/audio-controls-do-not-fade-out.html: * media/audio-controls-rendering.html: * media/audio-delete-while-slider-thumb-clicked.html: * media/audio-delete-while-step-button-clicked.html: * media/audio-garbage-collect.html: * media/audio-no-installed-engines.html: * media/audio-only-video-intrinsic-size.html: * media/audio-repaint.html: * media/context-menu-actions.html: * media/controls-after-reload.html: * media/controls-drag-timebar.html: * media/controls-layout-direction.html: * media/controls-right-click-on-timebar.html: * media/controls-without-preload.html: * media/crash-closing-page-with-media-as-plugin-fallback.html: * media/fallback.html: * media/media-blocked-by-beforeload.html: * media/media-blocked-by-willsendrequest.html: * media/media-controls-clone-crash.html: * media/media-controls-invalid-url.html: * media/media-document-audio-repaint.html: * media/media-document-audio-size.html: * media/media-fullscreen.js: (canplaythrough): * media/media-volume-slider-rendered-normal.html: * media/no-auto-play-in-sandbox.html: * media/remove-from-document-before-load.html: * media/resources/foreignobject-media.svg: * media/restore-from-page-cache.html: * media/svg-as-image-with-media-blocked.html: * media/video-beforeload-remove-source.html: * media/video-canvas-alpha.html: * media/video-canvas.html-disabled: * media/video-click-dblckick-standalone.html: * media/video-controls-in-media-document.html: * media/video-controls-no-scripting.html: * media/video-controls-toggling.html: * media/video-controls-visible-audio-only.html: * media/video-controls-with-mutation-event-handler.html: * media/video-delay-load-event.html: * media/video-display-toggle.html: * media/video-document-types.html: * media/video-element-other-namespace-crash.html: * media/video-empty-source.html: * media/video-no-audio.html: * media/video-paint-test.js: (init.waitForMultipleEvents): (initAndPause.waitForMultipleEvents): (initAndPause): * media/video-plays-past-end-of-test.html: * media/video-poster-blocked-by-willsendrequest.html: * media/video-replaces-poster.html: * media/video-source-inserted.html: * media/video-test.js: (endTest): * media/video-volume-slider.html: * media/video-zoom.html: * mhtml/check_domain.mht: * mhtml/multi_frames.html_original: * mhtml/multi_frames_binary.mht: * mhtml/multi_frames_ie.mht: * mhtml/multi_frames_unmht.mht: * mhtml/page_with_css_and_js_ie.mht: * mhtml/page_with_css_and_js_unmht.mht: * mhtml/page_with_image.html_original: * mhtml/page_with_image_ie.mht: * mhtml/page_with_image_unmht.mht: * mhtml/simple_page.html_original: * mhtml/simple_page_ie.mht: * mhtml/simple_page_unmht.mht: * networkinformation/resources/event-after-navigation-new.html: * networkinformation/script-tests/event-after-navigation.js: * platform/chromium/media/video-frame-size-change.html: Canonical link: https://commits.webkit.org/107030@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@120416 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2012-06-15 07:33:22 +00:00
testRunner.waitUntilDone();=0A=
2011-05-24 Jay Civelli <jcivelli@chromium.org> Reviewed by Adam Barth. Adding MHTML reading support. https://bugs.webkit.org/show_bug.cgi?id=7168 * configure.ac: 2011-05-24 Jay Civelli <jcivelli@chromium.org> Reviewed by Adam Barth. Adding MHTML reading support to WebCore. https://bugs.webkit.org/show_bug.cgi?id=7168 * mhtml/frame_0.html_original: Added. * mhtml/frame_1.html_original: Added. * mhtml/frame_2.html_original: Added. * mhtml/frame_4.html_original: Added. * mhtml/multi_frames.html_original: Added. * mhtml/multi_frames_ie.mht: Added. * mhtml/multi_frames_unmht.mht: Added. * mhtml/page_with_css_and_js.html_original: Added. * mhtml/page_with_css_and_js_ie.mht: Added. * mhtml/page_with_css_and_js_unmht.mht: Added. * mhtml/page_with_image.html_original: Added. * mhtml/page_with_image_ie.mht: Added. * mhtml/page_with_image_unmht.mht: Added. * mhtml/resources/red_square.png: Added. * mhtml/simple_page.html_original: Added. * mhtml/simple_page_ie.mht: Added. * mhtml/simple_page_unmht.mht: Added. * platform/chromium/mhtml/multi_frames_ie-expected.txt: Added. * platform/chromium/mhtml/multi_frames_unmht-expected.txt: Added. * platform/chromium/mhtml/page_with_css_and_js_ie-expected.txt: Added. * platform/chromium/mhtml/page_with_css_and_js_unmht-expected.txt: Added. * platform/chromium/mhtml/page_with_image_ie-expected.txt: Added. * platform/chromium/mhtml/page_with_image_unmht-expected.txt: Added. * platform/chromium/mhtml/simple_page_ie-expected.txt: Added. * platform/chromium/mhtml/simple_page_unmht-expected.txt: Added. 2011-05-24 Jay Civelli <jcivelli@chromium.org> Reviewed by Adam Barth. Adding MHTML reading support. That required some basic MIME header parsing. Modified DocumentLoader to keep a reference to the currently Archive loaded, so we can have different policies for loading subresources depending on the archive type. https://bugs.webkit.org/show_bug.cgi?id=7168 * CMakeLists.txt: * Configurations/FeatureDefines.xcconfig: * GNUmakefile.am: * GNUmakefile.list.am: * WebCore.gyp/WebCore.gyp: * WebCore.gypi: * WebCore.pro: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * features.pri: * loader/DocumentLoader.cpp: (WebCore::DocumentLoader::commitLoad): (WebCore::DocumentLoader::setupForReplaceByMIMEType): (WebCore::DocumentLoader::popArchiveForSubframe): (WebCore::DocumentLoader::scheduleArchiveLoad): * loader/DocumentLoader.h: * loader/FrameLoader.cpp: (WebCore::FrameLoader::loadURLIntoChildFrame): (WebCore::FrameLoader::loadArchive): (WebCore::FrameLoader::stopAllLoaders): (WebCore::FrameLoader::finishedLoadingDocument): * loader/FrameLoader.h: (WebCore::FrameLoader::archive): * loader/MainResourceLoader.cpp: (WebCore::MainResourceLoader::continueAfterContentPolicy): * loader/ResourceLoader.cpp: (WebCore::ResourceLoader::start): * loader/archive/Archive.cpp: Added. * loader/archive/Archive.h: (WebCore::Archive::mainResource): * loader/archive/ArchiveFactory.cpp: (WebCore::archiveFactoryCreate): (WebCore::archiveMIMETypes): (WebCore::ArchiveFactory::create): (WebCore::ArchiveFactory::registerKnownArchiveMIMETypes): * loader/archive/ArchiveFactory.h: * loader/archive/ArchiveResourceCollection.cpp: (WebCore::ArchiveResourceCollection::addAllResources): (WebCore::ArchiveResourceCollection::popSubframeArchive): * loader/archive/ArchiveResourceCollection.h: * loader/archive/cf/LegacyWebArchive.cpp: (WebCore::LegacyWebArchive::create): (WebCore::LegacyWebArchive::type): * loader/archive/cf/LegacyWebArchive.h: * loader/archive/mhtml/MHTMLArchive.cpp: Added. * loader/archive/mhtml/MHTMLArchive.h: Added. * loader/archive/mhtml/MHTMLParser.cpp: Added. * loader/archive/mhtml/MHTMLParser.h: Added. * platform/MIMETypeRegistry.cpp: (WebCore::initializeSupportedNonImageMimeTypes): * platform/mac/PasteboardMac.mm: (WebCore::Pasteboard::documentFragment): * platform/network/MIMEHeader.cpp: Added. * platform/network/MIMEHeader.h: Added. 2011-05-24 Jay Civelli <jcivelli@chromium.org> Reviewed by Adam Barth. Adding MHTML reading support to WebCore. https://bugs.webkit.org/show_bug.cgi?id=7168 * features.gypi: 2011-05-24 Jay Civelli <jcivelli@chromium.org> Reviewed by Adam Barth. Adding MHTML reading support. https://bugs.webkit.org/show_bug.cgi?id=7168 * Scripts/build-webkit: * Scripts/old-run-webkit-tests: * Scripts/webkitperl/features.pm: * Scripts/webkitpy/layout_tests/port/test_files.py: * Scripts/webkitpy/layout_tests/port/webkit.py: Canonical link: https://commits.webkit.org/76767@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@87189 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-05-24 19:32:03 +00:00
</SCRIPT>
<META name=3DGENERATOR content=3D"MSHTML 9.00.8112.16421"></HEAD>
<BODY onload=3DonLoad()>This page tests that CSS and JavaScript =
resources are=20
retrieved correctly for MHTML files.<BR><BR>There should be only one red =
square=20
below:=20
<DIV id=3DfirstDiv><IMG=20
src=3D"http://localhost/resources/red_square.png"><BR><BR></DIV>
<DIV id=3DsecondDiv>The red square below should be hidden by way of =
CSS.<BR><IMG=20
src=3D"http://localhost/resources/red_square.png"><BR><BR></DIV>
<DIV id=3DthirdDiv>The red square below should be hidden by way of=20
JavaScript.<BR><IMG=20
src=3D"http://localhost/resources/red_square.png"><BR><BR></DIV></BODY><=
/HTML>
------=_NextPart_000_0012_01CC157B.8AA06570
Content-Type: image/png
Content-Transfer-Encoding: base64
Content-Location: http://localhost/resources/red_square.png
iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAARnQU1BAACx
jwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAACESURBVEhL7ZYxDoAwCEXB2LGTo46ewXj/zXgV
PQKgexP/Ai6l889/6Stp4HtZjYKOiRCpEpfSEIYgJqxNMFTkFUjVXiZhT6qGirwCqdrLJOxJ1VCR
V6A/1XxNc9jqQ6JkpjTU2rwQR+5c4769YCM5zn/BX4PY33Dljb0+JtiTqqEir8ADWEIY6dz7d1cA
AAAASUVORK5CYII=
------=_NextPart_000_0012_01CC157B.8AA06570
Content-Type: text/css;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Location: http://localhost/resources/hide_image.css
#secondDiv {
DISPLAY: none
}
------=_NextPart_000_0012_01CC157B.8AA06570
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://localhost/resources/remove_image_script.js
function onLoad() {=0A=
divToRemove =3D document.getElementById("thirdDiv");=0A=
divToRemove.parentNode.removeChild(divToRemove);=0A=
Use testRunner instead of layoutTestController in ietestcenter, inspector, java, jquery, loader, mathml, media, and mhtml tests https://bugs.webkit.org/show_bug.cgi?id=89176 Reviewed by Kent Tamura. * ietestcenter/css3/bordersbackgrounds/background-attachment-local-scrolling.htm: * inspector/audits/resources/audits-style1.css: * inspector/console/console-long-eval-crash.html: * inspector/extensions/extensions-audits-content-script.html: * inspector/extensions/extensions-eval-content-script.html: * inspector/profiler/cpu-profiler-profiling-without-inspector.html: * inspector/timeline/timeline-animation-frame.html: * inspector/timeline/timeline-paint.html: * inspector/timeline/timeline-receive-response-event.html: * inspector/timeline/timeline-timer.html: * java/argument-to-object-type.html: * java/array-return.html: * java/array-sort.html: * java/embedding-java-with-object.html: * java/inaccessible-class.html: * java/inline-applet-crash.html: * java/java-and-plugins.html: * java/lc3/: * jquery/resources/helper.js: * loader/go-back-to-different-window-size.html: * loader/load-defer-resume-crash.html: * loader/navigation-while-deferring-loads.html: * loader/reload-subresource-when-type-changes.html: * mathml/EmptyMFracCrash.xhtml: * mathml/EmptyMunderOverCrash.xhtml: * mathml/empty-mroot-crash.xhtml: * mathml/empty-msubsup-crash.html: * mathml/fenced-whitespace-separators-crash.html: * mathml/msub-anonymous-child-render-crash.html: * mathml/msubsup-no-grandchild.xhtml: * mathml/msubsup-remove-children.xhtml: * mathml/munderover-remove-children.html: * mathml/operator-hijacks-fenced-node.xhtml: * mathml/wbr-in-mroot-crash.html: * media/W3C/w3cwrapper.js: (test): (async_test.t.done): (async_test): * media/adopt-node-crash.html: * media/audio-controls-do-not-fade-out.html: * media/audio-controls-rendering.html: * media/audio-delete-while-slider-thumb-clicked.html: * media/audio-delete-while-step-button-clicked.html: * media/audio-garbage-collect.html: * media/audio-no-installed-engines.html: * media/audio-only-video-intrinsic-size.html: * media/audio-repaint.html: * media/context-menu-actions.html: * media/controls-after-reload.html: * media/controls-drag-timebar.html: * media/controls-layout-direction.html: * media/controls-right-click-on-timebar.html: * media/controls-without-preload.html: * media/crash-closing-page-with-media-as-plugin-fallback.html: * media/fallback.html: * media/media-blocked-by-beforeload.html: * media/media-blocked-by-willsendrequest.html: * media/media-controls-clone-crash.html: * media/media-controls-invalid-url.html: * media/media-document-audio-repaint.html: * media/media-document-audio-size.html: * media/media-fullscreen.js: (canplaythrough): * media/media-volume-slider-rendered-normal.html: * media/no-auto-play-in-sandbox.html: * media/remove-from-document-before-load.html: * media/resources/foreignobject-media.svg: * media/restore-from-page-cache.html: * media/svg-as-image-with-media-blocked.html: * media/video-beforeload-remove-source.html: * media/video-canvas-alpha.html: * media/video-canvas.html-disabled: * media/video-click-dblckick-standalone.html: * media/video-controls-in-media-document.html: * media/video-controls-no-scripting.html: * media/video-controls-toggling.html: * media/video-controls-visible-audio-only.html: * media/video-controls-with-mutation-event-handler.html: * media/video-delay-load-event.html: * media/video-display-toggle.html: * media/video-document-types.html: * media/video-element-other-namespace-crash.html: * media/video-empty-source.html: * media/video-no-audio.html: * media/video-paint-test.js: (init.waitForMultipleEvents): (initAndPause.waitForMultipleEvents): (initAndPause): * media/video-plays-past-end-of-test.html: * media/video-poster-blocked-by-willsendrequest.html: * media/video-replaces-poster.html: * media/video-source-inserted.html: * media/video-test.js: (endTest): * media/video-volume-slider.html: * media/video-zoom.html: * mhtml/check_domain.mht: * mhtml/multi_frames.html_original: * mhtml/multi_frames_binary.mht: * mhtml/multi_frames_ie.mht: * mhtml/multi_frames_unmht.mht: * mhtml/page_with_css_and_js_ie.mht: * mhtml/page_with_css_and_js_unmht.mht: * mhtml/page_with_image.html_original: * mhtml/page_with_image_ie.mht: * mhtml/page_with_image_unmht.mht: * mhtml/simple_page.html_original: * mhtml/simple_page_ie.mht: * mhtml/simple_page_unmht.mht: * networkinformation/resources/event-after-navigation-new.html: * networkinformation/script-tests/event-after-navigation.js: * platform/chromium/media/video-frame-size-change.html: Canonical link: https://commits.webkit.org/107030@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@120416 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2012-06-15 07:33:22 +00:00
if (window.testRunner)=0A=
testRunner.notifyDone();=0A=
2011-05-24 Jay Civelli <jcivelli@chromium.org> Reviewed by Adam Barth. Adding MHTML reading support. https://bugs.webkit.org/show_bug.cgi?id=7168 * configure.ac: 2011-05-24 Jay Civelli <jcivelli@chromium.org> Reviewed by Adam Barth. Adding MHTML reading support to WebCore. https://bugs.webkit.org/show_bug.cgi?id=7168 * mhtml/frame_0.html_original: Added. * mhtml/frame_1.html_original: Added. * mhtml/frame_2.html_original: Added. * mhtml/frame_4.html_original: Added. * mhtml/multi_frames.html_original: Added. * mhtml/multi_frames_ie.mht: Added. * mhtml/multi_frames_unmht.mht: Added. * mhtml/page_with_css_and_js.html_original: Added. * mhtml/page_with_css_and_js_ie.mht: Added. * mhtml/page_with_css_and_js_unmht.mht: Added. * mhtml/page_with_image.html_original: Added. * mhtml/page_with_image_ie.mht: Added. * mhtml/page_with_image_unmht.mht: Added. * mhtml/resources/red_square.png: Added. * mhtml/simple_page.html_original: Added. * mhtml/simple_page_ie.mht: Added. * mhtml/simple_page_unmht.mht: Added. * platform/chromium/mhtml/multi_frames_ie-expected.txt: Added. * platform/chromium/mhtml/multi_frames_unmht-expected.txt: Added. * platform/chromium/mhtml/page_with_css_and_js_ie-expected.txt: Added. * platform/chromium/mhtml/page_with_css_and_js_unmht-expected.txt: Added. * platform/chromium/mhtml/page_with_image_ie-expected.txt: Added. * platform/chromium/mhtml/page_with_image_unmht-expected.txt: Added. * platform/chromium/mhtml/simple_page_ie-expected.txt: Added. * platform/chromium/mhtml/simple_page_unmht-expected.txt: Added. 2011-05-24 Jay Civelli <jcivelli@chromium.org> Reviewed by Adam Barth. Adding MHTML reading support. That required some basic MIME header parsing. Modified DocumentLoader to keep a reference to the currently Archive loaded, so we can have different policies for loading subresources depending on the archive type. https://bugs.webkit.org/show_bug.cgi?id=7168 * CMakeLists.txt: * Configurations/FeatureDefines.xcconfig: * GNUmakefile.am: * GNUmakefile.list.am: * WebCore.gyp/WebCore.gyp: * WebCore.gypi: * WebCore.pro: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * features.pri: * loader/DocumentLoader.cpp: (WebCore::DocumentLoader::commitLoad): (WebCore::DocumentLoader::setupForReplaceByMIMEType): (WebCore::DocumentLoader::popArchiveForSubframe): (WebCore::DocumentLoader::scheduleArchiveLoad): * loader/DocumentLoader.h: * loader/FrameLoader.cpp: (WebCore::FrameLoader::loadURLIntoChildFrame): (WebCore::FrameLoader::loadArchive): (WebCore::FrameLoader::stopAllLoaders): (WebCore::FrameLoader::finishedLoadingDocument): * loader/FrameLoader.h: (WebCore::FrameLoader::archive): * loader/MainResourceLoader.cpp: (WebCore::MainResourceLoader::continueAfterContentPolicy): * loader/ResourceLoader.cpp: (WebCore::ResourceLoader::start): * loader/archive/Archive.cpp: Added. * loader/archive/Archive.h: (WebCore::Archive::mainResource): * loader/archive/ArchiveFactory.cpp: (WebCore::archiveFactoryCreate): (WebCore::archiveMIMETypes): (WebCore::ArchiveFactory::create): (WebCore::ArchiveFactory::registerKnownArchiveMIMETypes): * loader/archive/ArchiveFactory.h: * loader/archive/ArchiveResourceCollection.cpp: (WebCore::ArchiveResourceCollection::addAllResources): (WebCore::ArchiveResourceCollection::popSubframeArchive): * loader/archive/ArchiveResourceCollection.h: * loader/archive/cf/LegacyWebArchive.cpp: (WebCore::LegacyWebArchive::create): (WebCore::LegacyWebArchive::type): * loader/archive/cf/LegacyWebArchive.h: * loader/archive/mhtml/MHTMLArchive.cpp: Added. * loader/archive/mhtml/MHTMLArchive.h: Added. * loader/archive/mhtml/MHTMLParser.cpp: Added. * loader/archive/mhtml/MHTMLParser.h: Added. * platform/MIMETypeRegistry.cpp: (WebCore::initializeSupportedNonImageMimeTypes): * platform/mac/PasteboardMac.mm: (WebCore::Pasteboard::documentFragment): * platform/network/MIMEHeader.cpp: Added. * platform/network/MIMEHeader.h: Added. 2011-05-24 Jay Civelli <jcivelli@chromium.org> Reviewed by Adam Barth. Adding MHTML reading support to WebCore. https://bugs.webkit.org/show_bug.cgi?id=7168 * features.gypi: 2011-05-24 Jay Civelli <jcivelli@chromium.org> Reviewed by Adam Barth. Adding MHTML reading support. https://bugs.webkit.org/show_bug.cgi?id=7168 * Scripts/build-webkit: * Scripts/old-run-webkit-tests: * Scripts/webkitperl/features.pm: * Scripts/webkitpy/layout_tests/port/test_files.py: * Scripts/webkitpy/layout_tests/port/webkit.py: Canonical link: https://commits.webkit.org/76767@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@87189 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-05-24 19:32:03 +00:00
}
------=_NextPart_000_0012_01CC157B.8AA06570--