Test for http://bugs.webkit.org/show_bug.cgi?id=13203: REGRESSION: Repro crash in -[WebBaseNetscapePluginView(WebNPPCallbacks) destroyStream:reason:] navigating away from page with DivX movie plug-in On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". destroyStream() returns zero to indicate success, or a non-zero error code to indicate failure PASS document.getElementById('plugin').hasStream is true PASS document.getElementById('plugin').destroyStream() is 2 PASS document.getElementById('plugin').destroyStream() is 2 PASS document.getElementById('plugin').destroyNullStream() is 2 PASS: You didn't crash. PASS successfullyParsed is true TEST COMPLETE