Clean up SeaMonkey module import and loading
Categories
(SeaMonkey :: General, enhancement)
Tracking
(seamonkey2.49esr unaffected, seamonkey2.53 fixed, seamonkey2.57esr fixed)
Tracking | Status | |
---|---|---|
seamonkey2.49esr | --- | unaffected |
seamonkey2.53 | --- | fixed |
seamonkey2.57esr | --- | fixed |
People
(Reporter: frg, Assigned: frg)
Details
(Whiteboard: SM2.53.1)
Attachments
(2 files)
15.54 KB,
patch
|
iannbugzilla
:
review+
iannbugzilla
:
approval-comm-esr60+
|
Details | Diff | Splinter Review |
37.68 KB,
patch
|
iannbugzilla
:
approval-comm-release+
|
Details | Diff | Splinter Review |
Bug 1434737 switched the imports to ChromeUtils.import or XPCOMUtils.defineLazyModuleGetters. Since then some inconstencies crept in. 2.53.1 also has not yet switched to XPCOMUtils.defineLazyModuleGetters making backports harder.
Lets clean up here and align 2.53 and up.
Assignee | ||
Comment 1•5 years ago
•
|
||
Minor cleanups and alignments with 2.53.
Assignee | ||
Comment 2•5 years ago
•
|
||
[Approval Request Comment]
Regression caused by (bug #): --
User impact if declined: SeaMonkey is 0.01% slower
Testing completed (on m-c, etc.): 2.53.1
Risk to taking this patch (and alternatives if risky): moderate. The XPCOMUtils removal might trigger errors in rare cases when modules are loaded via overlays. So far none found.
String changes made by this patch: --
PlacesUtils.jsm can always be loaded with ChromeUtils.import in 2.57 but not in 2.53 so there is some difference left in places code between the two releases. Will go away if/when we backport.
Incorporates the XPCOMUtils.defineLazyModuleGetters changes from various patches. Would have been too time consuming to untangle this.
Comment on attachment 9112689 [details] [diff] [review] 1600448-257.patch LGTM r/a=me
Comment on attachment 9112690 [details] [diff] [review] 1600448-253.patch [Triage Comment] LGTM a=me
Pushed by frgrahl@gmx.net:
https://hg.mozilla.org/comm-central/rev/8ef25eb8c092
Follow-up for Bug 1434737. Replace ChromeUtils.import() part 2 in suite. r=IanN
Assignee | ||
Comment 6•4 years ago
|
||
Patches for c-c and esr60 got some rebasing for check-in. Discussed via irc.
https://hg.mozilla.org/releases/comm-esr60/rev/f103e65e5a6e2a02fe1b8b1f3bd9df9d025e6ef8
Description
•