mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
1a98f8b051
--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
41 lines
897 B
HTML
41 lines
897 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<!--
|
|
https://bugzilla.mozilla.org/show_bug.cgi?id=351633
|
|
-->
|
|
<head>
|
|
<title>Test for Bug 351633</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 name="x" id="x"></iframe>
|
|
</p>
|
|
<div id="content" style="display: none">
|
|
|
|
</div>
|
|
<pre id="test">
|
|
<script class="testbody" type="text/javascript">
|
|
|
|
/** Test for Bug 351633 **/
|
|
|
|
var str;
|
|
str = "a";
|
|
window.x.location.href =
|
|
"javascript: parent.str += 'c'; void(parent.finishTest());"
|
|
str += "b";
|
|
|
|
SimpleTest.waitForExplicitFinish();
|
|
|
|
function finishTest() {
|
|
is (str, "abc", "Unexpected ordering");
|
|
SimpleTest.finish();
|
|
}
|
|
</script>
|
|
</pre>
|
|
</body>
|
|
</html>
|
|
|