Remove race condition from test for bug 518104, bug 761872. r=bz

This commit is contained in:
Brian Hackett 2012-06-07 14:56:29 -07:00
parent d6785e1f71
commit 1e008ea514

View File

@ -12,13 +12,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=518104
<body>
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=518104">Mozilla Bug 518104</a>
<p id="display"></p>
<div id="content" style="display: none">
<iframe id='iframe' src="data:text/html,
<div></div><div></div>
<script defer src='data:application/javascript,document.write(%2522<p></p>%2522);parent.done();document.close();'></script>">
</iframe>
</div>
<pre id="test">
<script class="testbody" type="text/javascript">
/** Test for Bug 518104 **/
@ -32,6 +25,13 @@ function done() {
}
</script>
<div id="content" style="display: none">
<iframe id='iframe' src="data:text/html,
<div></div><div></div>
<script defer src='data:application/javascript,document.write(%2522<p></p>%2522);parent.done();document.close();'></script>">
</iframe>
</div>
<pre id="test">
</pre>
</body>
</html>