Closed
Bug 403180
Opened 17 years ago
Closed 17 years ago
test_378216.js is asserting, but after printing PASS (so the test passes)
Categories
(Toolkit :: Add-ons Manager, defect)
Tracking
()
RESOLVED
FIXED
mozilla1.9beta2
People
(Reporter: Waldo, Assigned: Waldo)
References
Details
(Keywords: assertion)
Attachments
(1 file)
1.35 KB,
patch
|
mossop
:
review+
|
Details | Diff | Splinter Review |
Our success condition for a test passing is that "PASS" is in its output, but if a test passes and then asserts, it should fail. (There's a bug on file, Core:Testing somewhere.) This test looks like it's being bitten by this problem; I haven't investigated to see exactly what's wrong with it.
Comment 1•17 years ago
|
||
Bug 368573, "Need a way to run tests (mochikit/reftest) that display as failed when assertion failures are encountered"? Can you paste the assertion message in a comment here?
Updated•17 years ago
|
Component: Extension Compatibility → Extension/Theme Manager
QA Contact: extension.compatibility → extension.manager
Assignee | ||
Comment 2•17 years ago
|
||
This is one of the xpcshell tests, not a reftest/Mochitest; it's bug 353010. The assertion is the generic "XPConnect called on scope without Components property", so some callback dance isn't being done correctly.
Assignee | ||
Comment 3•17 years ago
|
||
A look at the stack of the assertion showed it happened in IO thread shutdown; a quick glance at the test showed it starts an HTTP server but never stops it, which causes the assertion. I added a note to the HTTP server docs page on MDC mentioning that shutting down the server is mandatory, which hopefully might prevent this from happening as much in the future.
Comment 4•17 years ago
|
||
Comment on attachment 289000 [details] [diff] [review] Shut down the server before ending testing Oops, thanks for catching that. r=me
Attachment #289000 -
Flags: review?(dtownsend) → review+
Assignee | ||
Comment 5•17 years ago
|
||
Checked in (and I suppose in-testsuite+ since the testcase is fixed now).
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3 M10
Updated•16 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•