Open
Bug 1468673
Opened 6 years ago
Updated 1 year ago
Widen the window of time that ScriptPreloader notes and caches scripts
Categories
(Core :: XPConnect, enhancement, P3)
Core
XPConnect
Tracking
()
NEW
People
(Reporter: mconley, Unassigned)
References
(Blocks 1 open bug)
Details
In bug 1458375, I hacked around a race condition where the ScriptPreloader could receive script information from content processes after the cache had been written (therefore throwing out the content process script information).
I did this by delaying the point where the cache is written out until the browser-idle-startup-tasks-finished observer notification.
Originally, I wanted to keep noting scripts in the parent process until browser-idle-startup-tasks-finished fired, but in doing so, I seemed to hit ts_paint regressions on Linux 64.
We should revisit this - it's probably to our advantage to cache as many early scripts as possible via the ScriptPreloader.
Comment 1•6 years ago
|
||
I apparently like to needinfo kmag about things with the ScriptPreloader so I don't want to break that tradition now :)
Flags: needinfo?(kmaglione+bmo)
Priority: -- → P3
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•