LayoutTests:
authorandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 Feb 2007 03:51:00 +0000 (03:51 +0000)
committerandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 Feb 2007 03:51:00 +0000 (03:51 +0000)
commita92a5d18ad16b2116c7a8348e36d4670ea797454
treecc1d5ebee729b82d488e84c6ad59304c68fa3dad
parent0b597beaff58ec9c34011ceb0c2cffdbe559bf92
LayoutTests:

        Reviewed by Maciej.

        <rdar://problem/4886776>
        REGRESSION: After opening a web archive, location shows the actual URL, not the webarchive file

        * webarchive/loading/resources/helloworld.webarchive: Added.
        * webarchive/loading/test-loading-archive-expected.txt: Added.
        * webarchive/loading/test-loading-archive.html: Added.

WebCore:

        Reviewed by Maciej.

        <rdar://problem/4886776>
        REGRESSION: After opening a web archive, location shows the actual URL, not the webarchive file

        * WebCore.exp:
        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::continueLoadWithData):
        * loader/FrameLoader.h:
        New function which continues a load but using a given buffer instead.

WebKit:

        Reviewed by Maciej.

        <rdar://problem/4886776>
        REGRESSION: After opening a web archive, location shows the actual URL, not the webarchive file

        "Revert" the change done in 13734.

        * WebView/WebHTMLRepresentation.mm:
        (-[WebHTMLRepresentation loadArchive]):
        Don't do a new load here, as this would cancel the current load and call the resource load
        delegate's didFailLoadingWithError: method. Instead, call continueLoadWithData.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@19322 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/webarchive/loading/resources/helloworld.webarchive [new file with mode: 0644]
LayoutTests/webarchive/loading/test-loading-archive-expected.txt [new file with mode: 0644]
LayoutTests/webarchive/loading/test-loading-archive.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/WebCore.exp
WebCore/loader/FrameLoader.cpp
WebCore/loader/FrameLoader.h
WebKit/ChangeLog
WebKit/WebView/WebHTMLRepresentation.mm