Closed Bug 1717201 Opened 1 month ago Closed 1 month ago

Allow changing the mapping between WebExtension permission names and their description keys

Categories

(WebExtensions :: Frontend, task, P4)

Firefox 91
task

Tracking

(firefox91 fixed)

RESOLVED FIXED
91 Branch
Tracking Status
firefox91 --- fixed

People

(Reporter: TbSync, Assigned: TbSync)

Details

Attachments

(1 file)

Currently we have a fixed mapping between the name of a WebExtension permission id and its description key. In order to be able to change the description, it must be possible to use a different key.

I had a discussion with @Flod about this and he agreed that such a mapping mechanism would be a good thing to have.

Suggestion: Move the mapping into a function which lives in ExtensionsUI.jsm.

´ExtensionsUI.jsm` exists for Firefox and Thunderbird independently. By moving the mapping function there, Thunderbird can maintain its own mapping (Thunderbird has additional permissions related to E-Mail).

Assignee: nobody → john
Severity: -- → S4
Type: enhancement → task
Priority: -- → P4
Attachment #9227863 - Attachment description: Bug 1717201 - Add function to map permission ids to permission description keys. r=mconley → Bug 1717201 - Add optional callback parameter to map permission names to permission description keys. r=rpl
Pushed by luca.greco@alcacoop.it:
https://hg.mozilla.org/integration/autoland/rev/536a892dd51f
Add optional callback parameter to map permission names to permission description keys. r=rpl
Status: UNCONFIRMED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
You need to log in before you can comment on or make changes to this bug.