Setting properties on pending non-restartless installs aren't updated in the staged JSON, so are lost on restart

RESOLVED INACTIVE

Status

()

RESOLVED INACTIVE
7 years ago
5 months ago

People

(Reporter: Unfocused, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

If you have a pending non-restartless install, currently you must set any properties on the addon (such as userDisabled) during onInstallStarted. If you wait until after that, the changes won't get written to the staged JSON file, and thus are lost on restart.

This is the underlying cause of bug 712542, where sync was setting those properties after onInstallStarted.

Comment 1

5 months ago
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Last Resolved: 5 months ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.