LayoutTests:
authormjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 7 Jul 2007 06:29:08 +0000 (06:29 +0000)
committermjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 7 Jul 2007 06:29:08 +0000 (06:29 +0000)
commit4d35552e4e8bf4b1110f0d73c6e84c4145a47ba8
treefa0330d2ca031ec93f275fc26f95013e420871c4
parent3ee12e09fb75f55889f2b23d28d288d3c55725b6
LayoutTests:

        Reviewed by Oliver.

        - test case for <rdar://problem/5133420> ASSERT in WebDocumentLoaderMac::decreaseLoadCount() un-discarding Gmail message

        * fast/loader/early-load-cancel-expected.txt: Added.
        * fast/loader/early-load-cancel.html: Added.
        * fast/loader/resources/early-load-cancel-inner.html: Added.

WebCore:

        Reviewed by Oliver.

        - fixed <rdar://problem/5133420> ASSERT in WebDocumentLoaderMac::decreaseLoadCount() un-discarding Gmail message

        test case: fast/loader/early-load-cancel.html

        * loader/ResourceLoader.cpp:
        (WebCore::ResourceLoader::didCancel): Don't send cancel-related client callbacks
        if we never even sent willSendRequest because we were deferred.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@24087 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/loader/early-load-cancel-expected.txt [new file with mode: 0644]
LayoutTests/fast/loader/early-load-cancel.html [new file with mode: 0644]
LayoutTests/fast/loader/resources/early-load-cancel-inner.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/loader/ResourceLoader.cpp