Closed
Bug 1436961
Opened 7 years ago
Closed 7 years ago
Remove unused XPCOMUtils.jsm imports after bug 1431533 (from accessible/jsat/ files)
Categories
(Firefox :: General, enhancement, P3)
Firefox
General
Tracking
()
RESOLVED
FIXED
Firefox 60
Tracking | Status | |
---|---|---|
firefox60 | --- | fixed |
People
(Reporter: dao, Assigned: nabeel.ahsen)
References
Details
(Keywords: good-first-bug)
Attachments
(1 file)
2.72 KB,
patch
|
dao
:
review+
|
Details | Diff | Splinter Review |
Bug 1431533 replaced XPCOMUtils.defineLazyModuleGetter with ChromeUtils.defineModuleGetter but left behind unused XPCOMUtils.jsm imports, for instance:
https://hg.mozilla.org/mozilla-central/rev/e6a7b5e11ba856ee3535f76c6bcca17ea29e3d5f#l324.10
Updated•7 years ago
|
Priority: -- → P3
Assignee | ||
Comment 1•7 years ago
|
||
Hi there, I'm kind of new here. I'd like to work on this bug, would I be able to get some pointers to the right files?
Flags: needinfo?(dao+bmo)
Reporter | ||
Comment 2•7 years ago
|
||
(In reply to nabeel.ahsen from comment #1)
> Hi there, I'm kind of new here. I'd like to work on this bug, would I be
> able to get some pointers to the right files?
It's a bit of a hassle. Basically you need to look for any XPCOMUtils.jsm import:
https://searchfox.org/mozilla-central/search?q=XPCOMUtils.jsm&case=true&path=
Open any of these files and check if XPCOMUtils is used there. If it isn't, the XPCOMUtils.jsm import should probably be removed.
Since there are almost a thousand XPCOMUtils.jsm imports, you could also just focus on a subset of files. No need to fix them all at once.
Flags: needinfo?(dao+bmo)
Assignee | ||
Comment 3•7 years ago
|
||
Reporter | ||
Comment 4•7 years ago
|
||
Comment on attachment 8957958 [details] [diff] [review]
Removing unnecessary XPCOMUtils.jsm imports from accessible/jsat/ files
Looks good, thanks!
Attachment #8957958 -
Flags: review+
Pushed by dgottwald@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/a8f652436838
Remove obsolete XPCOMUtils.jsm imports in accessible/jsat/. r=dao
Reporter | ||
Updated•7 years ago
|
Keywords: leave-open
Comment 6•7 years ago
|
||
bugherder |
Updated•7 years ago
|
Keywords: good-first-bug
Comment 7•7 years ago
|
||
The rest of this is going to be fixed by bug 1478305 & friends by improving our ESLint support. Lets change the scope of this one and call it fixed as we did land a patch here.
Assignee: nobody → nabeel.ahsen
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Summary: Remove unused XPCOMUtils.jsm imports after bug 1431533 → Remove unused XPCOMUtils.jsm imports after bug 1431533 (from accessible/jsat/ files)
Target Milestone: --- → Firefox 60
Updated•7 years ago
|
Keywords: leave-open
You need to log in
before you can comment on or make changes to this bug.
Description
•