Closed Bug 1684011 Opened 4 years ago Closed 4 years ago

remove MailGlue _legacyCheck()

Categories

(Thunderbird :: Add-Ons: Extensions API, task)

Thunderbird 87

Tracking

(thunderbird_esr78 wontfix)

RESOLVED FIXED
87 Branch
Tracking Status
thunderbird_esr78 --- wontfix

People

(Reporter: mkmelin, Assigned: john)

References

Details

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1661216 +++

See bug 1661216 comment 4.
_legacyCheck() and related code was only needed for the 68->78 upgrade. We can remove it now and save a tiny bit on startup time.

https://searchfox.org/comm-central/rev/94587d2bae3c1343918eecc9008cea105f54a47a/mail/components/MailGlue.jsm#323

With only 4% using TB68, this is probably a good thing to do. Nevertheless - if you agree - I would like to add a notification to such add-ons installed in TB78, that they are not supported (because there is no other hint in the UI currently).

That notification would be just part of the add-on manager UI and not of any start-up code.

According to the original bug, they can't be installed in 78 at all. It was just added for the upgrade scenario, no?

Many users still install add-ons via file install and if a legacy WebExtension does not have a max version setting, it will install without error. The startup check disabled these add-ons on next restart. This will no longer work and those add-ons will just sit there being properly installed without doing anything.

See Also: → 1688904
See Also: → 1689090
Assignee: nobody → john
Status: NEW → ASSIGNED
Attachment #9199516 - Flags: review?(mkmelin+mozilla)
Comment on attachment 9199516 [details] [diff] [review] bug1684011_remove_legacy_check.patch Review of attachment 9199516 [details] [diff] [review]: ----------------------------------------------------------------- Great, thx! r=mkmelin
Attachment #9199516 - Flags: review?(mkmelin+mozilla) → review+

Is there any specific version, platform, priority? Thanks.

Version: unspecified → Thunderbird 87
Target Milestone: --- → 87 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/d3e7a67ff191
remove MailGlue _legacyCheck(). r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: