• ggaren@apple.com's avatar
    WebCore: · 0a044ab5
    ggaren@apple.com authored
            Reviewed by David Harrison.
            
            Fixed <rdar://problem/5756125> REGRESSION: A crash occurs at 
            WebCore::Frame::scriptProxy() when completing a search with Package Tracker widget
    
            Test: fast/dom/script-element-without-frame-crash.html
    
            * html/HTMLTokenizer.cpp:
            (WebCore::HTMLTokenizer::parseTag): Added back a NULL check that was
            accidentally removed in r30325.
    
    LayoutTests:
    
            Reviewed by David Harrison.
            
            Test for <rdar://problem/5756125> REGRESSION: A crash occurs at
            WebCore::Frame::scriptProxy() when completing a search with Package Tracker widget
    
            * fast/dom/script-element-without-frame-crash-expected.txt: Added.
            * fast/dom/script-element-without-frame-crash.html: Added.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30458 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    0a044ab5
HTMLTokenizer.cpp 74.6 KB