gecko/dom/jsurl/test/form-submit.html
Birunthan Mohanathas 248a7e6b13 Bug 1058101 - Move dom/src/jsurl/ into dom/. r=mccr8
--HG--
rename : dom/src/jsurl/crashtests/1018583.html => dom/jsurl/crashtests/1018583.html
rename : dom/src/jsurl/crashtests/341963-1.html => dom/jsurl/crashtests/341963-1.html
rename : dom/src/jsurl/crashtests/344874-1.html => dom/jsurl/crashtests/344874-1.html
rename : dom/src/jsurl/crashtests/344996-1.xhtml => dom/jsurl/crashtests/344996-1.xhtml
rename : dom/src/jsurl/crashtests/457050-1-inner.html => dom/jsurl/crashtests/457050-1-inner.html
rename : dom/src/jsurl/crashtests/457050-1.html => dom/jsurl/crashtests/457050-1.html
rename : dom/src/jsurl/crashtests/crashtests.list => dom/jsurl/crashtests/crashtests.list
rename : dom/src/jsurl/moz.build => dom/jsurl/moz.build
rename : dom/src/jsurl/nsJSProtocolHandler.cpp => dom/jsurl/nsJSProtocolHandler.cpp
rename : dom/src/jsurl/nsJSProtocolHandler.h => dom/jsurl/nsJSProtocolHandler.h
rename : dom/src/jsurl/test/fail.html => dom/jsurl/test/fail.html
rename : dom/src/jsurl/test/form-submit.html => dom/jsurl/test/form-submit.html
rename : dom/src/jsurl/test/load-stopping-1a.html => dom/jsurl/test/load-stopping-1a.html
rename : dom/src/jsurl/test/load-stopping-1b.html => dom/jsurl/test/load-stopping-1b.html
rename : dom/src/jsurl/test/load-stopping-1c.html => dom/jsurl/test/load-stopping-1c.html
rename : dom/src/jsurl/test/load-stopping-1d.html => dom/jsurl/test/load-stopping-1d.html
rename : dom/src/jsurl/test/mochitest.ini => dom/jsurl/test/mochitest.ini
rename : dom/src/jsurl/test/pass.html => dom/jsurl/test/pass.html
rename : dom/src/jsurl/test/test_bug351633-1.html => dom/jsurl/test/test_bug351633-1.html
rename : dom/src/jsurl/test/test_bug351633-2.html => dom/jsurl/test/test_bug351633-2.html
rename : dom/src/jsurl/test/test_bug351633-3.html => dom/jsurl/test/test_bug351633-3.html
rename : dom/src/jsurl/test/test_bug351633-4.html => dom/jsurl/test/test_bug351633-4.html
rename : dom/src/jsurl/test/test_bug384981.html => dom/jsurl/test/test_bug384981.html
2014-08-30 21:43:45 -07:00

15 lines
304 B
HTML

<!DOCTYPE html>
<head>
<script>
function test() {
var form = document.getElementById("test");
form.action = "pass.html";
form.submit();
}
</script>
<body>
<form id="test" action="javascript:test()">
<input type="submit" value="Submit the form; you should PASS when done">
</form>
</body>