Closed
Bug 446346
Opened 16 years ago
Closed 16 years ago
test_Microformats_count.html can fail sporadically with "Error thrown during test: test_MicroformatsAPI is not defined - got 0, expected 1"
Categories
(Toolkit Graveyard :: Microformats, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ted, Assigned: ted)
References
()
Details
(Keywords: fixed1.9.0.2, intermittent-failure)
Attachments
(1 file)
1.51 KB,
patch
|
mkaply
:
review+
|
Details | Diff | Splinter Review |
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.
Assignee | ||
Comment 1•16 years ago
|
||
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 | ||
Updated•16 years ago
|
Attachment #330764 -
Flags: review? → review?(mozilla)
Updated•16 years ago
|
Attachment #330764 -
Flags: review?(mozilla) → review+
Assignee | ||
Comment 2•16 years ago
|
||
Pushed to mozilla-central: http://hg.mozilla.org/mozilla-central/index.cgi/rev/37f174b07950
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 3•16 years ago
|
||
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
Keywords: fixed1.9.0.2
Updated•15 years ago
|
Whiteboard: [orange]
Comment 4•15 years ago
|
||
Bug 488233 might be similar
Updated•12 years ago
|
Keywords: intermittent-failure
Updated•12 years ago
|
Whiteboard: [orange]
Updated•5 years ago
|
Product: Toolkit → Toolkit Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•