Bug 1762688 - Enable test_nsIMsgFolderListenerIMAP.js for imap-js. r=mkmelin

Differential Revision: https://phabricator.services.mozilla.com/D157401

--HG--
extra : amend_source : 40e44acbb770366cbebca908859665eb86aea60f
This commit is contained in:
Ping Chen 2022-09-16 20:43:03 +10:00
Родитель 96987724b2
Коммит 6c772a01a4
4 изменённых файлов: 5 добавлений и 10 удалений

Просмотреть файл

@ -62,6 +62,7 @@ class ImapClient {
"@mozilla.org/charset-converter-manager;1"
].getService(Ci.nsICharsetConverterManager);
this._messageUids = [];
this._messages = new Map();
this._loadPrefs();
@ -1230,8 +1231,6 @@ class ImapClient {
"highestRecordedUID",
0
);
this._messageUids = [];
this._messages.clear();
for (let msg of res.messages) {
this._messageUids[msg.sequence] = msg.uid;
this._messages.set(msg.uid, msg);

Просмотреть файл

@ -13,10 +13,6 @@ prefs =
[test_imapHdrChunking.js]
[test_imapHighWater.js]
[test_imapUndo.js]
[test_localToImapFilter.js]
[test_localToImapFilterQuarantine.js]
[test_nsIMsgFolderListenerIMAP.js]
[test_offlineCopy.js]
[test_offlineDraftDataloss.js]
[test_offlinePlayback.js]
[test_offlineMoveLocalToIMAP.js]

Просмотреть файл

@ -36,6 +36,10 @@
skip-if = os == 'mac'
[test_listClosesDB.js]
[test_listSubscribed.js]
[test_localToImapFilter.js]
[test_localToImapFilterQuarantine.js]
[test_lsub.js]
[test_mailboxes.js]
[test_nsIMsgFolderListenerIMAP.js]
[test_offlineCopy.js]
[test_starttlsFailure.js]

Просмотреть файл

@ -13,10 +13,6 @@ prefs =
[test_imapHdrChunking.js]
[test_imapHighWater.js]
[test_imapUndo.js]
[test_localToImapFilter.js]
[test_localToImapFilterQuarantine.js]
[test_nsIMsgFolderListenerIMAP.js]
[test_offlineCopy.js]
[test_offlineDraftDataloss.js]
[test_offlinePlayback.js]
[test_offlineMoveLocalToIMAP.js]