Name Description Size
custom_header.js globals jsmime 330
head_mime.js Utility code for converting encoded MIME data. 2154
test_alternate_p7m_handling.js 1955
test_attachment_size.js This test creates some messages with attachments of different types and checks that libmime reports the expected size for each of them. 10245
test_badContentType.js This test checks handling of bad content type of the type reported in bug 659355. Adapted from test_attachment_size.js 3262
test_bug493544.js 4146
test_EncodeMimePartIIStr_UTF8.js 1177
test_handlerRegistration.js Tests switching content-type handlers on demand. 1898
test_hidden_attachments.js This test creates some messages with attachments of different types and checks that libmime emits (or doesn't emit) the attachments as appropriate. 6263
test_jsmime_charset.js 1636
test_message_attachment.js This test verifies that we generate proper attachment filenames. 4901
test_mimeContentType.js possible crash case for Bug 574961 2406
test_mimeStreaming.js This test iterates over the test files in gTestFiles, and streams each as a message and makes sure the streaming doesn't assert or crash. 2468
test_nsIMsgHeaderParser1.js Test suite for nsIMsgHeaderParser functions. 1580
test_nsIMsgHeaderParser2.js Test suite for nsIMsgHeaderParser functions: extractHeaderAddressMailboxes extractFirstName parseDecodedHeader 2748
test_nsIMsgHeaderParser3.js Test suite for nsIMsgHeaderParser function removeDuplicateAddresses: 3475
test_nsIMsgHeaderParser4.js Test suite for nsIMsgHeaderParser::makeFromDisplayAddress. This is what is used to parse in the user input from addressing fields. 6072
test_nsIMsgHeaderParser5.js Test suite for nsIMsgHeaderParser functions: parseDecodedHeader parseEncodedHeader 2970
test_openpgp_decrypt.js Tests to ensure signed and/or encrypted OpenPGP messages are processed correctly by mime. 11631
test_parser.js Read a file into a string (all line endings become CRLF). 10601
test_rfc822_body.js This test verifies that we emit a message/rfc822 body part as an attachment whether or not mail.inline_attachments is true. 2979
test_smime_decrypt.js Tests to ensure signed and/or encrypted S/MIME messages are processed correctly, and the signature status is treated as good or bad as expected. 20161
test_smime_decrypt_allow_sha1.js This file is mostly a copy of test_smime_decrypt.js with the difference that pref mail.smime.accept_insecure_sha1_message_signatures is set to true, and tests using sha-1 are expected to pass. This file must not run in parallel with other s/mime tests. 17025
test_smime_perm_decrypt.js Tests to ensure signed and/or encrypted S/MIME messages are processed correctly, and the signature status is treated as good or bad as expected. 7844
test_structured_headers.js 8673
test_text_attachment.js This test verifies that we don't display text attachments inline when mail.inline_attachments is false. 2725
xpcshell.ini 923