Skip to content
  • weinig@apple.com's avatar
    WebCore: · 32e92c57
    weinig@apple.com authored
    2008-11-28  Sam Weinig  <sam@webkit.org>
    
            Reviewed by Alexey Proskuryakov.
    
            Fix for https://bugs.webkit.org/show_bug.cgi?id=21063
            NULL pointer crash in dispatchEvent(null);
    
            Test: fast/events/dispatchEvent-crash.html
    
            * dom/MessagePort.cpp:
            (WebCore::MessagePort::dispatchEvent):
            * dom/Worker.cpp:
            (WebCore::Worker::dispatchEvent):
            * dom/WorkerContext.cpp:
            (WebCore::WorkerContext::dispatchEvent):
            * loader/appcache/DOMApplicationCache.cpp:
            (WebCore::DOMApplicationCache::dispatchEvent):
            * xml/XMLHttpRequest.cpp:
            (WebCore::XMLHttpRequest::dispatchEvent):
            * xml/XMLHttpRequestUpload.cpp:
            (WebCore::XMLHttpRequestUpload::dispatchEvent):
    
    LayoutTests:
    
    2008-11-28  Sam Weinig  <sam@webkit.org>
    
            Reviewed by Alexey Proskuryakov.
    
            Test for https://bugs.webkit.org/show_bug.cgi?id=21063
            NULL pointer crash in dispatchEvent(null);
    
            * fast/events/dispatchEvent-crash-expected.txt: Added.
            * fast/events/dispatchEvent-crash.html: Added.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38845 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    32e92c57