From 6bf0a5cb5034a7e684dcc3500e841785237ce2dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:32:43 +0200 Subject: Adding upstream version 1:115.7.0. Signed-off-by: Daniel Baumann --- .../test/browser/composition/data/attachment.txt | 4 ++ .../browser/composition/data/base64-bug1586890.eml | 25 +++++++++++ .../composition/data/base64-encoded-msg.eml | 11 +++++ .../composition/data/base64-with-whitespace.eml | 46 +++++++++++++++++++++ .../test/browser/composition/data/body-greek.eml | 9 ++++ .../test/browser/composition/data/body-utf16.eml | 10 +++++ .../browser/composition/data/charset-cp932.eml | 11 +++++ .../composition/data/content-utf8-alt-rel.eml | 46 +++++++++++++++++++++ .../composition/data/content-utf8-alt-rel2.eml | 46 +++++++++++++++++++++ .../composition/data/content-utf8-rel-alt.eml | 40 ++++++++++++++++++ .../composition/data/content-utf8-rel-only.eml | 32 ++++++++++++++ .../browser/composition/data/defective-charset.eml | 28 +++++++++++++ .../test/browser/composition/data/en_NZ/en_NZ.aff | 0 .../test/browser/composition/data/en_NZ/en_NZ.dic | 23 +++++++++++ .../browser/composition/data/evil-meta-msg.eml | 11 +++++ .../test/browser/composition/data/feed-message.eml | 26 ++++++++++++ .../browser/composition/data/format-flowed.eml | 12 ++++++ .../browser/composition/data/format1-altering.eml | 21 ++++++++++ .../browser/composition/data/format1-plain.eml | 22 ++++++++++ .../composition/data/format2-style-attr.eml | 37 +++++++++++++++++ .../browser/composition/data/format3-style-tag.eml | 31 ++++++++++++++ .../test/browser/composition/data/iso-2022-jp.eml | 12 ++++++ .../browser/composition/data/long-html-line.eml | 16 +++++++ .../composition/data/mime-encoded-subject.eml | 16 +++++++ .../browser/composition/data/multipart-charset.eml | 24 +++++++++++ comm/mail/test/browser/composition/data/nest.png | Bin 0 -> 293451 bytes .../browser/composition/data/non-flowed-plain.eml | 15 +++++++ .../mail/test/browser/composition/data/tb-logo.png | Bin 0 -> 6462 bytes .../mail/test/browser/composition/data/testmsg.eml | 16 +++++++ .../mail/test/browser/composition/data/xunsent.eml | 14 +++++++ 30 files changed, 604 insertions(+) create mode 100644 comm/mail/test/browser/composition/data/attachment.txt create mode 100644 comm/mail/test/browser/composition/data/base64-bug1586890.eml create mode 100644 comm/mail/test/browser/composition/data/base64-encoded-msg.eml create mode 100644 comm/mail/test/browser/composition/data/base64-with-whitespace.eml create mode 100644 comm/mail/test/browser/composition/data/body-greek.eml create mode 100644 comm/mail/test/browser/composition/data/body-utf16.eml create mode 100644 comm/mail/test/browser/composition/data/charset-cp932.eml create mode 100644 comm/mail/test/browser/composition/data/content-utf8-alt-rel.eml create mode 100644 comm/mail/test/browser/composition/data/content-utf8-alt-rel2.eml create mode 100644 comm/mail/test/browser/composition/data/content-utf8-rel-alt.eml create mode 100644 comm/mail/test/browser/composition/data/content-utf8-rel-only.eml create mode 100644 comm/mail/test/browser/composition/data/defective-charset.eml create mode 100644 comm/mail/test/browser/composition/data/en_NZ/en_NZ.aff create mode 100644 comm/mail/test/browser/composition/data/en_NZ/en_NZ.dic create mode 100644 comm/mail/test/browser/composition/data/evil-meta-msg.eml create mode 100644 comm/mail/test/browser/composition/data/feed-message.eml create mode 100644 comm/mail/test/browser/composition/data/format-flowed.eml create mode 100644 comm/mail/test/browser/composition/data/format1-altering.eml create mode 100644 comm/mail/test/browser/composition/data/format1-plain.eml create mode 100644 comm/mail/test/browser/composition/data/format2-style-attr.eml create mode 100644 comm/mail/test/browser/composition/data/format3-style-tag.eml create mode 100644 comm/mail/test/browser/composition/data/iso-2022-jp.eml create mode 100644 comm/mail/test/browser/composition/data/long-html-line.eml create mode 100644 comm/mail/test/browser/composition/data/mime-encoded-subject.eml create mode 100644 comm/mail/test/browser/composition/data/multipart-charset.eml create mode 100644 comm/mail/test/browser/composition/data/nest.png create mode 100644 comm/mail/test/browser/composition/data/non-flowed-plain.eml create mode 100644 comm/mail/test/browser/composition/data/tb-logo.png create mode 100644 comm/mail/test/browser/composition/data/testmsg.eml create mode 100644 comm/mail/test/browser/composition/data/xunsent.eml (limited to 'comm/mail/test/browser/composition/data') diff --git a/comm/mail/test/browser/composition/data/attachment.txt b/comm/mail/test/browser/composition/data/attachment.txt new file mode 100644 index 0000000000..e5dde9a9f2 --- /dev/null +++ b/comm/mail/test/browser/composition/data/attachment.txt @@ -0,0 +1,4 @@ +"Attachment is the great fabricator of illusions; reality can be attained only + by someone who is detached." + + -- Simone Weil diff --git a/comm/mail/test/browser/composition/data/base64-bug1586890.eml b/comm/mail/test/browser/composition/data/base64-bug1586890.eml new file mode 100644 index 0000000000..b79957b6c0 --- /dev/null +++ b/comm/mail/test/browser/composition/data/base64-bug1586890.eml @@ -0,0 +1,25 @@ +Date: Tue, 31 Aug 2018 16:33:00 +0200 +From: From +To: To +Subject: Bug 1586890 - BASE64 MIME body and attachment (UTF-16BE) with invalid charset +MIME-Version: 1.0 +Message-ID: <1dcZe4@example.com> +Content-Type: multipart/mixed; + boundary="------------DA562B250842CC7332F16476" + +This is a multi-part message in MIME format. +--------------DA562B250842CC7332F16476 +Content-Type: text/plain; charset=BadCharset +Content-Transfer-Encoding: base64 + +AGEAYgBjAGQAZQBmAGcAaABpAGoAawBsAG0ADQAKAG4AbwBwAHEAcgBzAHQAdQB2AHcAeAB5 +AHo= +--------------DA562B250842CC7332F16476 +Content-Type: text/plain; charset=BadCharset +Content-Transfer-Encoding: base64 +Content-Disposition: attachment; + filename="test.txt" + +AGEAYgBjAGQAZQBmAGcAaABpAGoAawBsAG0ADQAKAG4AbwBwAHEAcgBzAHQAdQB2AHcAeAB5 +AHo= +--------------DA562B250842CC7332F16476-- diff --git a/comm/mail/test/browser/composition/data/base64-encoded-msg.eml b/comm/mail/test/browser/composition/data/base64-encoded-msg.eml new file mode 100644 index 0000000000..e2a37fbe85 --- /dev/null +++ b/comm/mail/test/browser/composition/data/base64-encoded-msg.eml @@ -0,0 +1,11 @@ +Message-ID: <4877F4BB.3060507@example.org> +Date: Fri, 11 Jul 2008 20:03:07 -0400 +From: Joe +MIME-Version: 1.0 +To: Jane +Subject: base64 content +Content-Type: text/plain; charset=ISO-8859-1 +Content-Transfer-Encoding: base64 + +WW91IGhhdmUgZGVjb2RlZCB0aGlzIHRleHQgZnJvbSBiYXNlNjQu + diff --git a/comm/mail/test/browser/composition/data/base64-with-whitespace.eml b/comm/mail/test/browser/composition/data/base64-with-whitespace.eml new file mode 100644 index 0000000000..f610203558 --- /dev/null +++ b/comm/mail/test/browser/composition/data/base64-with-whitespace.eml @@ -0,0 +1,46 @@ +Date: Tue, 31 Aug 2018 16:33:00 +0200 +From: From +To: To +Subject: Bug 1487421 - BASE64 MIME body and attachment with empty lines in between +MIME-Version: 1.0 +Message-ID: <1dcZe4@example.com> +Content-Type: multipart/mixed; + boundary="------------DA562B250842CC7332F16476" + +This is a multi-part message in MIME format. +--------------DA562B250842CC7332F16476 +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: base64 + +YWJj + +ZG + +V + +mZ2hpamtsbW + +5vcHFyc3R1dnd4 + +eXo= + +--------------DA562B250842CC7332F16476 +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: base64 +Content-Disposition: attachment; + filename="test.txt" + +YWJj + +ZG + +V + +mZ2hpamtsbW + +5vcHFyc3R1dnd4 + +eXo= + +--------------DA562B250842CC7332F16476-- + diff --git a/comm/mail/test/browser/composition/data/body-greek.eml b/comm/mail/test/browser/composition/data/body-greek.eml new file mode 100644 index 0000000000..d2b1764e9b --- /dev/null +++ b/comm/mail/test/browser/composition/data/body-greek.eml @@ -0,0 +1,9 @@ +From: test +Subject: test reply to ISO-8859-7 encoded message +To: test2 +Date: Sat, 27 Feb 2016 17:11:45 +0100 +MIME-Version: 1.0 +Content-Type: text/plain; charset=ISO-8859-7 +Content-Transfer-Encoding: quoted-printable + +Here comes some Greek text: =CA=E1=EB=E7=F3=F0=DD=F1=E1 diff --git a/comm/mail/test/browser/composition/data/body-utf16.eml b/comm/mail/test/browser/composition/data/body-utf16.eml new file mode 100644 index 0000000000..2d72a8dc71 --- /dev/null +++ b/comm/mail/test/browser/composition/data/body-utf16.eml @@ -0,0 +1,10 @@ +From: test +Subject: test reply to UTF-16 encoded message +To: test2 +Date: Sat, 27 Feb 2016 17:11:45 +0100 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-16LE; +Content-Transfer-Encoding: base64 + +//5IAGkAIABNAGEAZwBuAHUAcwAsACAAaABlAHIAZQAgAGEAIABiAGUAdAB0AGUAcgAgAFUA +VABGAC0AMQA2ACAAZQBuAGMAbwBkAGUAZAAgAG0AYQBpAGwALgA= diff --git a/comm/mail/test/browser/composition/data/charset-cp932.eml b/comm/mail/test/browser/composition/data/charset-cp932.eml new file mode 100644 index 0000000000..1e8fc33123 --- /dev/null +++ b/comm/mail/test/browser/composition/data/charset-cp932.eml @@ -0,0 +1,11 @@ +Date: Tue, 4 Dec 2018 15:23:22 +0900 +From: from@example.org +Subject: =?cp932?Q?=82=b1=82=b1=82=c9=96=7b=95=b6=82=aa=82=ab=82=dc=82=b7=81=42?= +To: to@example.org +Message-Id: <424F4F74-05B4-4575-8B0D-473334183C69@example.org> +Mime-Version: 1.0 (1.0) +Content-Type: text/plain; charset=cp932 +Content-Transfer-Encoding: 8bit + +ここに本文がきます。 + diff --git a/comm/mail/test/browser/composition/data/content-utf8-alt-rel.eml b/comm/mail/test/browser/composition/data/content-utf8-alt-rel.eml new file mode 100644 index 0000000000..ccf457ad2b --- /dev/null +++ b/comm/mail/test/browser/composition/data/content-utf8-alt-rel.eml @@ -0,0 +1,46 @@ +From: test +Subject: test multipart, alternative first +To: test2 +Date: Sat, 27 Feb 2016 17:11:45 +0100 +MIME-Version: 1.0 +Content-Type: multipart/alternative; + boundary="------------alternative" + +This is a multi-part message in MIME format. +--------------alternative +Content-Type: text/plain; charset=UTF-8; format=flowed +Content-Transfer-Encoding: 8bit + +テ。テウテコテ、テカテシテ + +--------------alternative +Content-Type: multipart/related; + boundary="------------related" + + +--------------related +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: 8bit + + + + + + + + テ。テウテコテ、テカテシテ
+
+ + + +--------------related +Content-Type: image/png +Content-Transfer-Encoding: base64 +Content-ID: + +iVBORw0KGgoAAAANSUhEUgAAAAYAAAALCAIAAADTMGvBAAAAEUlEQVQImWPgsi5DQwxDWggA +lCEwN+YGfiYAAAAASUVORK5CYII= +--------------related-- + +--------------alternative-- + diff --git a/comm/mail/test/browser/composition/data/content-utf8-alt-rel2.eml b/comm/mail/test/browser/composition/data/content-utf8-alt-rel2.eml new file mode 100644 index 0000000000..0a2df0cd9e --- /dev/null +++ b/comm/mail/test/browser/composition/data/content-utf8-alt-rel2.eml @@ -0,0 +1,46 @@ +From: test +Subject: test multipart, alternative first +To: test2 +Date: Sat, 27 Feb 2016 17:11:45 +0100 +MIME-Version: 1.0 +Content-Type: multipart/alternative; + boundary="------------alternative" + +This is a multi-part message in MIME format. +--------------alternative +Content-Type: text/plain; charset=UTF-8; format=flowed +Content-Transfer-Encoding: 8bit + +テ。テウテコテ、テカテシテ + +--------------alternative +Content-Type: multipart/related; + boundary="------------related" + + +--------------related +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +テ。テウテコテ、テカテシテ
+ + + + + + +
+ + + +--------------related +Content-Type: image/png +Content-Transfer-Encoding: base64 +Content-ID: + +iVBORw0KGgoAAAANSUhEUgAAAAYAAAALCAIAAADTMGvBAAAAEUlEQVQImWPgsi5DQwxDWggA +lCEwN+YGfiYAAAAASUVORK5CYII= +--------------related-- + +--------------alternative-- + diff --git a/comm/mail/test/browser/composition/data/content-utf8-rel-alt.eml b/comm/mail/test/browser/composition/data/content-utf8-rel-alt.eml new file mode 100644 index 0000000000..3b43154516 --- /dev/null +++ b/comm/mail/test/browser/composition/data/content-utf8-rel-alt.eml @@ -0,0 +1,40 @@ +From: test +Subject: test multipart, related first +To: test2 +Date: Sat, 27 Feb 2016 17:11:45 +0100 +MIME-Version: 1.0 +Content-Type: multipart/related; + boundary="------------related" + +--------------related +Content-Type: multipart/alternative; + boundary="------------alternative" +Content-Type: text/plain; charset=UTF-8; format=flowed +Content-Transfer-Encoding: 8bit + +テ。テウテコテ、テカテシテ + +--------------alternative +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: 8bit + + + + + + + テ。テウテコテ、テカテシテ
+
+ + +--------------alternative + +--------------related +Content-Type: image/png +Content-Transfer-Encoding: base64 +Content-ID: + +iVBORw0KGgoAAAANSUhEUgAAAAYAAAALCAIAAADTMGvBAAAAEUlEQVQImWPgsi5DQwxDWggA +lCEwN+YGfiYAAAAASUVORK5CYII= + +--------------related-- diff --git a/comm/mail/test/browser/composition/data/content-utf8-rel-only.eml b/comm/mail/test/browser/composition/data/content-utf8-rel-only.eml new file mode 100644 index 0000000000..17e773859e --- /dev/null +++ b/comm/mail/test/browser/composition/data/content-utf8-rel-only.eml @@ -0,0 +1,32 @@ +From: test +Subject: test HTML related only +To: test2 +Date: Sat, 27 Feb 2016 17:11:45 +0100 +MIME-Version: 1.0 +Content-Type: multipart/related; + boundary="------------related" + +This is a multi-part message in MIME format. +--------------related +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: 8bit + + + + + + + テ。テウテコテ、テカテシテ
+ + + + + +--------------related +Content-Type: image/png +Content-Transfer-Encoding: base64 +Content-ID: + +iVBORw0KGgoAAAANSUhEUgAAAAYAAAALCAIAAADTMGvBAAAAEUlEQVQImWPgsi5DQwxDWggA +lCEwN+YGfiYAAAAASUVORK5CYII= +--------------related-- diff --git a/comm/mail/test/browser/composition/data/defective-charset.eml b/comm/mail/test/browser/composition/data/defective-charset.eml new file mode 100644 index 0000000000..7b5c431294 --- /dev/null +++ b/comm/mail/test/browser/composition/data/defective-charset.eml @@ -0,0 +1,28 @@ +To: me@example.com +From: you@example.com +Subject: Test message with Spanish text, no encoding, is windows-1250 (as detected) +Date: Tue, 20 Apr 2021 15:20:34 -0500 +MIME-Version: 1.0 +Content-Type: text/plain; +Content-Transfer-Encoding: 8bit +Content-Language: en-US + +A lo largo de mi vida he sido testigo de muchas historias, experiencias +e interpretaciones de la vida. Y me doy cuenta de que lo que m疽 aprecio +es la honestidad. En estos ltimos meses siento que se ha polarizado an +m疽 esta gran diferencias: las personas que son honestas consigo mismas, +incluso en su deshonestidad, y las que no. Las personas honestas son +aquellas dueas y responsables de su vida. Que no buscan una autoridad +externa que les gue, que les proteja, que les cuide. Las personas +deshonestas son aquellas que se creen vctimas de la vida, que culpan al +otro o a los otros de sus 電esgracias. Que buscan fuera lo que solo +pueden encontrar dentro. A lo largo de mi vida he sido testigo de muchas +historias, experiencias e interpretaciones de la vida. Y me doy cuenta +de que lo que m疽 aprecio es la honestidad. En estos ltimos meses +siento que se ha polarizado an m疽 esta gran diferencias: las personas +que son honestas consigo mismas, incluso en su deshonestidad, y las que +no. Las personas honestas son aquellas dueas y responsables de su vida. +Que no buscan una autoridad externa que les gue, que les proteja, que +les cuide. Las personas deshonestas son aquellas que se creen vctimas +de la vida, que culpan al otro o a los otros de sus 電esgracias. Que +buscan fuera lo que solo pueden encontrar dentro. diff --git a/comm/mail/test/browser/composition/data/en_NZ/en_NZ.aff b/comm/mail/test/browser/composition/data/en_NZ/en_NZ.aff new file mode 100644 index 0000000000..e69de29bb2 diff --git a/comm/mail/test/browser/composition/data/en_NZ/en_NZ.dic b/comm/mail/test/browser/composition/data/en_NZ/en_NZ.dic new file mode 100644 index 0000000000..9c4f5d1758 --- /dev/null +++ b/comm/mail/test/browser/composition/data/en_NZ/en_NZ.dic @@ -0,0 +1,23 @@ +23 +aluminium +an +and +boat +centre +colour +harbour +I +in +jewellery +like +manoeuvred +ochre +of +shone +sky +stars +the +The +to +was +went diff --git a/comm/mail/test/browser/composition/data/evil-meta-msg.eml b/comm/mail/test/browser/composition/data/evil-meta-msg.eml new file mode 100644 index 0000000000..82de0bac65 --- /dev/null +++ b/comm/mail/test/browser/composition/data/evil-meta-msg.eml @@ -0,0 +1,11 @@ +From: Fuzz +To: contact@example.org +Subject: test case 17 +Date: Wed, 11 May 2024 14:31:59 +0000 +Content-Type: text/html + + + + +
KABOOM! + diff --git a/comm/mail/test/browser/composition/data/feed-message.eml b/comm/mail/test/browser/composition/data/feed-message.eml new file mode 100644 index 0000000000..66f81a65ff --- /dev/null +++ b/comm/mail/test/browser/composition/data/feed-message.eml @@ -0,0 +1,26 @@ +From - Fri, 27 Jan 2017 00:19:08 GMT +X-Mozilla-Status: 0041 +X-Mozilla-Status2: 00000000 +X-Mozilla-Keys: +Received: by localhost; Fri, 27 Jan 2017 07:52:26 +0100 +Date: Fri, 27 Jan 2017 00:19:08 GMT +Message-Id: +From: john@example.com +MIME-Version: 1.0 +Subject: Changeset c11fe7c58837ebf4266357d1f31896c7cc4a49b9 +Content-Transfer-Encoding: 8bit +Content-Base: http://hg.mozilla.org/mozilla-central/rev/c11fe7c58837ebf4266357d1f31896c7cc4a49b9 +Content-Type: text/html; charset=UTF-8 + + + + Changeset c11fe7c58837ebf4266357d1f31896c7cc4a49b9 + + + +
+
  • modules/libpref/init/all.js
  • netwerk/base/nsIOService.cpp
  • netwerk/base/nsIOService.h
  • We like using linefeeds only.
+
+ + + diff --git a/comm/mail/test/browser/composition/data/format-flowed.eml b/comm/mail/test/browser/composition/data/format-flowed.eml new file mode 100644 index 0000000000..31e77cb465 --- /dev/null +++ b/comm/mail/test/browser/composition/data/format-flowed.eml @@ -0,0 +1,12 @@ +To: test1@test.invalid +From: test2@test.invalid +Subject: test format flowed reply +Date: Tue, 27 Sep 2016 13:00:40 +0200 +MIME-Version: 1.0 +Content-Type: text/plain; charset=windows-1252; format=flowed +Content-Language: en-US +Content-Transfer-Encoding: 7bit + +first first first first first text text text text text text text text +text text text text text text text text text text text text text text +last last last last last last last last last last last last last last diff --git a/comm/mail/test/browser/composition/data/format1-altering.eml b/comm/mail/test/browser/composition/data/format1-altering.eml new file mode 100644 index 0000000000..b635ef267b --- /dev/null +++ b/comm/mail/test/browser/composition/data/format1-altering.eml @@ -0,0 +1,21 @@ +Message-ID: <11111.11111@example.invalid> +Date: Sun, 18 May 2014 22:31:12 +0200 +MIME-Version: 1.0 +To: test@test.invalid +Content-Type: text/html; charset=utf-8 +Content-Transfer-Encoding: 7bit + + + + + title + + +

heading

+
+
+    Pre line 1
+    Pre line 2
+    
+ + diff --git a/comm/mail/test/browser/composition/data/format1-plain.eml b/comm/mail/test/browser/composition/data/format1-plain.eml new file mode 100644 index 0000000000..c39900369c --- /dev/null +++ b/comm/mail/test/browser/composition/data/format1-plain.eml @@ -0,0 +1,22 @@ +Message-ID: <11111.11111@example.invalid> +Date: Sun, 18 May 2014 22:31:12 +0200 +MIME-Version: 1.0 +To: test@test.invalid +Content-Type: text/html; charset=utf-8 +Content-Transfer-Encoding: 7bit + + + + + title + + + Line 1
+

+ Line 2 +

+
-- 
+      Signature block
+    
+ + diff --git a/comm/mail/test/browser/composition/data/format2-style-attr.eml b/comm/mail/test/browser/composition/data/format2-style-attr.eml new file mode 100644 index 0000000000..5893b72472 --- /dev/null +++ b/comm/mail/test/browser/composition/data/format2-style-attr.eml @@ -0,0 +1,37 @@ +Message-ID: <22222222.2222222@example.invalid> +Date: Sun, 17 Jun 2012 09:42:45 +0200 +From: John Doe +MIME-Version: 1.0 +Subject: Testcase - style attribute +Content-Type: text/html; charset=ISO-8859-1 +Content-Transfer-Encoding: 7bit + + + + + + + *** This text is "Variable Width" ***
+
+ http://www.getthunderbird.comhttp://www.getfirefox.comLorem + ipsum + dolor sit amet, consectetur adipiscing elit. Vestibulum + velit purus, egestas eu commodo ac, imperdiet pretium sem. Nulla + pulvinar commodo rutrum. Duis feugiat facilisis libero, id fermentum + neque molestie vel. Praesent vel nisi metus, a aliquam tellus. Cras + in +
+    Vivamus accumsan bibendum arcu nec egestas. Suspendisse potenti.
+    
+ + diff --git a/comm/mail/test/browser/composition/data/format3-style-tag.eml b/comm/mail/test/browser/composition/data/format3-style-tag.eml new file mode 100644 index 0000000000..b0b27f7ae8 --- /dev/null +++ b/comm/mail/test/browser/composition/data/format3-style-tag.eml @@ -0,0 +1,31 @@ +Message-ID: <33333.33333@example.invalid> +Date: Sun, 17 Jun 2012 09:42:45 +0200 +MIME-Version: 1.0 +Subject: + + + +Type text here + +
+ +
+ + diff --git a/comm/mail/test/browser/composition/data/iso-2022-jp.eml b/comm/mail/test/browser/composition/data/iso-2022-jp.eml new file mode 100644 index 0000000000..79f289cc4a --- /dev/null +++ b/comm/mail/test/browser/composition/data/iso-2022-jp.eml @@ -0,0 +1,12 @@ +To: test1@test.invalid +From: test2@test.invalid +Subject: test quote ISO-2022-JP encoded message +Date: Mon, 17 Aug 2020 10:10:47 +0900 +MIME-Version: 1.0 +Content-Type: text/plain; charset=ISO-2022-JP; format=flowed; delsp=yes +Content-Transfer-Encoding: 7bit +Content-Language: en-US + +hello + +$B@$3&(B diff --git a/comm/mail/test/browser/composition/data/long-html-line.eml b/comm/mail/test/browser/composition/data/long-html-line.eml new file mode 100644 index 0000000000..0c3adda83b --- /dev/null +++ b/comm/mail/test/browser/composition/data/long-html-line.eml @@ -0,0 +1,16 @@ +From: "Long line writer" +To: +Subject: Long HTML line +Date: Wed, 10 Feb 2016 16:45:36 -0600 +MIME-Version: 1.0 +Content-Type: text/html; + charset="us-ascii" +Content-Transfer-Encoding: 7bit + + + + + +We like writing long lines. We like writing long lines. We like writing long lines. We like writing long lines. We like writing long lines. We like writing long lines. We like writing long lines. We like writing long lines. We like writing long lines. We like writing long lines. We like writing long lines. We like writing long lines. We like writing long lines. We like writing long lines. We like writing long lines. We like writing long lines. We like writing long lines. We like writing long lines. We like writing long lines. We like writing long lines. We like writing long lines. We like writing long lines. We like writing long lines. We like writing long lines. We like writing long lines. We like writing long lines. We like writing long lines. We like writing long lines. We like writing long lines. We like writing long lines. We like writing long lines. We like writing long lines. We like writing long lines. We like writing long lines. We like writing long lines. This is 998 long. + + diff --git a/comm/mail/test/browser/composition/data/mime-encoded-subject.eml b/comm/mail/test/browser/composition/data/mime-encoded-subject.eml new file mode 100644 index 0000000000..4b6ff2a263 --- /dev/null +++ b/comm/mail/test/browser/composition/data/mime-encoded-subject.eml @@ -0,0 +1,16 @@ +Return-Path: +Received: from smtp.example.com (smtpu [10.0.0.52]) + by storage (Cyrus v2.3.7-Invoca-RPM-2.3.7-1.1) with LMTPA; + Mon, 26 Dec 2011 20:49:16 +0200 +Message-ID: <4EF8C1A5.1060708@example.com> +Date: Mon, 26 Dec 2011 20:49:09 +0200 +From: Homer +MIME-Version: 1.0 +To: Marge +Subject: =?UTF-8?B?4oiAYeKIikE=?= +Content-Type: text/plain; charset=UTF-8; format=flowed +Content-Transfer-Encoding: 7bit + +Because they're stupid, that's why. That's why everybody does everything! + + -Homer diff --git a/comm/mail/test/browser/composition/data/multipart-charset.eml b/comm/mail/test/browser/composition/data/multipart-charset.eml new file mode 100644 index 0000000000..20827efe54 --- /dev/null +++ b/comm/mail/test/browser/composition/data/multipart-charset.eml @@ -0,0 +1,24 @@ +From: test +Subject: test multipart mixed, attachment with different charset +To: test2 +Date: Sat, 27 Feb 2016 17:11:45 +0100 +MIME-Version: 1.0 +Content-Type: multipart/mixed; + boundary="boundary" + +This is a multi-part message in MIME format. +--boundary +Content-Type: text/plain; charset=EUC-KR; format=flowed +Content-Transfer-Encoding: 7bit + +Hi there. + +--boundary +Content-Type: text/plain; charset=KOI8-R; + name="attachment.tmx" +Content-Transfer-Encoding: 7bit +Content-Disposition: attachment; + filename="attachment.tmx" + +Just some text. +--boundary-- diff --git a/comm/mail/test/browser/composition/data/nest.png b/comm/mail/test/browser/composition/data/nest.png new file mode 100644 index 0000000000..5d5c0b2873 Binary files /dev/null and b/comm/mail/test/browser/composition/data/nest.png differ diff --git a/comm/mail/test/browser/composition/data/non-flowed-plain.eml b/comm/mail/test/browser/composition/data/non-flowed-plain.eml new file mode 100644 index 0000000000..5f1cd3ebbe --- /dev/null +++ b/comm/mail/test/browser/composition/data/non-flowed-plain.eml @@ -0,0 +1,15 @@ +From: test@example.com +To: test@example.com +MIME-Version: 1.0 +Subject:plain text message not using format=flowed +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +line 1 +line 2 +line 3 +line 4 +line 5 +line 6 +line 7 +line 8 diff --git a/comm/mail/test/browser/composition/data/tb-logo.png b/comm/mail/test/browser/composition/data/tb-logo.png new file mode 100644 index 0000000000..aac56e2546 Binary files /dev/null and b/comm/mail/test/browser/composition/data/tb-logo.png differ diff --git a/comm/mail/test/browser/composition/data/testmsg.eml b/comm/mail/test/browser/composition/data/testmsg.eml new file mode 100644 index 0000000000..7aa1127836 --- /dev/null +++ b/comm/mail/test/browser/composition/data/testmsg.eml @@ -0,0 +1,16 @@ +Return-Path: +Received: from smtp.example.com (smtpu [10.0.0.52]) + by storage (Cyrus v2.3.7-Invoca-RPM-2.3.7-1.1) with LMTPA; + Mon, 26 Dec 2011 20:49:16 +0200 +Message-ID: <4EF8C1A5.1060708@example.com> +Date: Mon, 26 Dec 2011 20:49:09 +0200 +From: Homer +MIME-Version: 1.0 +To: Marge +Subject: why +Content-Type: text/plain; charset=UTF-8; format=flowed +Content-Transfer-Encoding: 7bit + +Because they're stupid, that's why. That's why everybody does everything! + + -Homer diff --git a/comm/mail/test/browser/composition/data/xunsent.eml b/comm/mail/test/browser/composition/data/xunsent.eml new file mode 100644 index 0000000000..dab78a0b7f --- /dev/null +++ b/comm/mail/test/browser/composition/data/xunsent.eml @@ -0,0 +1,14 @@ +Message-ID: +Date: Mon, 2 Oct 2023 14:31:45 +0300 +MIME-Version: 1.0 +User-Agent: Thunderbird Daily +Content-Language: en-US +X-Unsent: 1 +To: Alice +From: Carol +Subject: xx unsent +X-Mozilla-Draft-Info: internal/draft; vcard=0; receipt=0; DSN=0; uuencode=0; + attachmentreminder=0; deliveryformat=0 +Content-Type: text/plain + +This is a draft. -- cgit v1.2.3