Open
Bug 658925
Opened 13 years ago
Updated 2 years ago
test_bug490949.html calls "SimpleTest.finish()" twice
Categories
(Core :: Graphics: ImageLib, defect)
Core
Graphics: ImageLib
Tracking
()
NEW
People
(Reporter: dholbert, Unassigned)
References
()
Details
Attachments
(1 file)
57.03 KB,
image/png
|
Details |
While writing a mochitest for another imagelib bug, I happened to notice that the mochitest modules/libpr0n/test/mochitest/test_bug490949.html triggers **two** calls to SimpleTest.finish(), resulting in two test-results printouts (with different numbers of successes reported). See attached screenshot. The finish() calls are ultimately triggered by the main method "checkLoad", which is called in two places: > <body onload="checkFirst()"> [...] > remoteCanvas.load(checkFirst); I don't know which of those we want to keep or remove (maybe we need both, but then the test needs tweaking to avoid duplicate finish calls...?) Reference to source: http://mxr.mozilla.org/mozilla-central/source/modules/libpr0n/test/mochitest/test_bug490949.html?force=1
Reporter | ||
Updated•13 years ago
|
OS: Linux → All
Hardware: x86_64 → All
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•