Closed Bug 528946 Opened 15 years ago Closed 14 years ago

Intermittent failure of test_bug497665.html | [SimpleTest/SimpleTest.js, window.onerror] An error occurred - checkFirst is not defined at http://localhost:8888/tests/modules/libpr0n/test/mochitest/test_bug497665.html:1

Categories

(Core :: Graphics: ImageLib, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla2.0b8

People

(Reporter: ehsan.akhgari, Assigned: joe)

References

()

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

http://tinderbox.mozilla.org/showlog.cgi?log=Firefox-Unittest/1258382936.1258384327.14956.gz#err0
22 INFO Running /tests/modules/libpr0n/test/mochitest/test_bug497665.html...
23 ERROR TEST-UNEXPECTED-FAIL | /tests/modules/libpr0n/test/mochitest/test_bug497665.html | [SimpleTest/SimpleTest.js, window.onerror] An error occurred - checkFirst is not defined at http://localhost:8888/tests/modules/libpr0n/test/mochitest/test_bug497665.html:1
24 ERROR TEST-UNEXPECTED-FAIL | /tests/modules/libpr0n/test/mochitest/test_bug497665.html | Test timed out.
Whiteboard: [orange]
This is intermittent because the first Mochitest-5 run of http://hg.mozilla.org/mozilla-central/rev/45b482e31486 failed with this and the second run did not.
My check-in just removed unused code on tire1 platforms. So, it shouldn't cause...
Because an iframe and the rest of the elements on a page race, it's possible that the onload of the iframe would fire before the script that followed the iframe on the main page finished loading. So define the relevant functions above the iframe, and move the globals into the functions so that we're sure that they exist when we evaluate them.
Assignee: nobody → joe
checkin-needed needs review first...
Keywords: checkin-needed
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox3.6/1264158154.1264162465.24010.gz
Linux mozilla-1.9.2 test mochitests on 2010/01/22 03:02:34
s: moz2-linux-slave19
http://hg.mozilla.org/mozilla-central/rev/8a5f16022cbd
Status: NEW → RESOLVED
Closed: 14 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b8
Whiteboard: [orange]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: