Closed
Bug 1896907
Opened 1 year ago
Closed 1 year ago
Adjust scripting.compose API and scripting.messageDisplay API to survive background termination
Categories
(Thunderbird :: Add-Ons: Extensions API, task)
Thunderbird
Add-Ons: Extensions API
Tracking
(Not tracked)
RESOLVED
FIXED
128 Branch
People
(Reporter: john, Assigned: john)
Details
Attachments
(1 file)
No description provided.
| Assignee | ||
Comment 1•1 year ago
|
||
The implementations of scripting.compose and scripting.messageDisplay
added in D210241 laid the groundwork and were mostly a clone of the
former composeScripts API and messageDisplayScripts API.
This patch adds the Manifest V3 flavor and stops automatic script
unregistering on context close (for example background page termination)
and keeps track of all scripts in a global Map.
When registering scripts in the background page, one now has to check
beforehand, if the script has been registered already. Re-registering a
script will throw.
Depends on D210460
Updated•1 year ago
|
Assignee: nobody → john
Status: NEW → ASSIGNED
| Assignee | ||
Updated•1 year ago
|
Keywords: checkin-needed-tb
| Assignee | ||
Updated•1 year ago
|
Target Milestone: --- → 128 Branch
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/b2306ae8a8e2
Adjust scripting.compose API and scripting.messageDisplay API to survive background termination. r=mkmelin
You need to log in
before you can comment on or make changes to this bug.
Description
•