author | Lie Ryan <lie.1296@gmail.com> |
Tue, 11 Apr 2017 13:27:50 +0000 | |
changeset 357225 | ab66ad2abaa04612e81dd001b922b820d520abe7 |
parent 357224 | 97b04324897ed9699a2601d530e6cad429f62c5f |
child 357226 | 102c0159724cf8351742df1bb7d30c2172426d25 |
push id | 31788 |
push user | kwierso@gmail.com |
push date | Tue, 09 May 2017 20:48:49 +0000 |
treeherder | mozilla-central@2b6f6881a24a [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | bsmedberg |
bugs | 1352572 |
milestone | 55.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/dom/plugins/test/mochitest/test_streamNotify.html +++ b/dom/plugins/test/mochitest/test_streamNotify.html @@ -80,12 +80,21 @@ }, null, true), "streamTest GET data: URI"); ok(!p.streamTest("data:malformed?", false, null, null, function(r, t) { todo(false, "Shouldn't get callback for invalid data: URI"); }, 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"); } </script> <embed id="plugin1" type="application/x-test" width="400" height="400"></embed>