Action events should give whole tab objects, not just tab IDs
Categories
(Thunderbird :: Add-Ons: Extensions API, defect)
Tracking
(thunderbird74 fixed)
Tracking | Status | |
---|---|---|
thunderbird74 | --- | fixed |
People
(Reporter: darktrojan, Assigned: darktrojan)
References
Details
Attachments
(1 file)
24.35 KB,
patch
|
mkmelin
:
review+
jorgk-bmo
:
approval-comm-beta+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #1615934 +++
Ugh, I've done this all wrong. :-(
According to MDN, the WebExtensions browserCompose onclicked event has always had a tab object argument and recently gained an OnClickData argument. Ours has neither.
Worse, our very similar messageDisplayAction has just an integer tab id (not the full object) and composeAction just gained the same. I think we should just fix them all, and compose.onBeforeSend. Only messageDisplayAction has this on 68, and AFAICT the usage is minimal to none.
Assignee | ||
Comment 1•5 years ago
|
||
Comment 2•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 3•5 years ago
|
||
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/a144a25e5191
Give tab info and click info to *Action API events. r=mkmelin
Updated•5 years ago
|
Updated•5 years ago
|
Comment 5•5 years ago
|
||
bugherder uplift |
Thunderbird 74.0b2:
https://hg.mozilla.org/releases/comm-beta/rev/181293f406d7
Updated•5 years ago
|
Description
•