Closed Bug 2081274 Opened 1 month ago Closed 1 month ago

Port bug 2076009 - Pass expected add-on details when installing in Thunderbird

Categories

(Thunderbird :: Upstream Synchronization, task)

task

Tracking

(thunderbird160 fixed)

RESOLVED FIXED
160 Branch
Tracking Status
thunderbird160 --- fixed

People

(Reporter: tobyp, Assigned: tobyp)

References

(Blocks 2 open bugs)

Details

Attachments

(1 external file)

Update Thunderbird’s Policies.sys.mjs to use the revised PoliciesHelpers.installAddonFromURL() signature introduced by bug 2076009.

The Extensions and ExtensionSettings policies should pass installation details in an options object, keeping Thunderbird compatible with the shared toolkit helper's support for expected add-on type and version.

Assignee: nobody → toby
Status: NEW → ASSIGNED
Group: mozilla-employee-confidential
See Also: → 2076009
Attachment #9658473 - Attachment description: (secure) → Bug 2081274 (Port bug 2076009) - Pass expected add-on details when installing through enterprise policies. r?#thunderbird-enterprise-reviewers

In addition to passing on for EnterprisePolicies, review other Thunderbird AddonManager.getInstallForURL() call sites and pass the expected add-on ID, type, and version where known.

AddonInstaller._installDirect()
gMessengerLanguagesDialog.requestRemoteLanguage(item)

Summary: Port bug 2076009 - Pass expected add-on details when installing through enterprise policies → Port bug 2076009 - Pass expected add-on details when installing in Thunderbird
Attachment #9658473 - Attachment description: Bug 2081274 (Port bug 2076009) - Pass expected add-on details when installing through enterprise policies. r?#thunderbird-enterprise-reviewers → Bug 2081274 (Port bug 2076009) - Pass expected add-on details when installing in Thunderbird. r?#thunderbird-enterprise-reviewers
Target Milestone: --- → 160 Branch

Pushed by ebaginski@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/aa558718dec2
(Port bug 2076009) - Pass expected add-on details when installing in Thunderbird. r=darktrojan,kzar

Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED

Comment on attachment 9658473 [details]
Bug 2081274 (Port bug 2076009) - Pass expected add-on details when installing in Thunderbird. r?#thunderbird-enterprise-reviewers

Uplift Approval Request

  • Please state case for uplift consideration and ensure bug severity is set: FF is uplifting their version of this
  • User impact if declined: Not sure
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Daily?: Yes
  • Has the fix been verified in Beta?: Yes
  • Needs manual test from QA?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Has already ridden the trains and FF is uplifting their side
  • Does the fix cause any migrations to be skipped?: No
  • String changes made/needed:
Attachment #9658473 - Flags: approval-comm-esr153?

Comment on attachment 9658473 [details]
Bug 2081274 (Port bug 2076009) - Pass expected add-on details when installing in Thunderbird. r?#thunderbird-enterprise-reviewers

[Triage Comment]
Toby, we might not need this uplift, see https://bugzilla.mozilla.org/show_bug.cgi?id=2076009#c15 - Can you confirm?

Flags: needinfo?(toby)
Attachment #9658473 - Flags: approval-comm-esr153? → approval-comm-esr153-

Ok let's not. I think we're going to keep our Enterprise product based on Release anyway. Thanks!

Flags: needinfo?(toby)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: