Great! :)
On Fri, May 18, 2018 at 2:58 PM Kris Maglione wrote:
> Already done. :) https://bugzil.la/1460092
>
> On Fri, May 18, 2018 at 02:48:20PM -0400, Jared Wein wrote:
> >Have you looked in to adding an eslint rule for this? The eslint rule[1]
> >that recommends usage of ChromeUtils.defineMo
Already done. :) https://bugzil.la/1460092
On Fri, May 18, 2018 at 02:48:20PM -0400, Jared Wein wrote:
Have you looked in to adding an eslint rule for this? The eslint rule[1]
that recommends usage of ChromeUtils.defineModuleGetter instead of
XPCOMUtils.defineLazyModuleGetter has been very usefu
Have you looked in to adding an eslint rule for this? The eslint rule[1]
that recommends usage of ChromeUtils.defineModuleGetter instead of
XPCOMUtils.defineLazyModuleGetter has been very useful.
[1]
https://searchfox.org/mozilla-central/rev/da499aac682d0bbda5829327b60a865cbc491611/tools/lint/esli
Bug 1456035 added a ChromeUtils.generateQI helper to create
QueryInterface methods for JS objects. The QueryInterface methods
generated by this function are highly optimized, and have a fast path
for calls from XPConnect.
Which is to say, please use this method rather than manually writing
yo
4 matches
Mail list logo