Bug 568120 - Possible intermittent oranges in tests with iframe onload handlers pointing to functions defined later; r=sicking

--HG--
extra : rebase_source : 1f4fd2b78e396303cefbe42f0e4dcf602694ee01
This commit is contained in:
Ehsan Akhgari 2010-05-25 20:33:17 -04:00
parent 28ec17d596
commit 6c111ee4ae
4 changed files with 4 additions and 7 deletions

View File

@ -12,7 +12,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=546995
<body>
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=546995">Mozilla Bug 546995</a>
<p id="display"></p>
<iframe id="iframe" onload='onFrameLoad();'></iframe>
<div id='content'>
</div>
<pre id="test">
@ -48,5 +47,6 @@ function runTests()
</script>
</pre>
<iframe id="iframe" onload='onFrameLoad();'></iframe>
</body>
</html>

View File

@ -8,8 +8,6 @@
</head>
<body onload="onWindowLoad()">
<iframe name="frame1" src="https://bug413909.xn--hxajbheg2az3al.xn--jxalpdlp/" onload="onFrameLoad()"></iframe>
<script class="testbody" type="text/javascript">
var certOverrideService = Components.classes["@mozilla.org/security/certoverride;1"]
@ -135,5 +133,6 @@ function onWindowLoad()
}
</script>
<iframe name="frame1" src="https://bug413909.xn--hxajbheg2az3al.xn--jxalpdlp/" onload="onFrameLoad()"></iframe>
</body>
</html>

View File

@ -7,8 +7,6 @@
</head>
<body onload="onWindowLoad()">
<iframe src="https://www.bank1.com/" onload="onFrameLoad()"></iframe>
<script class="testbody" type="text/javascript">
SimpleTest.waitForExplicitFinish();
@ -84,5 +82,6 @@ function onWindowLoad()
</script>
<iframe src="https://www.bank1.com/" onload="onFrameLoad()"></iframe>
</body>
</html>

View File

@ -7,8 +7,6 @@
</head>
<body onload="onWindowLoad()">
<iframe src="https://www.bank2.com/" onload="onFrameLoad()"></iframe>
<script class="testbody" type="text/javascript">
SimpleTest.waitForExplicitFinish();
@ -68,5 +66,6 @@ function onWindowLoad()
</script>
<iframe src="https://www.bank2.com/" onload="onFrameLoad()"></iframe>
</body>
</html>