Closed Bug 1465832 Opened 6 years ago Closed 5 years ago

Fire browser-idle-startup-tasks-finished after idle startup tasks have finished

Categories

(GeckoView :: General, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1496684

People

(Reporter: mconley, Unassigned)

Details

browser-idle-startup-tasks-finished is an observer notification that was added in bug 1458375 that acts as the "endpoint" for the ScriptPreloader[1]. It used to wait for browser-delayed-startup-finished, but we figure that widening the window makes good sense.

We should make sure that GeckoView (and things using it, I guess?) fires this notification to "close the window" once their start-up idle tasks are done to make sure those scripts get properly pre-parsed and cached.

[1]: If you're not familiar with ScriptPreloader, I wrote about it here: https://mikeconley.ca/blog/2018/05/30/firefox-performance-update-9/
Jim says this bug can be a P3. This feature should help startup performance with cached scripts.
Priority: -- → P3
Product: Firefox for Android → GeckoView

Required notifications added to GeckoView as part of bug 1496684.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.