Closed Bug 1332360 Opened 7 years ago Closed 6 years ago

Don't show prompts for webextension updates that were previously rejected

Categories

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

51 Branch
defect

Tracking

()

RESOLVED INACTIVE

People

(Reporter: aswan, Unassigned)

Details

(Whiteboard: triaged)

Follow-up from bug 1317470, with the patches there we show a permissions prompt every time we do an update check and there is a new version that requires new permissions.  But if the users rejects an update, we should not prompt them again until there is a new version.
This isn't straightforward since we don't have an obvious place to store the information about versions that the user has rejected (a few options none of which I liked are revving the schema for extensions.json to include the new information or using a preference).
I think we could solve another problem at the same time: we currently download updates extensions fresh in each browser session (since they are stored in a temporary directory until they are installed).  If we create a new subdirectory of extensions/ in the profile (like the staging/ directory) for not-yet-accepted updates, then we can store information about rejected updates there to avoid prompting for them.
But this is not a small task, opening a separate bug to track the work.
Priority: -- → P3
Whiteboard: triaged
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.