-
inferno@chromium.org authored
Reviewed by Eric Seidel. Add refptr for widget. Mutations can happen within the event handler. https://bugs.webkit.org/show_bug.cgi?id=56774 * src/WebPluginContainerImpl.cpp: (WebKit::WebPluginContainerImpl::handleEvent): 2011-03-23 Cris Neckar <cdn@chromium.org> Reviewed by Eric Seidel. Add refptr for widget. Mutations can happen within the event handler. https://bugs.webkit.org/show_bug.cgi?id=56774 Test: plugins/change-widget-and-click-crash.html * html/HTMLPlugInElement.cpp: (WebCore::HTMLPlugInElement::defaultEventHandler): 2011-03-23 Cris Neckar <cdn@chromium.org> Reviewed by Eric Seidel. Add test for crash when modifying a widget object within an event handler. https://bugs.webkit.org/show_bug.cgi?id=56774 * plugins/change-widget-and-click-crash-expected.txt: Added. * plugins/change-widget-and-click-crash.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81795 268f45cc-cd09-0410-ab3c-d52691b4dbfc
06554478