Closed
Bug 1460754
Opened 6 years ago
Closed 6 years ago
in c-c, use constants from interfaces instead of hardcoding them in JS where possible
Categories
(MailNews Core :: Backend, enhancement)
MailNews Core
Backend
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 62.0
People
(Reporter: aceman, Assigned: aceman)
Details
Attachments
(1 file)
7.09 KB,
patch
|
jorgk-bmo
:
review+
|
Details | Diff | Splinter Review |
There are some hard-coded constants throughout c-c for which named constants exist, which could be used instead.
Summary: use constants from interfaces instead of hardcoding them where possible → in c-c, use constants from interfaces instead of hardcoding them in JS where possible
I have found some of these. Try run: https://treeherder.mozilla.org/#/jobs?repo=try-comm-central& revision=8dd741b06783f4b3e9ebf438e29cbd1b6126a561
Comment on attachment 8974857 [details] [diff] [review] 1460754.patch Review of attachment 8974857 [details] [diff] [review]: ----------------------------------------------------------------- I'm not sure why I didn't request review at the submit of the patch...
Attachment #8974857 -
Flags: review?(jorgk)
Comment 3•6 years ago
|
||
Comment on attachment 8974857 [details] [diff] [review] 1460754.patch Review of attachment 8974857 [details] [diff] [review]: ----------------------------------------------------------------- Thanks, something to land ;-) ::: mailnews/extensions/mdn/test/unit/test_askuser.js @@ -1,2 @@ > -var gMessenger = Cc["@mozilla.org/messenger;1"]. > - createInstance(Ci.nsIMessenger); Not used? I can't see it from the context.
Attachment #8974857 -
Flags: review?(jorgk) → review+
Comment 5•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=8dd741b06783f4b3e9ebf438e29cbd1b6126a561
Keywords: checkin-needed
Comment 6•6 years ago
|
||
Looks like the "form History Control" add-on played a trick on me and pasted that comment :-(
Pushed by mozilla@jorgk.com: https://hg.mozilla.org/comm-central/rev/c56baabedc99 use constants from interfaces instead of hardcoding them where possible. r=jorgk
Updated•6 years ago
|
Target Milestone: --- → Thunderbird 62.0
You need to log in
before you can comment on or make changes to this bug.
Description
•