[API suggestion] Add tab parameter to messenger.cloudfile.onFile* events
Categories
(Thunderbird :: Add-Ons: Extensions API, enhancement)
Tracking
(Not tracked)
People
(Reporter: je, Assigned: john)
References
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0
Steps to reproduce:
From the messenger.cloudfile.onFile* event handlers the code has no way to address the message, the file was attached to. But that would be very useful, eg to add/remove information to/from the message.
I suggest to add a tab parameter as the last parameter to the
messenger.cloudFile.onFileUpload
messenger.cloudFile.onFileUploadAbort
messenger.cloudFile.onFileDeleted
events.
Like the tab paramter of events like messenger.compose.onAttachmentAdded it should contain the Tab object.
Updated•5 years ago
|
| Reporter | ||
Comment 1•5 years ago
|
||
This would also be useful to report errors to the user by the upcoming notification bar api (bug 1674002).
| Assignee | ||
Comment 2•4 years ago
|
||
Updated•4 years ago
|
| Assignee | ||
Updated•4 years ago
|
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/f2c485efef1d
Add tab parameter to cloudfile.onFile* events. r=darktrojan
Updated•4 years ago
|
Description
•