Reviewed by Brady.
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 17 Sep 2006 20:18:46 +0000 (20:18 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 17 Sep 2006 20:18:46 +0000 (20:18 +0000)
commitde98651254d7c6dbb0ecb88b92cea5a0163c5bb1
tree4e72ac6e4b6a919b8a8fa04b3c7d90c3a3f5427c
parent7499cb20b552ee912b73234713eb28d84d142330
    Reviewed by Brady.

        http://bugzilla.opendarwin.org/show_bug.cgi?id=10852
        REGRESSION: Reproducible crash in XMLHttpRequest::abort()

        Test: http/tests/xmlhttprequest/xhr-onunload.html

        * xml/xmlhttprequest.cpp:
        (WebCore::XMLHttpRequest::send): Check the return value of ResourceLoader::start().

        * loader/icon/IconLoader.cpp:
        (IconLoader::startLoading): Fix a similar latent bug here.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16408 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/xmlhttprequest/xhr-onunload-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/xmlhttprequest/xhr-onunload.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/loader/icon/IconLoader.cpp
WebCore/xml/xmlhttprequest.cpp