mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 09:18:42 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
14
dom/html/test/forms/submit_invalid_file.sjs
Normal file
14
dom/html/test/forms/submit_invalid_file.sjs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
function handleRequest(request, response)
|
||||
{
|
||||
response.setStatusLine(request.httpVersion, 200, "Ok");
|
||||
response.setHeader("Content-Type", "text/html");
|
||||
response.setHeader("Cache-Control", "no-cache");
|
||||
|
||||
var result = {};
|
||||
request.bodyInputStream.search("testfile", true, result, {});
|
||||
if (result.value) {
|
||||
response.write("SUCCESS");
|
||||
} else {
|
||||
response.write("FAIL");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue