Deprecate composeScripts API and messageDisplayScripts API in Manifest V3 and introduce scripting.compose API and scripting.messageDisplay API
Categories
(Thunderbird :: Add-Ons: Extensions API, task)
Tracking
(Not tracked)
People
(Reporter: TbSync, Assigned: TbSync)
Details
Attachments
(1 file)
Assignee | ||
Comment 1•1 year ago
|
||
Thunderbird has two special content script types (one for the editor of
the compose window and the other for messages being displayed) for which
we have the dedicated composeScripts API and messageDisplayScripts API.
Manifest V3 moved content script related methods into the scripting API
and applied the following changes:
- no longer allows to use code strings as content scripts
- dropped its child implementation
- has a dedicated unregister function (the register function no longer
returns an object with an unregister() method) - has a getRegisterdScripts() function
To adjust to these changes, we deprecate both our current content script
APIs and add new ones to the scripting API.
This patch only updates existing tests to work with the new
implementation. A follow-up will add tests for the new features of the
added APIs
Depends on D210103
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Pushed by benc@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/8824953f9775
Deprecate composeScripts API and messageDisplayScripts API in Manifest V3 and introduce scripting.compose API and scripting.messageDisplay API. r=aleca,mkmelin
Description
•