Closed Bug 809318 Opened 12 years ago Closed 12 years ago

Intermittent test_sameOriginPolicy.html | an unexpected uncaught JS exception reported through window.onerror - ReferenceError: go is not defined

Categories

(Core :: XPConnect, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla19
Tracking Status
b2g18 --- fixed
b2g18-v1.0.1 --- fixed

People

(Reporter: philor, Unassigned)

References

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

This failure brought to you by the foolish way that the mochitest template encourages you to have an iframe whose onload you use to trigger your test, *before* the script where you define what the onload calls, which then fails intermittently because nobody ever promised you that an iframe will delay firing onload until after some later script is evaluated.

https://tbpl.mozilla.org/php/getParsedLog.php?id=16804862&tree=Mozilla-Inbound
Rev3 WINNT 5.1 mozilla-inbound opt test mochitest-4 on 2012-11-06 17:22:09 PST for push 8cdc4d86fc39
slave: talos-r3-xp-071

15568 INFO TEST-START | /tests/js/xpconnect/tests/mochitest/test_sameOriginPolicy.html
15569 ERROR TEST-UNEXPECTED-FAIL | /tests/js/xpconnect/tests/mochitest/test_sameOriginPolicy.html | an unexpected uncaught JS exception reported through window.onerror - ReferenceError: go is not defined at http://mochi.test:8888/tests/js/xpconnect/tests/mochitest/test_sameOriginPolicy.html:1
15570 ERROR TEST-UNEXPECTED-FAIL | /tests/js/xpconnect/tests/mochitest/test_sameOriginPolicy.html | Test timed out.
(screenshot that doesn't need to be looked at)
15571 INFO TEST-END | /tests/js/xpconnect/tests/mochitest/test_sameOriginPolicy.html | finished in 313279ms
Sorry philor. Let's fix the other test while we're at it.
Attachment #679193 - Flags: review?(philringnalda)
Comment on attachment 679193 [details] [diff] [review]
Fix flakey tests. v1

lgtm, thanks.
Attachment #679193 - Flags: review?(philringnalda) → review+
https://hg.mozilla.org/mozilla-central/rev/d6f15467b587
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
Whiteboard: [orange]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: