Open Bug 1316508 Opened 8 years ago Updated 2 years ago

roll back failed system addon updates restartlessly

Categories

(Toolkit :: Add-ons Manager, defect, P3)

defect

Tracking

()

People

(Reporter: rhelmer, Unassigned)

References

Details

(Whiteboard: [system add-on], triaged)

Bug 1204156 adds the ability to install and upgrade system add-ons restartlessly.

If any of these installs fail, currently the systemAddonSet pref is reset and it will be set back to a known good state on restart.

It should generally be possible to roll back restartlessly, by removing the current set and re-installing the previous (or the built-in, if there was no previous update set).

If restartless rollback fails, then the current behavior of resetting and waiting until restart would be used.

We also need to test all of these scenarios - test_system_reset.js is where the current test is.
Depends on: 1204156
Priority: -- → P3
Whiteboard: [system add-on]
Whiteboard: [system add-on] → [system add-on], triaged
We haven't seen this happen much in practice, and it feels like rolling back to the built-in state is probably safer.

Additionally - we're investigating switching to delivering updates as individual add-ons rather than a set, which would make any work on this now a waste.
Assignee: rhelmer → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.