bugzilla.mozilla.org will be intermittently unavailable on Saturday, March 24th, from 16:00 until 20:00 UTC.

Add a warning when temporarily installing an extension over a permanently installed one




Developer Tools: about:debugging
8 months ago
6 months ago


(Reporter: aswan, Unassigned)


Firefox Tracking Flags

(Not tracked)




8 months ago
If you have an extension installed permanently and then install one with the same ID temporarily, this is treated as an upgrade/downgrade (or it will be when bug 1359558 is fixed).  This can come as a surprise, we can add a visual warning to developers to make sure they're aware of what's going on.
Not merely a surprise, but possible data corruption if the extension doesn't handle the DOWNGRADE reason, and leaves upgraded data in storage for the old version that can't handle it.

"You are temporary upgrading to a newer version of this addon, which will get downgraded on shutdown. Make sure to handle that case or suffer data corruption consequences"

Comment 2

8 months ago
I realize I'm bikeshedding here but the warning from comment 1 sounds unnecessarily scary.  Data corruption is only an issue if an extension does an irreversible data migration on upgrade, but that message makes it sound like a much broader problem.
Severity: normal → enhancement
Priority: -- → P2
You need to log in before you can comment on or make changes to this bug.