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.
Thanks to Kit, this has been fixed in bug 1388215 :-)
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 1388215
You need to log in before you can comment on or make changes to this bug.