Closed Bug 1434245 Opened 6 years ago Closed 2 years ago
Lazy Module Getters more often with Places Utils
48 bytes, text/x-phabricator-request
|Details | Review|
Now that PlacesUtils only exports a single symbol, we can defineLazyModuleGetter it more often: https://searchfox.org/mozilla-central/search?q=Cu.import%28%22resource%3A%2F%2Fgre%2Fmodules%2FPlacesUtils.jsm%22&path=
In modules and components we can use defineLazyModuleGetters, in other places it is better to stick to defineModuleGetter, to avoid a cross compartment wrapper taken by XPCOMUtils to define the getter.
Whiteboard: [fxsearch] → [fxsearch][lang=js]
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/14ee535024d7 Use defineLazyModuleGetters more often with PlacesUtils. r=mak
You need to log in before you can comment on or make changes to this bug.