Skip to content
  • simonjam@chromium.org's avatar
    2011-09-15 James Simonsen <simonjam@chromium.org> · 0730df50
    simonjam@chromium.org authored
            Ref protect HTMLObjectElement and HTMLEmbedElement while requesting plugins
            https://bugs.webkit.org/show_bug.cgi?id=68014
    
            Reviewed by Adam Barth.
    
            * plugins/destroy-during-npp-new-object-with-fallback-content-expected.txt: Added.
            * plugins/destroy-during-npp-new-object-with-fallback-content.html: Added. Derivative of destroy-during-npp-new.html.
    2011-09-15  James Simonsen  <simonjam@chromium.org>
    
            Ref protect HTMLObjectElement and HTMLEmbedElement while requesting plugins
            https://bugs.webkit.org/show_bug.cgi?id=68014
    
            Reviewed by Adam Barth.
    
            Test: plugins/destroy-during-npp-new.html under valgrind
                  plugins/destroy-during-npp-new-object-with-fallback-content.html under valgrind
    
            * html/HTMLEmbedElement.cpp:
            (WebCore::HTMLEmbedElement::updateWidget):
            * html/HTMLObjectElement.cpp:
            (WebCore::HTMLObjectElement::updateWidget):
    2011-09-15  James Simonsen  <simonjam@chromium.org>
    
            Ref protect HTMLObjectElement and HTMLEmbedElement while requesting plugins
            https://bugs.webkit.org/show_bug.cgi?id=68014
    
            Reviewed by Adam Barth.
    
            * src/FrameLoaderClientImpl.cpp:
            (WebKit::FrameLoaderClientImpl::createPlugin): Moved protection up to HTMLObjectElement and HTMLEmbedElement.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95204 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    0730df50