Open Bug 1704579 Opened 4 years ago Updated 3 years ago

Skeleton UI pops up briefly when starting with an update pending

Categories

(Toolkit :: Startup and Profile System, defect, P3)

defect

Tracking

()

People

(Reporter: alexical, Unassigned)

References

(Blocks 1 open bug)

Details

Hey Kirk, where is the code that does this? I.e., if you close and start Firefox manually after an update has been staged, it looks like we exit and apply the update and then restart. Is this correct? I'm looking for a cheap way of checking the state of the filesystem for the possibility of a pending update so we can not show the skeleton UI in that case. (This would be before loading xul.dll)

Flags: needinfo?(ksteuber)

if you close and start Firefox manually after an update has been staged, it looks like we exit and apply the update and then restart. Is this correct?

Yes.

where is the code that does this?

The code that decides whether we need to process an update on startup lives here.

I'm looking for a cheap way of checking the state of the filesystem for the possibility of a pending update

The file that you would want would probably be <update dir>/updates/0/update.status. I'm not super keen on reading that file twice during startup though.

Flags: needinfo?(ksteuber)
Component: General → Startup and Profile System
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.