This test failed on qm-win2k3-moz2-01, it looks like the iframe is loading before the script after it gets evaluated. Probably a fix would be to move the script up above the iframe to ensure it's evaluated beforehand. This probably only shows up on VMs because of the timing involved.
Created attachment 330764 [details] [diff] [review] move the script block before the iframe Here's a simple patch, just moves the script tag up before the iframe. The test succeeds for me with this change, should get rid of that race condition as well.
Assignee: mozilla → ted.mielczarek
Status: NEW → ASSIGNED
Attachment #330764 - Flags: review?
Attachment #330764 - Flags: review? → review?(mozilla)
Pushed to mozilla-central: http://hg.mozilla.org/mozilla-central/index.cgi/rev/37f174b07950
Status: ASSIGNED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
Checked into CVS: Checking in toolkit/components/microformats/tests/test_Microformats_count.html; /cvsroot/mozilla/toolkit/components/microformats/tests/test_Microformats_count.h tml,v <-- test_Microformats_count.html new revision: 1.2; previous revision: 1.1 done
Bug 488233 might be similar
You need to log in before you can comment on or make changes to this bug.