Use a shared Services-like object for lazy imports

NEW
Unassigned

Status

P3
normal
2 years ago
8 months ago

People

(Reporter: kmag, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [triaged])

(Reporter)

Description

2 years ago
We spend a significant amount of time at startup just in the huge number of defineLazyModuleGetter/defineLazyServiceGetter calls that we do in WebExtension code. A lot of those are repeated in several modules, so we could probably save a measurable amount of time by coalescing them into a shared Services-like object. Maybe call it WE, or Ext, or something...

Updated

2 years ago
Priority: -- → P2
Whiteboard: [triaged]

Updated

2 years ago
Assignee: kmaglione+bmo → aswan
Assignee: aswan → nobody
Priority: P2 → P3

Updated

8 months ago
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.