Open Bug 1425617 Opened 2 years ago Updated 2 years ago

Audit "manual" use of getService in the codebase and add frequent instances to Services.jsm

Categories

(Firefox :: General, enhancement, P3)

enhancement

Tracking

()

Tracking Status
firefox59 --- affected

People

(Reporter: Gijs, Unassigned)

References

(Blocks 1 open bug)

Details

In bug 1421968, we've added linter support to help us clean up "manual" use of Cc[...].getService(...).

We should investigate via auditing of the params that get passed to getService (which we can do in xpconnect) which services that aren't yet in Services.jsm we most frequently instantiate, and consider adding support for them to Services.jsm.
Depends on: 1436559
You need to log in before you can comment on or make changes to this bug.