Closed
Bug 1682943
Opened 5 years ago
Closed 5 years ago
Replace idl nsISimpleEnumerator usage with Array<T> in mailnews/compose
Categories
(MailNews Core :: General, task)
MailNews Core
General
Tracking
(thunderbird_esr78 wontfix)
RESOLVED
FIXED
86 Branch
| Tracking | Status | |
|---|---|---|
| thunderbird_esr78 | --- | wontfix |
People
(Reporter: benc, Assigned: benc)
References
(Blocks 1 open bug)
Details
Attachments
(2 files, 1 obsolete file)
|
10.38 KB,
patch
|
mkmelin
:
review+
|
Details | Diff | Splinter Review |
|
30.83 KB,
patch
|
benc
:
review+
|
Details | Diff | Splinter Review |
Replacing nsISimpleEnumerator with Array<> (where sensible!)
This covers:
mailnews/compose/public/nsIMsgCompFields.idl
mailnews/compose/public/nsISmtpService.idl
| Assignee | ||
Updated•5 years ago
|
Assignee: nobody → benc
| Assignee | ||
Comment 1•5 years ago
|
||
Attachment #9193781 -
Flags: review?(mkmelin+mozilla)
| Assignee | ||
Comment 2•5 years ago
|
||
Attachment #9193782 -
Flags: review?(mkmelin+mozilla)
| Assignee | ||
Comment 3•5 years ago
|
||
Those two are reasonably straightforward. The biggest (most annoying) changes are indentation.
https://treeherder.mozilla.org/jobs?repo=try-comm-central&revision=46d8f3ab36fca76ad9befcde9f3297f3a71030dd
Updated•5 years ago
|
Attachment #9193781 -
Flags: review?(mkmelin+mozilla) → review+
Comment 4•5 years ago
|
||
Comment on attachment 9193782 [details] [diff] [review]
1682943-remove-nsISimpleEnumerator-in-nsIMsgCompFields-1.patch
Review of attachment 9193782 [details] [diff] [review]:
-----------------------------------------------------------------
::: mail/components/compose/content/MsgComposeCommands.js
@@ +5857,3 @@
> *
> + * @param {nsIMsgAttachment[]} aAttachments - Objects to add as attachments.
> + * @param {function} aCallback - An optional callback function called after
Document that it's optional using brackets like this:
@param {function} [aCallback] -
@@ +5859,5 @@
> + * @param {function} aCallback - An optional callback function called after
> + * adding each attachment. Takes one argument: the newly-added
> + * <attachmentitem> node.
> + * @param {Boolean} aContentChanged - Optional value to assign gContentChanged
> + * after adding attachments; defaults to true.
And with a default value like this:
@param {Boolean} [aContentChanged=true]
Attachment #9193782 -
Flags: review?(mkmelin+mozilla) → review+
| Assignee | ||
Comment 5•5 years ago
|
||
Attachment #9193782 -
Attachment is obsolete: true
Attachment #9193805 -
Flags: review+
| Assignee | ||
Updated•5 years ago
|
Keywords: checkin-needed-tb
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/ebdbcdfcf130
Remove nsISimpleEnumerator use in nsISmtpService.idl. r=mkmelin
https://hg.mozilla.org/comm-central/rev/a871e4f02dac
Remove nsISimpleEnumerator use in nsIMsgCompFields.idl. r=mkmelin
Updated•5 years ago
|
status-thunderbird_esr78:
--- → wontfix
Target Milestone: --- → 86 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•