diff options
Diffstat (limited to 'dom/browser-element/mochitest/file_post_request.html')
-rw-r--r-- | dom/browser-element/mochitest/file_post_request.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dom/browser-element/mochitest/file_post_request.html b/dom/browser-element/mochitest/file_post_request.html new file mode 100644 index 000000000..773193067 --- /dev/null +++ b/dom/browser-element/mochitest/file_post_request.html @@ -0,0 +1,15 @@ +<html> +<head> + <script> + addEventListener('load', function() { + document.getElementsByTagName('form')[0].submit(); + }); + </script> +</head> +<body> + <form action="file_empty.html" method="POST"> + <input type="text" name="postvalue" value="I am a test string!!" /> + <input type="submit" /> + </form> +</body> +</html> |