Thunderbird 115.3.2 breaks getRaw method of the messages API
Categories
(Thunderbird :: Add-Ons: Extensions API, defect)
Tracking
(Not tracked)
People
(Reporter: onfire4hire, Unassigned)
Details
Steps to reproduce:
const msg = await messenger.messages.getRaw(message.id)
console.log(msg)
Actual results:
A handle to a file{} gets returned
Expected results:
It should return a binary string.
Comment 1•2 years ago
•
|
||
Are you using manifest v3? We did introduce the simpler DOM File as the default return value for manifest v3.
https://searchfox.org/comm-esr115/rev/8c0636366d68bd854091e40b984e4b72c2dc1779/mail/components/extensions/parent/ext-messages.js#757-767
Since we do not yet officially support manifest v3, the patch was backported as a whole to allow using DOM File (optionally) in manifest v2 already as well.
Edit: The documentation still needs to be updated, expect that to happen within the next few days.
Comment 2•2 years ago
|
||
Updated the documentation:
Thunderbird 115 (stable) : https://webextension-api.thunderbird.net/en/stable/messages.html#getraw-messageid-options
Thunderbird Beta (latest) : https://webextension-api.thunderbird.net/en/latest/messages.html#getraw-messageid-options
Thunderbird Beta MV3 (latest_mv3): https://webextension-api.thunderbird.net/en/latest-mv3/messages.html#getraw-messageid-options
We do not have a documentation for Thunderbird 115 MV3, since we do not yet officially support it. Please note the banner on the index page of the MV3 documentation:
The Manifest v3 specification is not finalized yet and will continue to change. Feel free to test and explore the required changes for your extensions to run under Manifest v3, but do not release or distribute them yet.
Updated•2 years ago
|
Description
•