Mozilla/mozilla/content/base/test/test_bug326337.html
bzbarsky%mit.edu 2f524bf71f Fix the test: off-domain subframes can no longer change the location of a
non-toplevel parent frame, with the checkin for bug 408052.


git-svn-id: svn://10.0.0.236/trunk@244159 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-27 21:00:13 +00:00

37 lines
908 B
HTML

<!DOCTYPE HTML>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=326337
-->
<head>
<title>Test for Bug 326337</title>
<script type="text/javascript" src="/MochiKit/MochiKit.js"></script>
<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=326337">Mozilla Bug 326337</a>
<p id="display"></p>
<div id="content" style="display: none">
</div>
<pre id="test">
<script class="testbody" type="text/javascript">
/** Test for Bug 326337 **/
SimpleTest.waitForExplicitFinish();
var win = window.open("file_bug326337_outer.html", "", "width=10, height=10");
function finishTest(str) {
win.close();
is(str, "#done", "failed to run");
SimpleTest.finish();
}
</script>
</pre>
</body>
</html>