Open Bug 1789718 Opened 2 years ago Updated 1 year ago

Remove the initial XPIProvider-based implementation of the Site Permissions addon type

Categories

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

task

Tracking

()

ASSIGNED

People

(Reporter: rpl, Assigned: rpl, NeedInfo)

References

(Blocks 1 open bug)

Details

(Keywords: leave-open, Whiteboard: [addons-jira])

Attachments

(1 file)

Along with the ongoing work for the new implementation based on a separate AddonManager Provider meant to only manage the Site Permissions addon type (Bug 1778959) we need to prepare to remove the initial XPIProvider based one (introduced by Bug 1737163).

As a side note to keep in mind while we are planning the removal:

  • The XPIProvider-based implementation recognize an xpi as add-on type "sitepermission" based on the presence of the top level manifest key "site_permissions" otherwise fallback to "extensions" (see ExtensionData initializeAddonTypeAndID method)

  • The ExtensionBlocklistMLBF defined in Blocklist.jsm determines which addon type should be checked by the addon blocklist based on the types exported by the XPIProvider (see kXPIAddonType lazy getter defined in Blocklist.jsm here), if the new implementation lands before we have removed the XPIProvider implementation this may be a part that we may split off into its own separate bugzilla issue and cover it in the same release where the new implementation is landing

Whiteboard: [addons-jira]
Depends on: 1790621
Severity: -- → N/A
Component: General → Add-ons Manager
Priority: -- → P2
Product: WebExtensions → Toolkit
Blocks: 1790621
No longer depends on: 1790621
Assignee: nobody → lgreco
Status: NEW → ASSIGNED
Keywords: leave-open
Pushed by luca.greco@alcacoop.it:
https://hg.mozilla.org/integration/autoland/rev/6097fabfae25
Rename XPIProvider-based sitepermission addon type to sitepermission-deprecated. r=willdurand
Blocks: 1795128

Removing this issue from Bug 1790621 blockers:

  • The part of this issue that was blocking for Bug 1790621 (renaming the addon type associated to the deprecated XPIProvider-based implementation) has been landed in Nightly 107
  • the rest of the deprecated implementation removal can be done as a separate followup and doesn't need to block Bug 1790621.
No longer blocks: 1790621
Regressions: 1796613

The leave-open keyword is there and there is no activity for 6 months.
:rpl, maybe it's time to close this bug?
For more information, please visit auto_nag documentation.

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

Attachment

General

Created:
Updated:
Size: