Closed
Bug 1325373
Opened 8 years ago
Closed 7 years ago
Handle the [...].forEach((...) => XPCOMUtils.defineLazyModuleGetter(...)) form of getters when detecting globals
Categories
(Developer Infrastructure :: Lint and Formatting, defect, P2)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1388215
People
(Reporter: standard8, Unassigned)
Details
Currently, our import rules don't handle this form of import:
[
["AboutHome", "resource:///modules/AboutHome.jsm"],
].forEach(([name, resource]) => XPCOMUtils.defineLazyModuleGetter(this, name, resource));
There's a couple of places we use this currently - in browser.js and nsBrowserGlue.js. It would make our lives simpler if we could get the rules handling the globals to detect these.
Reporter | ||
Updated•7 years ago
|
Priority: -- → P2
Reporter | ||
Comment 1•7 years ago
|
||
Thanks to Kit, this has been fixed in bug 1388215 :-)
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Updated•7 years ago
|
Product: Testing → Firefox Build System
Updated•6 years ago
|
Version: Version 3 → 3 Branch
Updated•2 years ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•