Open Bug 1425586 Opened 7 years ago Updated 2 years ago

Make JS usage of appid (nsIXULAppInfo.ID) not pass through xpconnect all the time

Categories

(Firefox :: General, enhancement, P3)

enhancement

Tracking

()

Tracking Status
firefox59 --- affected

People

(Reporter: Gijs, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxperf:p5])

Ideas:

- add caching getters to AppConstants that get this from xulappinfo once
- hardcode into AppConstants via the build system (breaks application.ini usage - do we still care about that?)
- add caching in main users (seems to be AddonsManager, AsyncShutdown, Telemetry)


The first seems relatively easy to do and probably best, unless we can actually do the second option, which seems unlikely unless we remove support for firefox -app (which requires wider discussion).
Priority: -- → P3
Whiteboard: [photon-performance]
Whiteboard: [photon-performance] → [fxperf:p5]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.