Closed
Bug 1878620
Opened 8 months ago
Closed 7 months ago
Update convertMessagePart() to accept a MimeTreePart and remove no longer used ExtractMimeMsgEmitter
Categories
(Thunderbird :: Add-Ons: Extensions API, task)
Thunderbird
Add-Ons: Extensions API
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: TbSync, Assigned: TbSync)
References
Details
Attachments
(2 obsolete files)
No description provided.
Assignee | ||
Comment 1•8 months ago
|
||
Assignee | ||
Updated•7 months ago
|
Summary: Replace usage of MsgHdrToMimeMessage in favour of MimeParser.extractMimeMsg() in the WebExtension messages API → Replace usage of MsgHdrToMimeMessage and MimeParser.extractMimeMsg() by MimeTreeEmitter in the WebExtension messages API
Assignee | ||
Comment 2•7 months ago
|
||
This removes the temporary glue code introduced in D202135 and adapts
convertMessagePart()
to accept a MimeTreePart
and still generates
the expected WebExtension MessagePart
object.
Some tests had to be changed, because the former behavior was wrong:
- The MimeTreePart of a deleted attachment has an inline disposition and
is therefore not an attachemnt and must not have a name property. - Many content-* headers form the first MIME part bleeded into the
headers object of the outer message/rfc822, fixed.
Depends on D202135
Updated•7 months ago
|
Attachment #9378227 -
Attachment is obsolete: true
Updated•7 months ago
|
Assignee: nobody → john
Attachment #9380880 -
Attachment description: WIP: Bug 1878620 - Update convertMessagePart() to accept a MimeTreePart, remove no longer used MimeMessageEmitter. → Bug 1878620 - Update convertMessagePart() to accept a MimeTreePart, remove no longer used ExtractMimeMsgEmitter. r=#thunderbird-reviewers
Status: NEW → ASSIGNED
Assignee | ||
Updated•7 months ago
|
Assignee | ||
Updated•7 months ago
|
Summary: Replace usage of MsgHdrToMimeMessage and MimeParser.extractMimeMsg() by MimeTreeEmitter in the WebExtension messages API → Update convertMessagePart() to accept a MimeTreePart and remove no longer used ExtractMimeMsgEmitter
Updated•7 months ago
|
Attachment #9380880 -
Attachment is obsolete: true
Assignee | ||
Comment 3•7 months ago
|
||
The patch flow has been changed and this bug is not longer needed.
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•