WebCore:
2009-03-03 Anders Carlsson <andersca@apple.com>
Reviewed by John Sullivan.
https://bugs.webkit.org/show_bug.cgi?id=22884
<rdar://problem/
6449783>
modified layout test crashes Safari
Null check NPStream before dereferencing it.
* plugins/PluginView.cpp:
(WebCore::PluginView::destroyStream):
WebKitTools:
2009-03-03 Anders Carlsson <andersca@apple.com>
Reviewed by John Sullivan.
https://bugs.webkit.org/show_bug.cgi?id=22884
<rdar://problem/
6449783>
modified layout test crashes Safari
Add destroyNullStream test function to the test plug-in.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
(destroyNullStream):
(pluginInvoke):
LayoutTests:
2009-03-03 Anders Carlsson <andersca@apple.com>
Reviewed by John Sullivan.
https://bugs.webkit.org/show_bug.cgi?id=22884
<rdar://problem/
6449783>
modified layout test crashes Safari
Update tests.
* plugins/destroy-stream-twice-expected.txt:
* plugins/destroy-stream-twice.html:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@41414
268f45cc-cd09-0410-ab3c-
d52691b4dbfc