Remove Services.jsm consumers in comm-central/suite
Categories
(SeaMonkey :: General, task)
Tracking
(Not tracked)
People
(Reporter: arai, Assigned: ewong)
References
Details
Attachments
(7 files, 10 obsolete files)
2.67 KB,
patch
|
iannbugzilla
:
review+
|
Details | Diff | Splinter Review |
3.56 KB,
patch
|
iannbugzilla
:
review+
|
Details | Diff | Splinter Review |
34.91 KB,
patch
|
iannbugzilla
:
review+
|
Details | Diff | Splinter Review |
1.34 KB,
patch
|
iannbugzilla
:
review+
|
Details | Diff | Splinter Review |
2.39 KB,
patch
|
iannbugzilla
:
review+
|
Details | Diff | Splinter Review |
4.29 KB,
patch
|
iannbugzilla
:
review+
|
Details | Diff | Splinter Review |
12.59 KB,
patch
|
iannbugzilla
:
review+
|
Details | Diff | Splinter Review |
Services.jsm is going to be removed shortly.
comm-central/suite contains references, and those needs to be removed.
https://searchfox.org/comm-central/search?q=%2FServices.jsm&path=suite%2F&case=false®exp=false
In most case, simply removing the statement should solve, given Services
global variable is available in all privileged global from 104 (bug 1667455).
Assignee | ||
Updated•10 months ago
|
Assignee | ||
Comment 1•10 months ago
|
||
First patch in 5 (?) years... requesting feedback on whether my approach is
currently on track.
Assignee | ||
Comment 2•10 months ago
|
||
WIP patch #2 for review.
Updated•10 months ago
|
Comment 3•10 months ago
|
||
Comment on attachment 9342667 [details] [diff] [review]
wip1.patch
ewong looks like the patch was done against 2.53 not comm-central. 2.53 is not affected and in the current state does not apply to central.
Assignee | ||
Comment 4•10 months ago
|
||
It helps that I'm using the right branch. Previous patch was on 2.53.
This is for suite/modules.
Assignee | ||
Comment 5•10 months ago
|
||
suite/mailnews part.
Assignee | ||
Comment 6•10 months ago
|
||
suite/extentions + suite/editor part
Assignee | ||
Comment 7•10 months ago
|
||
suite/chatzilla part
Assignee | ||
Comment 8•10 months ago
|
||
suite/components part
Assignee | ||
Comment 9•10 months ago
|
||
suite/browser part
Assignee | ||
Comment 10•10 months ago
|
||
suite/base part
Comment hidden (off-topic) |
Assignee | ||
Comment 12•10 months ago
|
||
updated patch with description + Username info.
Assignee | ||
Comment 13•10 months ago
|
||
[suite/browser]
updated patch with description + Username info.
Assignee | ||
Comment 14•10 months ago
|
||
suite/components
updated patch with description + Username info.
Assignee | ||
Comment 15•10 months ago
|
||
chatzilla
updated patch with description + Username info.
Assignee | ||
Comment 16•10 months ago
|
||
editor + extensions
updated patch with description + Username info.
Assignee | ||
Comment 17•10 months ago
|
||
suite/mailnews
updated patch with description + Username info.
Assignee | ||
Comment 18•10 months ago
|
||
suite/modules
updated patch with description + Username info.
Reporter | ||
Comment 19•10 months ago
|
||
Comment on attachment 9343671 [details] [diff] [review] bug_1841845_mailnews.diff Review of attachment 9343671 [details] [diff] [review]: ----------------------------------------------------------------- ::: suite/mailnews/content/mailWidgets.xml @@ -1076,4 @@ > var { MailServices } = ChromeUtils.import( > "resource:///modules/MailServices.jsm" > ); > - ChromeUtils.import("resource://gre/modules/Services.jsm", this); `ChromeUtils.import` consumers in this file uses the 2nd parameter to import the module into `this` object, and uses `this.Services` style to access it. https://searchfox.org/comm-central/rev/6fb5895249a6f1abef7471b55198813abb3b34ff/suite/mailnews/content/mailWidgets.xml#994 ``` this.Services.strings.createBundle( ``` Those consumers also need to be updated to use `Services` global variable instead.
Assignee | ||
Comment 20•10 months ago
|
||
Thanks to @arai for the nit. Updated the mailnews patch.
Comment 21•9 months ago
|
||
Pushed by frgrahl@gmx.net:
https://hg.mozilla.org/comm-central/rev/9f2df07917b5
Remove Services.jsm consumers in c-c/suite - base. r=IanN
https://hg.mozilla.org/comm-central/rev/bdcdb34c8dee
Remove Services.jsm consumers in c-c/suite - browser. r=IanN
https://hg.mozilla.org/comm-central/rev/6755b0e5c044
Remove Services.jsm consumers in c-c/suite - components. r=IanN
https://hg.mozilla.org/comm-central/rev/db4628285a31
Remove Services.jsm consumers in c-c/suite - chatzilla. r=IanN
https://hg.mozilla.org/comm-central/rev/a994a09bd38c
Remove Services.jsm consumers in c-c/suite - editor/extensions. r=IanN
https://hg.mozilla.org/comm-central/rev/899e313586fb
Remove Services.jsm consumers in c-c/suite - modules. r=IanN
https://hg.mozilla.org/comm-central/rev/82cc162e6567
Remove Services.jsm consumers in c-c/suite - mailnews. r=IanN
Comment 22•9 months ago
|
||
Sorry took me awhile to check this in. Was a bit busy with the 2.53.17 release and personal stuff.
Description
•