Closed
Bug 586804
Opened 14 years ago
Closed 14 years ago
Infinite loop on shutdown via Tester_observe
Categories
(Testing :: Mochitest, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: roc, Assigned: roc)
Details
Attachments
(1 file)
1.27 KB,
patch
|
rcampbell
:
review+
|
Details | Diff | Splinter Review |
Somehow we get into a situation where during shutdown, there's a console error message reported to nsIConsoleListeners and in browser-test.js, Tester_observe is called with its scope torn down. This triggers the "ASSERTION: XPConnect is being called on a scope without a 'Components' property!", but more importantly, the call to "new testMessage" throws a JS exception: "ReferenceError: testMessage is not defined". This JS exception is reported to the console listeners ... infinite loop.
Assignee | ||
Comment 1•14 years ago
|
||
We need to swallow exceptions here. Nothing good can happen if we let them escape to XPCOM and be reported.
Attachment #465422 -
Flags: review?(rcampbell)
Comment 2•14 years ago
|
||
Comment on attachment 465422 [details] [diff] [review] fix acceptable
Attachment #465422 -
Flags: review?(rcampbell) → review+
Updated•14 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•14 years ago
|
Keywords: checkin-needed
Whiteboard: [needs landing]
Assignee | ||
Comment 3•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/6db5378923fb
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Whiteboard: [needs landing]
Updated•6 years ago
|
Component: BrowserTest → Mochitest
You need to log in
before you can comment on or make changes to this bug.
Description
•