diff --git a/dom/plugins/test/mochitest/test_streamNotify.html b/dom/plugins/test/mochitest/test_streamNotify.html index 6db407946cde..43e2fbc3e593 100644 --- a/dom/plugins/test/mochitest/test_streamNotify.html +++ b/dom/plugins/test/mochitest/test_streamNotify.html @@ -85,6 +85,15 @@ }, null, true), "streamTest GET bad data: URI"); ok(!p.postFileToURLTest("post.sjs"), "postFileToURLTest POST a file"); + + ok(!p.streamTest("post.sjs", true, "non-existent-file", + function(r, t) { + ok(false, "Shouldn't get write callback from file post"); + }, function(r, t) { + ok(false, "Shouldn't get notify callback from file post"); + }, function(r, t) { + ok(false, "Shouldn't get redirect callback from file post"); + }, true, true), "streamTest POST a file"); }