bug 446346 - test_Microformats_count.html can fail sporadically on VMs. r=mkaply

git-svn-id: svn://10.0.0.236/trunk@253638 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ted.mielczarek%gmail.com
2008-08-15 21:04:49 +00:00
parent d166c9b5bb
commit 0b2438ebb8

View File

@@ -83,18 +83,9 @@
</frame>
</frameset>
<!-- Geo Fire the test from here so we know this is loaded at the outset -->
<iframe src="geo.html" onload="test_MicroformatsAPI();">
</iframe>
<!-- adr -->
<div class="adr" id="01-extended-address">
<span class="extended-address">Park Bench</span>
</div>
<!-- Ok, the test, here we go -->
<pre id="test">
<!-- Put the test code before the iframe just to be
extra-sure it's been evaluated before the iframe onload fires -->
<script class="testbody" type="text/javascript">
// Called from the onload of the iframe
function test_MicroformatsAPI() {
// I'm going to try to do this without getting XPConnect priv's, make sure
@@ -151,5 +142,15 @@
is(count, 1, "One hCard");
}
</script>
<!-- Geo Fire the test from here so we know this is loaded at the outset -->
<iframe src="geo.html" onload="test_MicroformatsAPI();">
</iframe>
<!-- adr -->
<div class="adr" id="01-extended-address">
<span class="extended-address">Park Bench</span>
</div>
</body>
</html>