From dcf7e94e34012140eb30039311537b0d1aa081bb Mon Sep 17 00:00:00 2001 From: John Bieling Date: Tue, 15 Jun 2021 17:00:25 +0300 Subject: [PATCH] Bug 1713145 - Also test content at root part of multipart/alternative emails for messages.getFull API. r=mkmelin Differential Revision: https://phabricator.services.mozilla.com/D117621 --HG-- extra : amend_source : df4f460591df0c829e6cac9934bf71044dfdccf5 --- .../extensions/test/xpcshell/messages/alternative.eml | 3 +++ mail/components/extensions/test/xpcshell/messages/sample07.eml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/mail/components/extensions/test/xpcshell/messages/alternative.eml b/mail/components/extensions/test/xpcshell/messages/alternative.eml index dda8ee906b..11de6a87d6 100644 --- a/mail/components/extensions/test/xpcshell/messages/alternative.eml +++ b/mail/components/extensions/test/xpcshell/messages/alternative.eml @@ -7,6 +7,9 @@ Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====================_714967308==_.ALT" +This message is in MIME format. The first part should be readable text, +while the remaining parts are likely unreadable without MIME-aware tools. + --=====================_714967308==_.ALT Content-Transfer-Encoding: quoted-printable diff --git a/mail/components/extensions/test/xpcshell/messages/sample07.eml b/mail/components/extensions/test/xpcshell/messages/sample07.eml index 453c289a7c..29283b2ce0 100644 --- a/mail/components/extensions/test/xpcshell/messages/sample07.eml +++ b/mail/components/extensions/test/xpcshell/messages/sample07.eml @@ -7,6 +7,9 @@ Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====================_714967308==_.ALT" +This message is in MIME format. The first part should be readable text, +while the remaining parts are likely unreadable without MIME-aware tools. + --=====================_714967308==_.ALT Content-Transfer-Encoding: quoted-printable