Installs/changes to restartless addons shouldn't set PREF_PENDING_OPERATIONS

RESOLVED INACTIVE

Status

()

RESOLVED INACTIVE
6 years ago
5 months ago

People

(Reporter: Unfocused, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

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.

Comment 3

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.