blob: 16b3ff34d05ffaffdfadea5f6e423fa412658def [file] [log] [blame]
This tests that NPP_DestroyStream is called with NPRES_NETWORK_ERR not called if a plug-in returns -1 its NPP_Write callback.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS plugin.returnNegativeOneFromWrite is true
PASS newStreamCalled is false
PASS newStreamCalled is true
PASS reason is 1
TEST COMPLETE