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

RESOLVED FIXED in mozilla19

Status

()

Core
XPConnect
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: philor, Unassigned)

Tracking

({intermittent-failure})

Trunk
mozilla19
intermittent-failure
Points:
---
Dependency tree / graph
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(b2g18 fixed, b2g18-v1.0.1 fixed)

Details

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
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
Created attachment 679193 [details] [diff] [review]
Fix flakey tests. v1

Sorry philor. Let's fix the other test while we're at it.
Attachment #679193 - Flags: review?(philringnalda)
(Reporter)

Comment 2

5 years ago
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
Last Resolved: 5 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
(Assignee)

Updated

5 years ago
Keywords: intermittent-failure
(Assignee)

Updated

5 years ago
Whiteboard: [orange]
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
You need to log in before you can comment on or make changes to this bug.