gecko/dom/jsurl/test/test_bug351633-1.html
Birunthan Mohanathas 546ce715f9 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

43 lines
948 B
HTML

<!DOCTYPE HTML>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=351633
-->
<head>
<title>Test for Bug 351633: Form submission</title>
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
</head>
<body>
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=351633">Mozilla Bug 351633</a>
<p id="display">
<iframe id="frame" src="form-submit.html"></iframe>
</p>
<div id="content" style="display: none">
</div>
<pre id="test">
<script class="testbody" type="text/javascript">
/** Test for Bug 351633 **/
var passJSUrl = false;
function finishTest() {
is(passJSUrl, true, "Unexpected result");
SimpleTest.finish();
}
SimpleTest.waitForExplicitFinish();
function runTest() {
$("frame").contentDocument.getElementById("test").submit();
}
addLoadEvent(runTest);
</script>
</pre>
</body>
</html>