Open Bug 1434245 Opened 3 years ago Updated 3 years ago
Lazy Module Getters more often with Places Utils
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.
You need to log in before you can comment on or make changes to this bug.