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)
Thunderbird
Instant Messaging
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)
2.32 KB,
patch
|
florian
:
review+
|
Details | Diff | Splinter Review |
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?
Comment 1•10 years ago
|
||
I don't understand how we can have a messageManager-less browser. Mike?
Flags: needinfo?(mconley)
Assignee | ||
Updated•10 years ago
|
Keywords: regression
Assignee | ||
Comment 2•10 years ago
|
||
Need to rebuild to test, but this would be my guess.
Assignee | ||
Comment 3•10 years ago
|
||
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
Assignee | ||
Updated•10 years ago
|
Attachment #8592942 -
Flags: review?(florian)
Comment 5•10 years ago
|
||
Comment on attachment 8592942 [details] [diff] [review]
bug1154799_messageManager_undefined.patch
Thanks!
Attachment #8592942 -
Flags: review?(florian) → review+
Comment 6•10 years ago
|
||
You might also want this bit:
http://hg.mozilla.org/mozilla-central/rev/c4950a780504#l2.31
Assignee | ||
Comment 7•10 years ago
|
||
Add the contentWindowAsCPOW property too.
Attachment #8592942 -
Attachment is obsolete: true
Attachment #8593770 -
Flags: review?(florian)
Comment 8•10 years ago
|
||
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+
Comment 9•10 years ago
|
||
(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.
Assignee | ||
Comment 10•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 40.0
Comment 11•10 years ago
|
||
(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?
Comment 12•10 years ago
|
||
(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.
Description
•