Closed Bug 761688 Opened 13 years ago Closed 13 years ago

JS error at shutdown when calling nsIControllers.removeController from convbrowser.xml

Categories

(Thunderbird :: Instant Messaging, defect)

defect
Not set
trivial

Tracking

(thunderbird15 fixed)

RESOLVED FIXED
Thunderbird 16.0
Tracking Status
thunderbird15 --- fixed

People

(Reporter: florian, Assigned: florian)

References

Details

Attachments

(1 file)

Attached patch PatchSplinter Review
We have this JS error when closing Thunderbird if no conversation log has been displayed. JavaScript error: , line 0: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIControllers.removeController]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://chat/content/convbrowser.xml :: destroy :: line 243" data: no] The cause is that the controller is only added when the document of the conversation is loaded; which never happens if the convbrowser used to display logs is never used.
Attachment #630211 - Flags: review?(clokep)
Comment on attachment 630211 [details] [diff] [review] Patch Review of attachment 630211 [details] [diff] [review]: ----------------------------------------------------------------- This change looks good.
Attachment #630211 - Flags: review?(clokep) → review+
Blocks: 738778
Assignee: nobody → florian
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 16.0
Comment on attachment 630211 [details] [diff] [review] Patch [Approval Request Comment] I would like to take this cleanup patch on aurora for Tb15, but it's not strictly required as nothing is visibly broken.
Attachment #630211 - Flags: approval-comm-aurora?
Attachment #630211 - Flags: approval-comm-aurora? → approval-comm-aurora+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: