Skip to content
  • inferno@chromium.org's avatar
    2011-01-25 Cris Neckar <cdn@chromium.org> · 49aa540c
    inferno@chromium.org authored
            Reviewed by Adam Barth.
    
            Test for crash when a window's location changes before creating an object URL.
            https://bugs.webkit.org/show_bug.cgi?id=53038
    
            * fast/dom/window-domurl-crash-expected.txt: Added.
            * fast/dom/window-domurl-crash.html: Added.
    2011-01-25  Cris Neckar  <cdn@chromium.org>
    
            Reviewed by Adam Barth.
    
            Add a hashset of DOMURLs to ScriptExecutionContext to track back references.
            https://bugs.webkit.org/show_bug.cgi?id=53038
    
            Test: fast/dom/window-domurl-crash.html
    
            * dom/ScriptExecutionContext.cpp:
            (WebCore::ScriptExecutionContext::~ScriptExecutionContext):
            (WebCore::ScriptExecutionContext::createdDomUrl):
            (WebCore::ScriptExecutionContext::destroyedDomUrl):
            * dom/ScriptExecutionContext.h:
            (WebCore::ScriptExecutionContext::domUrls):
            * html/DOMURL.cpp:
            (WebCore::DOMURL::DOMURL):
            (WebCore::DOMURL::~DOMURL):
            (WebCore::DOMURL::contextDestroyed):
            * html/DOMURL.h:
            (WebCore::DOMURL::scriptExecutionContext):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76652 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    49aa540c