Граф коммитов

381 Коммитов

Автор SHA1 Сообщение Дата
Jorg K c2ee8aa8b8 Bug 1427645 - add 10 tests for body search for non-ASCII bodies encoded in quoted-printable. r=aceman 2018-01-03 01:13:35 +01:00
Jorg K 8cd39076c4 Bug 1427124 - fix body search for non-ASCII bodies (incl. 10 new test cases). r=aceman 2018-01-02 23:33:59 +01:00
Jorg K 4dcc9c1486 Bug 1259534 - fix body search of base64 encoded bodies (incl. 10 new test cases). r=aceman 2017-12-31 12:47:00 +01:00
Florian Quèze 741634dd73 Bug 1421992 - script-generated patch to replace do_execute_soon, do_print and do_register_cleanup with executeSoon, info and registerCleanupFunction in C-C. rs=philipp 2017-12-20 15:46:46 +01:00
Florian Queze d8733aa4e4 Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents in C-C. rs=philipp 2017-12-20 15:44:11 +01:00
Jorg K 44c1e3e068 Bug 1401528 - fix password failure xpcshell tests by switching from C-C's MockFactory to M-C's MockRegistrar. r=aceman 2017-12-01 15:15:00 +01:00
Florian Quèze ed8679f38d Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, rs=Fallen. 2017-11-19 10:54:56 +01:00
Florian Quèze e0e4f6d35a Bug 1356569 - Remove addObserver's last parameter when it is false, rs=Fallen. 2017-11-19 10:54:56 +01:00
aceman cf9c53814a Bug 1401528 - do not reference non-existent args[1] in fakeserver smtpd.js. r=jcranmer 2017-09-25 12:29:00 +02:00
Jorg K 70b7ca5f81 Bug 1395481 - Port bug 1394556: Part 1: Fix JS errors caused by using strict. rs=bustage-fix 2017-08-31 15:39:02 +02:00
Jorg K b03bcb5a33 Bug 1334834 - remove use of nsIAtom from mailnews/nsIFolder*.idl, JS part. r=aceman 2017-08-27 13:57:53 +02:00
Nicholas Nethercote 6fdc0cbe46 Bug 1393692 (part 3) - Avoid atom usage for itemEvent/notifyItemEvent. r=jorgk
nsIMsgFolderListener.itemEvent() and
nsIMsgFolderNotificationService.notifyItemEvent() both have an `in nsISupports
aData` argument that can take an nsIAtom. We're removing nsIAtom usage from
scripts, so this patch gives them both an extra `in AUTF8String aString`
argument that can be used instead to pass string data.

This patch changes the two places that pass an atom (in
nsMsgDBView::ApplyCommandToIndices() and
SyntheticMessageSet.prototype.setJunk()) are changed to pass an equivalent
string via the new argument.
2017-08-25 16:38:48 +10:00
Nicholas Nethercote c32823a921 Bug 1393692 (part 1) - Convert nsIAtom arguments to strings before checking their value. r=jorgk
A number of OnItem*() methods have nsIAtom parameters. Some of these methods
convert those nsIAtoms to strings and then check their value against another
string. Others check their value against an atom obtained from nsIAtomService.

This patch changes the latter methods to be like the former methods, thus
removing numerous uses of nsIAtomService.
2017-08-25 16:35:44 +10:00
Nicholas Nethercote d3924824ef Bug 1393371 - Remove unused references to the nsIAtomService. r=jorgk 2017-08-24 15:42:19 +10:00
Richard Marti 78005a67da Bug 1388403 - Remove uses of Promise.jsm. r=philipp,jorgk 2017-08-11 14:34:06 +02:00
Tooru Fujisawa f096c34488 Bug 1340947 - Part 6: Use for-of when iterating over fixIterator in mailnews/. r=jorgk
--HG--
extra : rebase_source : 642086ae9c4a6ff96f581dc8020abf02e6c375b5
2017-02-20 12:58:22 +09:00
Jorg K df036e0286 Bug 1372899 - provide scriptable MUTF-7 converter and use it in tests. r=aceman 2017-07-01 15:32:47 +02:00
Jorg K c5cb7c2d3c Bug 1363281 - Follow-up: remove UTF-7 decoding from IMAP daemon. r=bustage-fix 2017-06-14 12:00:02 +02:00
Kushal Singh 1dbe824293 Bug 1351453 - Part 1: Do not use deprecated prettiestName attribute of nsIMsgFolder. r=aceman 2017-05-28 18:06:35 +05:30
aceman 1054b0d995 Bug 1357109 - Allow both .filename and .fileName property when dumping an exception in asyncTestUtils.js. r=jorgk 2017-04-17 18:03:01 +02:00
aceman 5fe4e9cb00 Bug 1346954 - improve output when xpcshell test fails in asyncTestUtils.js. r=jorgk 2017-03-13 14:26:00 +01:00
aceman 9180fb6f6b Bug 1332351 - convert some uses of date.toLocaleFormat() in mailnews to fix xpcshell tests. r+a=jorgk 2017-03-11 13:05:00 +01:00
Jorg K 2e3a723d4f Bug 640909 - Fix local scoping of nsITimer in mailTestUtils.js that is susceptible to GC before firing. r=aceman DONTBUILD 2017-03-01 00:42:10 +01:00
Florian Quèze e060e71b1e Bug 1329958 - remove trailing newURI null parameters in comm-central. r=philipp,aleth 2017-01-10 14:16:22 +01:00
Aman Dwivedi 6d0904d94e Bug 1293007 - Replace in-tree consumer of non-standard Iterator() with Object.{values,entries} in mailnews/ in comm-central. r=aceman 2017-01-05 13:43:41 +05:30
Jorg K 239210ac8a Bug 1328847 - Part 1: Change SEC_NORMAL to SEC_ALLOW_CROSS_ORIGIN_DATA_IS_NULL where system principal is used. rs=bustage-fix CLOSED TREE DONTBUILD 2017-01-05 17:04:29 +01:00
Sebastian Hengst 099b6c1a5a Bug 1322124 - Remove javascript Array generics: mailnews. r=aceman
MozReview-Commit-ID: 5qTlAXzUiqX
2016-12-13 14:32:32 +01:00
aceman dde0a10acc Bug 274452 - When accounts are removed, offer to delete files in the Local Directory path. ui-r=paenglab, r=mkmelin,IanN a=IanN 2016-10-22 15:51:00 +02:00
R Kent James ada0b0fa04 Bug 870864 - use real msgWindow in IMAP tests, r=jorgk 2016-09-15 09:46:20 -07:00
aceman d0aafe0262 Bug 1292569 - small tweaks in asyncTestUtils.js::_async_driver(). r=mkmelin 2016-08-09 23:55:23 +02:00
aceman 77951bde86 Bug 1292569 - convert functions containing yield to standard generators (function*) to make xpcshell tests pass. f=asuth, r+a=jorgk CLOSED TREE 2016-08-08 15:09:00 +02:00
aceman 97f235e974 Bug 1292569 - convert functions containing yield to standard generators (function*) to fix mozmill tests. f=mkmelin, r=jorgk, a=jorgk CLOSED TREE 2016-08-07 23:08:36 +02:00
Sebastian Hengst d6ca967d73 Bug 1251419 - Remove non-standard try-catch syntax from comm-central - mailnews part. r=mkmelin 2016-06-19 14:59:17 +02:00
Terje Braten c301ca423d Bug 253830 - "View as plain text" should use text/plain part. r=jcranmer r=jorgk 2013-02-18 11:53:00 +01:00
Magnus Melin 60da9ff34a Bug 561568 - Mails auto sent by "Reply with template" encode non-ASCII characters (in mail body) incorrectly. r=rkent 2016-03-04 23:10:26 +02:00
Joshua Cranmer 75a0968fa2 Bug 1208087 - Add tests for proxy via SOCKS for all protocols, r=rkent.
Ideally, the test framework would be using PAC to set up the proxy (it's much
simpler), but bug 791645 appears to keep this from working properly.

--HG--
extra : commitid : DzX3ynNYdSU
2016-01-19 22:10:42 -06:00
Magnus Melin 65748b535d Bug 405063 - When "Reply with Template" is executed for mail with "From: <>", yields error: "Sending of Message Failed". r=rkent 2016-01-19 22:01:18 +02:00
Sebastian Hengst 0a3448390a Bug 1237602 - Port bug 1220564 - Remove legacy array/generator comprehension: mailnews. r=mkmelin a=aleth 2016-01-12 00:27:48 +01:00
Magnus Melin 925f5749cd Bug 904478 - "Reply with Template" Filters leak email address to mailing lists. r=rkent 2015-12-13 23:00:40 +02:00
Magnus Melin ac47c84f21 Bug 904458 - Filters that "Reply with Template" must add an Auto-Submitted header and prefix subject Auto:. r=irving, rkent
Tests originally by Kent James
2014-04-19 12:59:11 +03:00
R Kent James 0ba0b90b7a Bug 1183490, part 1, Remove QueryInterface from PromiseTestUtils wrapped, r=mkmelin 2015-12-06 00:24:11 -08:00
Tooru Fujisawa 500324bec7 Bug 824104 - Part 3: Remove for-each from mailnews/. r=jcranmer 2015-12-05 14:27:43 +09:00
Magnus Melin 9d168e83df Bug 1209777 - part3: adapt comm-central for bug 589199 (top level const/let change). r=mconley, fallen, jcranmer, aleth. a=mkmelin on CLOSED TREE
Created by this script:
 find mail/ mailnews/ calendar/ chat/ im/ testing/ -type f -iname *.js* -exec sed -i -E 's/^(const|let) /var /g' {} \;
2015-10-11 00:23:56 +03:00
Patrick Cloke 47c9d8e4e7 Bug 1209777 - part1: lexical-components-to-var.sh and global-let-to-var.sh. r=philip.chee, mkmelin
CLOSED TREE seamonkey
2015-10-08 06:53:00 +03:00
aleth d47d45fa04 Bug 1209777 - part2: Replace 'const EXPORTED_SYMBOLS' in comm-central. r=mkmelin 2015-10-08 15:54:02 +02:00
R Kent James 17b656d309 Bug 1152651, copy multiple messages from maildir to maildir fails, r=neil, a=rkent 2015-09-13 20:41:11 -07:00
Stefan Sitter bd92d1097f Bug 1099587 - Make JS callers of ios.newChannel call ios.newChannel2 in mailnews/ r=rkent 2015-05-18 20:41:56 +02:00
Sebastian Hengst 5e081c3741 Bug 1110166 - Port bug 1102219 - Rename String.prototype.contains to String.prototype.includes: mailnews. r=mkmelin 2015-05-01 21:56:56 +02:00
Joshua Cranmer bf7e6a14b0 Bug 1143065 - "TEST-UNEXPECTED-FAIL | mailnews/news/test/unit/test_internalUris.js | xpcshell return code: 0". r=mkmelin 2015-03-19 09:38:00 +02:00
Tooru Fujisawa 11aa3ecd94 Bug 1138098 - Do not use non-standard flag argument of String.prototype.replace in mailnews/test/. r=jcranmer 2015-03-05 00:38:00 +09:00