Closed
Bug 1314450
Opened 9 years ago
Closed 9 years ago
this._updateAutoScrollEnabled is not a function error when tearing off
Categories
(Instantbird Graveyard :: Conversation, defect)
Instantbird Graveyard
Conversation
Tracking
(Not tracked)
RESOLVED
FIXED
Instantbird 52
People
(Reporter: florian, Assigned: aleth)
Details
(Whiteboard: [1.6-blocking])
Attachments
(1 file)
|
3.17 KB,
patch
|
florian
:
review+
|
Details | Diff | Splinter Review |
TypeError: this._updateAutoScrollEnabled is not a function
autoScrollEnabled chrome://chat/content/convbrowser.xml:347:47
bound autoScrollEnabled self-hosted
handleLastMessage chrome://instantbird/content/instantbird.xul:124:9
If the conversation was the last tab of the window, the window fails to close.
The problem is the 2 bound functions at http://searchfox.org/comm-central/source/chat/content/convbrowser.xml#916
this.contentWindow.scrollToElement = this._scrollToElement.bind(this);
this.contentWindow.autoScrollEnabled = this.autoScrollEnabled.bind(this);
These should be updated when swapping the docshells.
| Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8806931 -
Flags: review?(florian)
| Assignee | ||
Updated•9 years ago
|
Assignee: nobody → aleth
Status: NEW → ASSIGNED
| Reporter | ||
Comment 2•9 years ago
|
||
Comment on attachment 8806931 [details] [diff] [review]
Update methods exposed to content when swapping docshells
Review of attachment 8806931 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks! The code change looks good, I assume you verified it has the intended effect.
Attachment #8806931 -
Flags: review?(florian) → review+
| Assignee | ||
Comment 3•9 years ago
|
||
https://hg.mozilla.org/comm-central/rev/dd56104d2a03835869611acc5837e5f74cfeb5fd
Bug 1314450 - Update methods exposed to content when swapping docshells. r=florian
| Assignee | ||
Updated•9 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Instantbird 52
You need to log in
before you can comment on or make changes to this bug.
Description
•