Use defineLazyModuleGetters more often with PlacesUtils

NEW
Unassigned

Status

()

enhancement
P3
normal
Last year
Last year

People

(Reporter: mak, Unassigned)

Tracking

55 Branch
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [fxsearch])

Reporter

Description

Last year
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=
Reporter

Comment 2

Last year
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.
Reporter

Updated

Last year
Priority: P2 → P3
Reporter

Updated

Last year
Depends on: 406371
You need to log in before you can comment on or make changes to this bug.