-
ggaren authored
Reviewed by Beth Dakin. Layout test for <rdar://problem/5091330> REGRESSION: Repro crash in -[WebBaseNetscapePluginView(WebNPPCallbacks) destroyStream:reason:] navigating away from page with DivX movie plug-in (13203) * plugins/destroy-stream-twice-expected.txt: Added. * plugins/destroy-stream-twice.html: Added. WebKit: Reviewed by Beth Dakin, reviewed by Maciej Stachowiak. Layout test for <rdar://problem/5091330> REGRESSION: Repro crash in -[WebBaseNetscapePluginView(WebNPPCallbacks) destroyStream:reason:] navigating away from page with DivX movie plug-in (13203) Changed LOG_ERROR to LOG so the layout test doesn't produce console spew every time you run it. * Plugins/WebBaseNetscapePluginView.mm: (-[WebBaseNetscapePluginView destroyStream:reason:]): WebKitTools: Reviewed by Beth Dakin. Layout test for <rdar://problem/5091330> REGRESSION: Repro crash in -[WebBaseNetscapePluginView(WebNPPCallbacks) destroyStream:reason:] navigating away from page with DivX movie plug-in (13203) Added hasStream property and destroyStream function, used by layout test. * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: (pluginGetProperty): (pluginInvoke): (pluginAllocate): * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: (NPP_NewStream): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20597 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2663f9a7