Reviewed by Maciej.
authorandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 14 Jul 2007 01:49:06 +0000 (01:49 +0000)
committerandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 14 Jul 2007 01:49:06 +0000 (01:49 +0000)
commit6afaba2c672696168da4dfce1b7f6237ad2c2323
tree748a6a7210092744f8599e9cb19b0e4e41ed4712
parent442f343fee0028391aad9c04ab37ebdbc6c78218
    Reviewed by Maciej.

        <rdar://problem/5290103> Assert failure when loading page with multipart resource

        Don't try to call the delegate method if the resource object doesn't exist in the
        identifier map. When a multipart resource has finished loading one part, it is removed from the
        web view identifier map.

        This is not an ideal fix, a better fix would be to special-case multipart resources and not remove
        them when the first part has finished loading. I've filed <rdar://problem/5335034> to track doing that.

        * WebCoreSupport/WebFrameLoaderClient.mm:
        (WebFrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
        (WebFrameLoaderClient::dispatchDidCancelAuthenticationChallenge):
        (WebFrameLoaderClient::dispatchDidReceiveResponse):
        (WebFrameLoaderClient::willCacheResponse):
        (WebFrameLoaderClient::dispatchDidReceiveContentLength):
        (WebFrameLoaderClient::dispatchDidFinishLoading):
        (WebFrameLoaderClient::dispatchDidFailLoading):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@24281 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/ChangeLog
WebKit/WebCoreSupport/WebFrameLoaderClient.mm