Closed
Bug 769588
Opened 13 years ago
Closed 13 years ago
Port bug 722872 - call the Init method after creating nsITransferable
Categories
(MailNews Core :: Address Book, defect)
MailNews Core
Address Book
Tracking
(thunderbird16+ fixed, thunderbird17 fixed)
RESOLVED
FIXED
Thunderbird 18.0
People
(Reporter: standard8, Assigned: standard8)
References
()
Details
Attachments
(1 file)
|
3.78 KB,
patch
|
Irving
:
review+
standard8
:
approval-comm-aurora+
standard8
:
approval-comm-beta+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #722872 +++
I have already done a minor port here to fix bustage:
http://hg.mozilla.org/comm-central/rev/4e4cd1fb04c3
We need to fix the rest of the instances in mailnews and mail
http://mxr.mozilla.org/comm-central/search?string=nsITransferable&find=mail&findi=&filter=^[^\0]*%24&hitlimit=&tree=comm-central
Should be reasonable simple to do, attachment 636714 [details] [diff] [review] has plenty of examples as well.
Comment 2•13 years ago
|
||
The argument to init() is the load context for the docshell to which the transferable belongs.
Updated•13 years ago
|
tracking-thunderbird16:
--- → ?
Comment 3•13 years ago
|
||
"Found 5 matching lines in 2 files"
| Assignee | ||
Updated•13 years ago
|
| Assignee | ||
Comment 4•13 years ago
|
||
Ok, so the best I can work out is that bug 722872 doesn't affect us in the release mode state, but it does affect us in debug.
Strictly speaking this probably therefore isn't required for 16, but I'd feel more comfortable having it in, as a) we won't get people building debug complaining about the assertions and b) if something did happen to change in a security release that really required the init, we'd be protected without having to do extra work.
| Assignee | ||
Comment 5•13 years ago
|
||
Oh, and this is basically porting the work directly from bug 722872 to the cases where we use it.
Updated•13 years ago
|
Attachment #666666 -
Flags: review?(irving) → review+
| Assignee | ||
Comment 6•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 18.0
| Assignee | ||
Comment 7•13 years ago
|
||
Comment on attachment 666666 [details] [diff] [review]
The fix
[Triage Comment]
Although this isn't super-necessary, I think we should take it anyway as it doesn't really affect us, but does protect us in case something weird gets added later.
Attachment #666666 -
Flags: approval-comm-beta+
Attachment #666666 -
Flags: approval-comm-aurora+
| Assignee | ||
Comment 8•13 years ago
|
||
Checked in:
https://hg.mozilla.org/releases/comm-aurora/rev/7e3eb66b87d4
https://hg.mozilla.org/releases/comm-beta/rev/b405050a39c2
status-thunderbird16:
--- → fixed
status-thunderbird17:
--- → fixed
Comment 9•13 years ago
|
||
Better late than never - I looked at the code, and yes, this looks like the right thing to do.
You need to log in
before you can comment on or make changes to this bug.
Description
•