Closed Bug 1154799 Opened 10 years ago Closed 10 years ago

"this._browser.messageManager is undefined" error just by starting Thunderbird

Categories

(Thunderbird :: Instant Messaging, defect)

defect
Not set
normal

Tracking

(firefox40 affected)

RESOLVED FIXED
Thunderbird 40.0
Tracking Status
firefox40 --- affected

People

(Reporter: aceman, Assigned: mkmelin)

References

Details

(Keywords: regression)

Attachments

(1 file, 1 obsolete file)

I started to see this error recently: Error: TypeError: this._browser.messageManager is undefined Source File: chrome://global/content/bindings/findbar.xml Line: 272 It shows just by starting Thunderbird. Other than that I see no ill effects and also the findbar in compose window seems to work. Possible cause is bug 1133981. Does this reference to "this._browser.messageManager" also need a guard whether this._browser.messageManager actually exists? Like the other occurrences do?
I don't understand how we can have a messageManager-less browser. Mike?
Flags: needinfo?(mconley)
Keywords: regression
Need to rebuild to test, but this would be my guess.
Seems to work.
Assignee: nobody → mkmelin+mozilla
Status: NEW → ASSIGNED
Component: Find Toolbar → Instant Messaging
Flags: needinfo?(mconley)
OS: Linux → All
Product: Toolkit → Thunderbird
Hardware: x86 → All
Attachment #8592942 - Flags: review?(florian)
Comment on attachment 8592942 [details] [diff] [review] bug1154799_messageManager_undefined.patch Thanks!
Attachment #8592942 - Flags: review?(florian) → review+
Add the contentWindowAsCPOW property too.
Attachment #8592942 - Attachment is obsolete: true
Attachment #8593770 - Flags: review?(florian)
Comment on attachment 8593770 [details] [diff] [review] bug1154799_messageManager_undefined.patch I don't see any current usage for contentWindowAsCPOW (except maybe in toolkit/components/printing/, but I don't think we support printing IM conversations), but it won't hurt and can hopefully avoid future bustages if it gets used more widely.
Attachment #8593770 - Flags: review?(florian) → review+
(In reply to :Gijs Kruitbosch from comment #1) > I don't understand how we can have a messageManager-less browser. Mike? Looks like convbrowser.xml implements its own browser binding that does not have messageManager.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 40.0
(In reply to Mike Conley (:mconley) - Needinfo me! from comment #9) > (In reply to :Gijs Kruitbosch from comment #1) > > I don't understand how we can have a messageManager-less browser. Mike? > > Looks like convbrowser.xml implements its own browser binding that does not > have messageManager. Can't convbrowser.xml inherit/extends browser.xml?
(In reply to Philip Chee from comment #11) > Can't convbrowser.xml inherit/extends browser.xml? Maybe. We actually wondered the same thing in #instantbird a few days ago. This fork was made 8 years ago, I don't remember the reason for it unfortunately.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: