Closed Bug 1733485 Opened 4 months ago Closed 4 months ago

Avoid loading osfile.jsm early in startup due to UpdateUtils loading it directly

Categories

(Toolkit :: Application Update, task, P3)

task

Tracking

()

RESOLVED FIXED
94 Branch
Tracking Status
firefox94 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

Details

Attachments

(1 file)

As part of the work to stop osfile.jsm being loaded in startup, and to avoid OS.File completely at startup, we need to lazy load it in UpdateUtils.jsm.

There's also quite a few modules that can be lazy loaded in GMPUtils.jsm and GMPProvider.jsm - these two are currently triggering UpdateUtils.jsm to be loaded earlier than necessary as well.

Priority: -- → P3
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a4ebac6c8a86
Lazy load modules in GMPUtils.jsm, UpdateUtils.jsm, GMPProvider.jsm to avoid loading earlier than necessary. r=bytesized
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch
You need to log in before you can comment on or make changes to this bug.