Open Bug 1434245 Opened 3 years ago Updated 3 years ago

Use defineLazyModuleGetters more often with PlacesUtils

Categories

(Firefox :: Bookmarks & History, enhancement, P3)

55 Branch
enhancement

Tracking

()

People

(Reporter: mak, Unassigned)

References

Details

(Whiteboard: [fxsearch])

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.
Priority: P2 → P3
Depends on: 406371
You need to log in before you can comment on or make changes to this bug.