Closed Bug 1886485 Opened 1 year ago Closed 1 year ago

Add additional test coverage related to AOM weak signature restrictions

Categories

(Toolkit :: Add-ons Manager, task, P2)

task

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: rpl, Assigned: rpl)

References

Details

Attachments

(3 files)

This bugzilla issue tracks following up to Bug 1885004 by introducing a few more tests (in addition to the ones already included in Bug 1885004 patch):

  • couple new unit tests to cover on expected restriction applied when an xpi signed with weak signatures is being installed over an existing addon using a stronger signature (and also test updating a existing addon signed with a weak signature successfully updating to one using a stronger signature), this part of the task depends also on Bug 1886252 (which is tracking resigning signed test extension xpi part of mozilla-central test suites)

  • add a new mochitest-browser test to explicitly cover the doorhanger expected to be shown to users on install failure due to weak signature xpi files, this part only depends on Bug 1885004

  • add a new test to explicitly cover behaviors expected on addons being installed through Firefox Sync

Assignee: nobody → lgreco
Status: NEW → ASSIGNED

This old signed xpi file seems to be unused from quite some time, it is likely a left-over from a
cleanup done between Firefox 60 and Firefox 68 (e.g. in mozilla-esr60 we can still find a reference to this file
from 2 mochitest browser ini files: https://searchfox.org/mozilla-esr60/search?q=xpinstall%2Frestartless.xpi&path=&case=false&regexp=false).

Currently it seems we don't have any test left to be still using this particular signed xpi and so this patch
just removes it.

Pushed by luca.greco@alcacoop.it: https://hg.mozilla.org/integration/autoland/rev/3a6b16b0465e Add test coverage for behavior expected on weak signed xpi install attempt triggered from sync. r=willdurand,markh,sync-reviewers https://hg.mozilla.org/integration/autoland/rev/69ae66b9eb6d Add additional tests to cover updating installed addon between old and recent signatures. r=willdurand https://hg.mozilla.org/integration/autoland/rev/9fe803ec0428 Removed unused toolkit/mozapps/extensions/test/xpinstall/restartless.xpi install.rdf based signed test xpi. r=willdurand
Group: mozilla-employee-confidential
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: