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)

enhancement

Tracking

()

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.
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
We already discussed this
Flags: needinfo?(kmaglione+bmo)
Blocks: 1623518
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.