Skip to content
  • jcivelli@chromium.org's avatar
    Fix progress load reporting for MHTML documents. · 75384897
    jcivelli@chromium.org authored
    MHTML documents containing references to resources they don't include
    never finish loading.
    https://bugs.webkit.org/show_bug.cgi?id=71859
    
    Reviewed by Adam Barth.
    
    Source/WebCore:
    
    * loader/DocumentLoader.cpp:
    (WebCore::DocumentLoader::scheduleArchiveLoad):
    
    Source/WebKit/chromium:
    
    * tests/FrameTestHelpers.cpp:
    (WebKit::FrameTestHelpers::registerMockedURLLoadAsHTML):
    (WebKit::FrameTestHelpers::registerMockedURLLoad):
    (WebKit::FrameTestHelpers::createWebViewAndLoad):
    * tests/FrameTestHelpers.h:
    * tests/WebFrameTest.cpp:
    (WebKit::WebFrameTest::registerMockedHttpURLLoad):
    (WebKit::WebFrameTest::registerMockedChromeURLLoad):
    (WebKit::TEST_F):
    * tests/WebViewTest.cpp:
    (WebKit::TEST_F):
    * tests/data/page_with_image.mht: Added.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@99826 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    75384897