LayoutTests:
Test case not reviewed but the patch was reviewed by Tim Omernick.
- test case for REGRESSION: crash when leaving youtube page while movie is still loading
http://bugzilla.opendarwin.org/show_bug.cgi?id=10398
* http/tests/plugins/interrupted-get-url.html: Added.
* http/tests/plugins/resources/interrupted-get-url-success.html: Added.
* http/tests/plugins/resources/slow-resource.pl: Added.
WebKit:
Reviewed by Tim Omernick.
- fixed REGRESSION: crash when leaving youtube page while movie is still loading
http://bugzilla.opendarwin.org/show_bug.cgi?id=10398
* Loader/WebNetscapePlugInStreamLoader.m:
(-[WebNetscapePlugInStreamLoader initWithStream:view:]): Set the frame loader for this stream.
(-[WebNetscapePlugInStreamLoader cancelWithError:]): Make sure to destroy the stream as well;
otherwise, when we try to clean up later, we won't have the right context.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15867
268f45cc-cd09-0410-ab3c-
d52691b4dbfc