Closed Bug 786858 Opened 12 years ago Closed 6 years ago

Installs/changes to restartless addons shouldn't set PREF_PENDING_OPERATIONS

Categories

(Toolkit :: Add-ons Manager, defect)

defect
Not set
normal

Tracking

()

RESOLVED INACTIVE

People

(Reporter: Unfocused, Unassigned)

References

Details

Installing or changing the state of a restartless addon results in XPIProvider.updateAddonDisabledState() to set PREF_PENDING_OPERATIONS - which in the next restart will cause us to go through the slow path of processFileChanges(). Most (or all?) of the time this should be unnecessary.
Blocks: 786861
Regardless of whether the pref is set, the file mtime change will trigger us to go through the slow path anyway
Oh, right.

Though, I think solving that is as easy as just updating the mtime in extensions.installCache.
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
Closed: 6 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.