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

774 Коммитов

Автор SHA1 Сообщение Дата
Vineet Deo 9693d0e348 Bug 1839005 - Add missing findbar in multimessageview and webbrowser in 3pane. r=freaktechnik,aleca
**How To Test**
- Open thunderbird. Use your find function and ensure findbar shows up and works.
- Switch to a multimessageview. Use your find function and ensure findbar shows up and works.
- Switch between message view and multimessageview to ensure that find bar is not overlapping or confusing browsers.

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

--HG--
extra : moz-landing-system : lando
2024-03-20 21:48:59 +00:00
Magnus Melin c349303639 Bug 1885184 - getAttribute fix for browser_extension_update_background_noprompt.js. r=leftmostcat
Differential Revision: https://phabricator.services.mozilla.com/D205119

--HG--
extra : moz-landing-system : lando
2024-03-19 22:01:19 +00:00
Magnus Melin 591355e232 Bug 1885184 - more adjustments for getAttribute(). r=leftmostcat
Fixes mail/base/test/browser/browser_tagsMenusAndKeys.js

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

--HG--
extra : amend_source : a295307fa55f73924300ca1b458eaf0d8800a6d0
2024-03-19 19:11:13 +02:00
Magnus Melin a4f12139e1 Bug 1885184 - Port bug 232598 - getAttribute for xul-elements should return null for unset attributes. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D204943

--HG--
extra : rebase_source : 2b5a3544d8a17271ac93a2892ea2fc6348f46764
extra : amend_source : 51c59baab1a8e78a8a166e07ec39d1297dac624f
2024-03-19 11:48:15 +02:00
Magnus Melin 3870735022 Bug 1878172 - followup, fix linting. rs=eslint DONTBUILD
--HG--
extra : amend_source : 349990aebbaf0240a12ec7335c0bcd44c9c5ceb8
2024-03-13 19:32:30 +02:00
Geoff Lankow 38cd72660f Bug 1878172 - Test getting messages with an expired or bad OAuth access token. r=mkmelin
Includes fixing the POP3 client code to show a notification on failure.

Differential revision: https://phabricator.services.mozilla.com/D204159
2024-03-13 12:12:53 +02:00
Magnus Melin 1ae693417e Bug 1824260 - esmify mailnews/. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D204279

--HG--
rename : mailnews/addrbook/modules/AddrBookDirectory.jsm => mailnews/addrbook/modules/AddrBookDirectory.sys.mjs
rename : mailnews/addrbook/modules/AddrBookMailingList.jsm => mailnews/addrbook/modules/AddrBookMailingList.sys.mjs
rename : mailnews/addrbook/modules/AddrBookUtils.jsm => mailnews/addrbook/modules/AddrBookUtils.sys.mjs
rename : mailnews/addrbook/modules/CardDAVUtils.jsm => mailnews/addrbook/modules/CardDAVUtils.sys.mjs
rename : mailnews/addrbook/modules/LDAPClient.jsm => mailnews/addrbook/modules/LDAPClient.sys.mjs
rename : mailnews/addrbook/modules/LDAPListenerBase.jsm => mailnews/addrbook/modules/LDAPListenerBase.sys.mjs
rename : mailnews/addrbook/modules/LDAPMessage.jsm => mailnews/addrbook/modules/LDAPMessage.sys.mjs
rename : mailnews/addrbook/modules/QueryStringToExpression.jsm => mailnews/addrbook/modules/QueryStringToExpression.sys.mjs
rename : mailnews/addrbook/test/CardDAVServer.jsm => mailnews/addrbook/test/CardDAVServer.sys.mjs
rename : mailnews/addrbook/test/LDAPServer.jsm => mailnews/addrbook/test/LDAPServer.sys.mjs
rename : mailnews/base/src/ABQueryUtils.jsm => mailnews/base/src/ABQueryUtils.sys.mjs
rename : mailnews/base/src/FolderUtils.jsm => mailnews/base/src/FolderUtils.sys.mjs
rename : mailnews/base/src/JXON.jsm => mailnews/base/src/JXON.sys.mjs
rename : mailnews/base/src/LineReader.jsm => mailnews/base/src/LineReader.sys.mjs
rename : mailnews/base/src/MailAuthenticator.jsm => mailnews/base/src/MailAuthenticator.sys.mjs
rename : mailnews/base/src/MailCryptoUtils.jsm => mailnews/base/src/MailCryptoUtils.sys.mjs
rename : mailnews/base/src/MailServices.jsm => mailnews/base/src/MailServices.sys.mjs
rename : mailnews/base/src/MailStringUtils.jsm => mailnews/base/src/MailStringUtils.sys.mjs
rename : mailnews/base/src/MailnewsMigrator.jsm => mailnews/base/src/MailnewsMigrator.sys.mjs
rename : mailnews/base/src/MsgDBCacheManager.jsm => mailnews/base/src/MsgDBCacheManager.sys.mjs
rename : mailnews/base/src/MsgIncomingServer.jsm => mailnews/base/src/MsgIncomingServer.sys.mjs
rename : mailnews/base/src/MsgKeySet.jsm => mailnews/base/src/MsgKeySet.sys.mjs
rename : mailnews/base/src/OAuth2.jsm => mailnews/base/src/OAuth2.sys.mjs
rename : mailnews/base/src/OAuth2Providers.jsm => mailnews/base/src/OAuth2Providers.sys.mjs
rename : mailnews/base/src/TemplateUtils.jsm => mailnews/base/src/TemplateUtils.sys.mjs
rename : mailnews/base/src/VirtualFolderWrapper.jsm => mailnews/base/src/VirtualFolderWrapper.sys.mjs
rename : mailnews/base/src/WinUnreadBadge.jsm => mailnews/base/src/WinUnreadBadge.sys.mjs
rename : mailnews/base/src/hostnameUtils.jsm => mailnews/base/src/hostnameUtils.sys.mjs
rename : mailnews/base/src/mailstoreConverter.jsm => mailnews/base/src/mailstoreConverter.sys.mjs
rename : mailnews/compose/src/MimeEncoder.jsm => mailnews/compose/src/MimeEncoder.sys.mjs
rename : mailnews/compose/src/MimeMessage.jsm => mailnews/compose/src/MimeMessage.sys.mjs
rename : mailnews/compose/src/MimeMessageUtils.jsm => mailnews/compose/src/MimeMessageUtils.sys.mjs
rename : mailnews/compose/src/MimePart.jsm => mailnews/compose/src/MimePart.sys.mjs
rename : mailnews/compose/src/SmtpClient.jsm => mailnews/compose/src/SmtpClient.sys.mjs
rename : mailnews/db/gloda/modules/Collection.jsm => mailnews/db/gloda/modules/Collection.sys.mjs
rename : mailnews/db/gloda/modules/Everybody.jsm => mailnews/db/gloda/modules/Everybody.sys.mjs
rename : mailnews/db/gloda/modules/Facet.jsm => mailnews/db/gloda/modules/Facet.sys.mjs
rename : mailnews/db/gloda/modules/Gloda.jsm => mailnews/db/gloda/modules/Gloda.sys.mjs
rename : mailnews/db/gloda/modules/GlodaConstants.jsm => mailnews/db/gloda/modules/GlodaConstants.sys.mjs
rename : mailnews/db/gloda/modules/GlodaContent.jsm => mailnews/db/gloda/modules/GlodaContent.sys.mjs
rename : mailnews/db/gloda/modules/GlodaDataModel.jsm => mailnews/db/gloda/modules/GlodaDataModel.sys.mjs
rename : mailnews/db/gloda/modules/GlodaDatabind.jsm => mailnews/db/gloda/modules/GlodaDatabind.sys.mjs
rename : mailnews/db/gloda/modules/GlodaDatastore.jsm => mailnews/db/gloda/modules/GlodaDatastore.sys.mjs
rename : mailnews/db/gloda/modules/GlodaExplicitAttr.jsm => mailnews/db/gloda/modules/GlodaExplicitAttr.sys.mjs
rename : mailnews/db/gloda/modules/GlodaFundAttr.jsm => mailnews/db/gloda/modules/GlodaFundAttr.sys.mjs
rename : mailnews/db/gloda/modules/GlodaIndexer.jsm => mailnews/db/gloda/modules/GlodaIndexer.sys.mjs
rename : mailnews/db/gloda/modules/GlodaMsgIndexer.jsm => mailnews/db/gloda/modules/GlodaMsgIndexer.sys.mjs
rename : mailnews/db/gloda/modules/GlodaMsgSearcher.jsm => mailnews/db/gloda/modules/GlodaMsgSearcher.sys.mjs
rename : mailnews/db/gloda/modules/GlodaPublic.jsm => mailnews/db/gloda/modules/GlodaPublic.sys.mjs
rename : mailnews/db/gloda/modules/GlodaQueryClassFactory.jsm => mailnews/db/gloda/modules/GlodaQueryClassFactory.sys.mjs
rename : mailnews/db/gloda/modules/GlodaSyntheticView.jsm => mailnews/db/gloda/modules/GlodaSyntheticView.sys.mjs
rename : mailnews/db/gloda/modules/GlodaUtils.jsm => mailnews/db/gloda/modules/GlodaUtils.sys.mjs
rename : mailnews/db/gloda/modules/IndexMsg.jsm => mailnews/db/gloda/modules/IndexMsg.sys.mjs
rename : mailnews/db/gloda/modules/MimeMessage.jsm => mailnews/db/gloda/modules/MimeMessage.sys.mjs
rename : mailnews/db/gloda/modules/NounFreetag.jsm => mailnews/db/gloda/modules/NounFreetag.sys.mjs
rename : mailnews/db/gloda/modules/NounMimetype.jsm => mailnews/db/gloda/modules/NounMimetype.sys.mjs
rename : mailnews/db/gloda/modules/NounTag.jsm => mailnews/db/gloda/modules/NounTag.sys.mjs
rename : mailnews/db/gloda/modules/SuffixTree.jsm => mailnews/db/gloda/modules/SuffixTree.sys.mjs
rename : mailnews/db/gloda/test/unit/resources/GlodaQueryHelper.jsm => mailnews/db/gloda/test/unit/resources/GlodaQueryHelper.sys.mjs
rename : mailnews/db/gloda/test/unit/resources/GlodaTestHelper.jsm => mailnews/db/gloda/test/unit/resources/GlodaTestHelper.sys.mjs
rename : mailnews/db/gloda/test/unit/resources/GlodaTestHelperFunctions.jsm => mailnews/db/gloda/test/unit/resources/GlodaTestHelperFunctions.sys.mjs
rename : mailnews/export/modules/ProfileExporter.jsm => mailnews/export/modules/ProfileExporter.sys.mjs
rename : mailnews/extensions/newsblog/Feed.jsm => mailnews/extensions/newsblog/Feed.sys.mjs
rename : mailnews/extensions/newsblog/FeedItem.jsm => mailnews/extensions/newsblog/FeedItem.sys.mjs
rename : mailnews/extensions/newsblog/FeedParser.jsm => mailnews/extensions/newsblog/FeedParser.sys.mjs
rename : mailnews/extensions/newsblog/FeedUtils.jsm => mailnews/extensions/newsblog/FeedUtils.sys.mjs
rename : mailnews/imap/src/ImapChannel.jsm => mailnews/imap/src/ImapChannel.sys.mjs
rename : mailnews/imap/src/ImapClient.jsm => mailnews/imap/src/ImapClient.sys.mjs
rename : mailnews/imap/src/ImapIncomingServer.jsm => mailnews/imap/src/ImapIncomingServer.sys.mjs
rename : mailnews/imap/src/ImapMessageService.jsm => mailnews/imap/src/ImapMessageService.sys.mjs
rename : mailnews/imap/src/ImapProtocolHandler.jsm => mailnews/imap/src/ImapProtocolHandler.sys.mjs
rename : mailnews/imap/src/ImapProtocolInfo.jsm => mailnews/imap/src/ImapProtocolInfo.sys.mjs
rename : mailnews/imap/src/ImapResponse.jsm => mailnews/imap/src/ImapResponse.sys.mjs
rename : mailnews/imap/src/ImapService.jsm => mailnews/imap/src/ImapService.sys.mjs
rename : mailnews/imap/src/ImapUtils.jsm => mailnews/imap/src/ImapUtils.sys.mjs
rename : mailnews/import/modules/AddrBookFileImporter.jsm => mailnews/import/modules/AddrBookFileImporter.sys.mjs
rename : mailnews/import/modules/AppleMailProfileImporter.jsm => mailnews/import/modules/AppleMailProfileImporter.sys.mjs
rename : mailnews/import/modules/BaseProfileImporter.jsm => mailnews/import/modules/BaseProfileImporter.sys.mjs
rename : mailnews/import/modules/BeckyProfileImporter.jsm => mailnews/import/modules/BeckyProfileImporter.sys.mjs
rename : mailnews/import/modules/CalendarFileImporter.jsm => mailnews/import/modules/CalendarFileImporter.sys.mjs
rename : mailnews/import/modules/OutlookProfileImporter.jsm => mailnews/import/modules/OutlookProfileImporter.sys.mjs
rename : mailnews/import/modules/SeamonkeyProfileImporter.jsm => mailnews/import/modules/SeamonkeyProfileImporter.sys.mjs
rename : mailnews/import/modules/ThunderbirdProfileImporter.jsm => mailnews/import/modules/ThunderbirdProfileImporter.sys.mjs
rename : mailnews/jsaccount/modules/JSAccountUtils.jsm => mailnews/jsaccount/modules/JSAccountUtils.sys.mjs
rename : mailnews/jsaccount/modules/JaBaseUrl.jsm => mailnews/jsaccount/modules/JaBaseUrl.sys.mjs
rename : mailnews/jsaccount/test/unit/resources/testJaBaseIncomingServer.jsm => mailnews/jsaccount/test/unit/resources/testJaBaseIncomingServer.sys.mjs
rename : mailnews/jsaccount/test/unit/resources/testJaBaseMsgFolder.jsm => mailnews/jsaccount/test/unit/resources/testJaBaseMsgFolder.sys.mjs
rename : mailnews/local/src/Pop3Channel.jsm => mailnews/local/src/Pop3Channel.sys.mjs
rename : mailnews/local/src/Pop3Client.jsm => mailnews/local/src/Pop3Client.sys.mjs
rename : mailnews/mime/src/jsmime.jsm => mailnews/mime/src/jsmime.sys.mjs
rename : mailnews/mime/src/mimeParser.jsm => mailnews/mime/src/mimeParser.sys.mjs
rename : mailnews/news/src/NntpChannel.jsm => mailnews/news/src/NntpChannel.sys.mjs
rename : mailnews/news/src/NntpClient.jsm => mailnews/news/src/NntpClient.sys.mjs
rename : mailnews/news/src/NntpNewsGroup.jsm => mailnews/news/src/NntpNewsGroup.sys.mjs
rename : mailnews/news/src/NntpUtils.jsm => mailnews/news/src/NntpUtils.sys.mjs
rename : mailnews/search/src/PeriodicFilterManager.jsm => mailnews/search/src/PeriodicFilterManager.sys.mjs
extra : rebase_source : 0d95b8d8e0eb6134fe513fab1793e34bab974206
2024-03-12 17:01:01 +02:00
Magnus Melin 3e7c075b21 Bug 1824260 - esmify mail/. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D203760

--HG--
rename : mail/components/AppIdleManager.jsm => mail/components/AppIdleManager.sys.mjs
rename : mail/components/about-support/AboutSupportMac.jsm => mail/components/about-support/AboutSupportMac.sys.mjs
rename : mail/components/about-support/AboutSupportUnix.jsm => mail/components/about-support/AboutSupportUnix.sys.mjs
rename : mail/components/about-support/AboutSupportWin32.jsm => mail/components/about-support/AboutSupportWin32.sys.mjs
rename : mail/components/activity/modules/activityModules.jsm => mail/components/activity/modules/activityModules.sys.mjs
rename : mail/components/activity/modules/alertHook.jsm => mail/components/activity/modules/alertHook.sys.mjs
rename : mail/components/activity/modules/autosync.jsm => mail/components/activity/modules/autosync.sys.mjs
rename : mail/components/activity/modules/glodaIndexer.jsm => mail/components/activity/modules/glodaIndexer.sys.mjs
rename : mail/components/activity/modules/moveCopy.jsm => mail/components/activity/modules/moveCopy.sys.mjs
rename : mail/components/activity/modules/pop3Download.jsm => mail/components/activity/modules/pop3Download.sys.mjs
rename : mail/components/activity/modules/sendLater.jsm => mail/components/activity/modules/sendLater.sys.mjs
rename : mail/components/cloudfile/cloudFileAccounts.jsm => mail/components/cloudfile/cloudFileAccounts.sys.mjs
rename : mail/components/search/SearchIntegration.jsm => mail/components/search/SearchIntegration.sys.mjs
rename : mail/extensions/openpgp/content/BondOpenPGP.jsm => mail/extensions/openpgp/content/BondOpenPGP.sys.mjs
rename : mail/extensions/openpgp/content/modules/CollectedKeysDB.jsm => mail/extensions/openpgp/content/modules/CollectedKeysDB.sys.mjs
rename : mail/extensions/openpgp/content/modules/GPGME.jsm => mail/extensions/openpgp/content/modules/GPGME.sys.mjs
rename : mail/extensions/openpgp/content/modules/GPGMELib.jsm => mail/extensions/openpgp/content/modules/GPGMELib.sys.mjs
rename : mail/extensions/openpgp/content/modules/OpenPGPAlias.jsm => mail/extensions/openpgp/content/modules/OpenPGPAlias.sys.mjs
rename : mail/extensions/openpgp/content/modules/RNP.jsm => mail/extensions/openpgp/content/modules/RNP.sys.mjs
rename : mail/extensions/openpgp/content/modules/RNPLib.jsm => mail/extensions/openpgp/content/modules/RNPLib.sys.mjs
rename : mail/extensions/openpgp/content/modules/armor.jsm => mail/extensions/openpgp/content/modules/armor.sys.mjs
rename : mail/extensions/openpgp/content/modules/constants.jsm => mail/extensions/openpgp/content/modules/constants.sys.mjs
rename : mail/extensions/openpgp/content/modules/core.jsm => mail/extensions/openpgp/content/modules/core.sys.mjs
rename : mail/extensions/openpgp/content/modules/cryptoAPI.jsm => mail/extensions/openpgp/content/modules/cryptoAPI.sys.mjs
rename : mail/extensions/openpgp/content/modules/cryptoAPI/GnuPGCryptoAPI.jsm => mail/extensions/openpgp/content/modules/cryptoAPI/GnuPGCryptoAPI.sys.mjs
rename : mail/extensions/openpgp/content/modules/cryptoAPI/RNPCryptoAPI.jsm => mail/extensions/openpgp/content/modules/cryptoAPI/RNPCryptoAPI.sys.mjs
rename : mail/extensions/openpgp/content/modules/data.jsm => mail/extensions/openpgp/content/modules/data.sys.mjs
rename : mail/extensions/openpgp/content/modules/decryption.jsm => mail/extensions/openpgp/content/modules/decryption.sys.mjs
rename : mail/extensions/openpgp/content/modules/dialog.jsm => mail/extensions/openpgp/content/modules/dialog.sys.mjs
rename : mail/extensions/openpgp/content/modules/encryption.jsm => mail/extensions/openpgp/content/modules/encryption.sys.mjs
rename : mail/extensions/openpgp/content/modules/filters.jsm => mail/extensions/openpgp/content/modules/filters.sys.mjs
rename : mail/extensions/openpgp/content/modules/filtersWrapper.jsm => mail/extensions/openpgp/content/modules/filtersWrapper.sys.mjs
rename : mail/extensions/openpgp/content/modules/fixExchangeMsg.jsm => mail/extensions/openpgp/content/modules/fixExchangeMsg.sys.mjs
rename : mail/extensions/openpgp/content/modules/funcs.jsm => mail/extensions/openpgp/content/modules/funcs.sys.mjs
rename : mail/extensions/openpgp/content/modules/key.jsm => mail/extensions/openpgp/content/modules/key.sys.mjs
rename : mail/extensions/openpgp/content/modules/keyLookupHelper.jsm => mail/extensions/openpgp/content/modules/keyLookupHelper.sys.mjs
rename : mail/extensions/openpgp/content/modules/keyObj.jsm => mail/extensions/openpgp/content/modules/keyObj.sys.mjs
rename : mail/extensions/openpgp/content/modules/keyRing.jsm => mail/extensions/openpgp/content/modules/keyRing.sys.mjs
rename : mail/extensions/openpgp/content/modules/keyserver.jsm => mail/extensions/openpgp/content/modules/keyserver.sys.mjs
rename : mail/extensions/openpgp/content/modules/keyserverUris.jsm => mail/extensions/openpgp/content/modules/keyserverUris.sys.mjs
rename : mail/extensions/openpgp/content/modules/log.jsm => mail/extensions/openpgp/content/modules/log.sys.mjs
rename : mail/extensions/openpgp/content/modules/masterpass.jsm => mail/extensions/openpgp/content/modules/masterpass.sys.mjs
rename : mail/extensions/openpgp/content/modules/mime.jsm => mail/extensions/openpgp/content/modules/mime.sys.mjs
rename : mail/extensions/openpgp/content/modules/mimeDecrypt.jsm => mail/extensions/openpgp/content/modules/mimeDecrypt.sys.mjs
rename : mail/extensions/openpgp/content/modules/mimeEncrypt.jsm => mail/extensions/openpgp/content/modules/mimeEncrypt.sys.mjs
rename : mail/extensions/openpgp/content/modules/mimeVerify.jsm => mail/extensions/openpgp/content/modules/mimeVerify.sys.mjs
rename : mail/extensions/openpgp/content/modules/msgRead.jsm => mail/extensions/openpgp/content/modules/msgRead.sys.mjs
rename : mail/extensions/openpgp/content/modules/persistentCrypto.jsm => mail/extensions/openpgp/content/modules/persistentCrypto.sys.mjs
rename : mail/extensions/openpgp/content/modules/singletons.jsm => mail/extensions/openpgp/content/modules/singletons.sys.mjs
rename : mail/extensions/openpgp/content/modules/sqliteDb.jsm => mail/extensions/openpgp/content/modules/sqliteDb.sys.mjs
rename : mail/extensions/openpgp/content/modules/streams.jsm => mail/extensions/openpgp/content/modules/streams.sys.mjs
rename : mail/extensions/openpgp/content/modules/trust.jsm => mail/extensions/openpgp/content/modules/trust.sys.mjs
rename : mail/extensions/openpgp/content/modules/uris.jsm => mail/extensions/openpgp/content/modules/uris.sys.mjs
rename : mail/extensions/openpgp/content/modules/windows.jsm => mail/extensions/openpgp/content/modules/windows.sys.mjs
rename : mail/extensions/openpgp/content/modules/wkdLookup.jsm => mail/extensions/openpgp/content/modules/wkdLookup.sys.mjs
rename : mail/extensions/openpgp/content/modules/zbase32.jsm => mail/extensions/openpgp/content/modules/zbase32.sys.mjs
rename : mail/modules/ConversationOpener.jsm => mail/modules/ConversationOpener.sys.mjs
rename : mail/modules/DBViewWrapper.jsm => mail/modules/DBViewWrapper.sys.mjs
rename : mail/modules/DisplayNameUtils.jsm => mail/modules/DisplayNameUtils.sys.mjs
rename : mail/modules/GlobalPopupNotifications.jsm => mail/modules/GlobalPopupNotifications.sys.mjs
rename : mail/modules/MailE10SUtils.jsm => mail/modules/MailE10SUtils.sys.mjs
rename : mail/modules/MailMigrator.jsm => mail/modules/MailMigrator.sys.mjs
rename : mail/modules/MailUsageTelemetry.jsm => mail/modules/MailUsageTelemetry.sys.mjs
rename : mail/modules/MailUtils.jsm => mail/modules/MailUtils.sys.mjs
rename : mail/modules/MailViewManager.jsm => mail/modules/MailViewManager.sys.mjs
rename : mail/modules/MessageArchiver.jsm => mail/modules/MessageArchiver.sys.mjs
rename : mail/modules/MsgHdrSyntheticView.jsm => mail/modules/MsgHdrSyntheticView.sys.mjs
rename : mail/modules/PhishingDetector.jsm => mail/modules/PhishingDetector.sys.mjs
rename : mail/modules/QuickFilterManager.jsm => mail/modules/QuickFilterManager.sys.mjs
rename : mail/modules/SearchSpec.jsm => mail/modules/SearchSpec.sys.mjs
rename : mail/modules/SessionStore.jsm => mail/modules/SessionStore.sys.mjs
rename : mail/modules/SessionStoreManager.jsm => mail/modules/SessionStoreManager.sys.mjs
rename : mail/modules/ShortcutsManager.jsm => mail/modules/ShortcutsManager.sys.mjs
rename : mail/modules/SummaryFrameManager.jsm => mail/modules/SummaryFrameManager.sys.mjs
rename : mail/modules/TBDistCustomizer.jsm => mail/modules/TBDistCustomizer.sys.mjs
rename : mail/modules/TabStateFlusher.jsm => mail/modules/TabStateFlusher.sys.mjs
rename : mail/modules/TagUtils.jsm => mail/modules/TagUtils.sys.mjs
rename : mail/modules/WindowsJumpLists.jsm => mail/modules/WindowsJumpLists.sys.mjs
rename : mail/test/browser/shared-modules/AccountManagerHelpers.jsm => mail/test/browser/shared-modules/AccountManagerHelpers.sys.mjs
rename : mail/test/browser/shared-modules/AddressBookHelpers.jsm => mail/test/browser/shared-modules/AddressBookHelpers.sys.mjs
rename : mail/test/browser/shared-modules/AttachmentHelpers.jsm => mail/test/browser/shared-modules/AttachmentHelpers.sys.mjs
rename : mail/test/browser/shared-modules/CloudfileHelpers.jsm => mail/test/browser/shared-modules/CloudfileHelpers.sys.mjs
rename : mail/test/browser/shared-modules/ComposeHelpers.jsm => mail/test/browser/shared-modules/ComposeHelpers.sys.mjs
rename : mail/test/browser/shared-modules/ContentTabHelpers.jsm => mail/test/browser/shared-modules/ContentTabHelpers.sys.mjs
rename : mail/test/browser/shared-modules/DOMHelpers.jsm => mail/test/browser/shared-modules/DOMHelpers.sys.mjs
rename : mail/test/browser/shared-modules/EventUtils.jsm => mail/test/browser/shared-modules/EventUtils.sys.mjs
rename : mail/test/browser/shared-modules/FolderDisplayHelpers.jsm => mail/test/browser/shared-modules/FolderDisplayHelpers.sys.mjs
rename : mail/test/browser/shared-modules/JunkHelpers.jsm => mail/test/browser/shared-modules/JunkHelpers.sys.mjs
rename : mail/test/browser/shared-modules/KeyboardHelpers.jsm => mail/test/browser/shared-modules/KeyboardHelpers.sys.mjs
rename : mail/test/browser/shared-modules/MouseEventHelpers.jsm => mail/test/browser/shared-modules/MouseEventHelpers.sys.mjs
rename : mail/test/browser/shared-modules/NNTPHelpers.jsm => mail/test/browser/shared-modules/NNTPHelpers.sys.mjs
rename : mail/test/browser/shared-modules/NewMailAccountHelpers.jsm => mail/test/browser/shared-modules/NewMailAccountHelpers.sys.mjs
rename : mail/test/browser/shared-modules/NotificationBoxHelpers.jsm => mail/test/browser/shared-modules/NotificationBoxHelpers.sys.mjs
rename : mail/test/browser/shared-modules/OpenPGPTestUtils.jsm => mail/test/browser/shared-modules/OpenPGPTestUtils.sys.mjs
rename : mail/test/browser/shared-modules/PrefTabHelpers.jsm => mail/test/browser/shared-modules/PrefTabHelpers.sys.mjs
rename : mail/test/browser/shared-modules/PromptHelpers.jsm => mail/test/browser/shared-modules/PromptHelpers.sys.mjs
rename : mail/test/browser/shared-modules/QuickFilterBarHelpers.jsm => mail/test/browser/shared-modules/QuickFilterBarHelpers.sys.mjs
rename : mail/test/browser/shared-modules/SearchWindowHelpers.jsm => mail/test/browser/shared-modules/SearchWindowHelpers.sys.mjs
rename : mail/test/browser/shared-modules/SubscribeWindowHelpers.jsm => mail/test/browser/shared-modules/SubscribeWindowHelpers.sys.mjs
rename : mail/test/browser/shared-modules/ViewHelpers.jsm => mail/test/browser/shared-modules/ViewHelpers.sys.mjs
rename : mail/test/browser/shared-modules/WindowHelpers.jsm => mail/test/browser/shared-modules/WindowHelpers.sys.mjs
extra : rebase_source : 029a50bec27e1a8f8baf7ba3c2d8aefb87fad6a0
extra : amend_source : cbd0d8007716867d0acdb8c325e197f8e03bf7a7
2024-03-09 15:15:16 +02:00
Magnus Melin a801479e0a Bug 1824260 - Fix attachmentchecker. r=freaktechnik
The attachment checker was doing some not quite ok things, and couldn't be converted to a standard module.
Fix the wrongdoings.

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

--HG--
rename : mail/modules/AttachmentChecker.jsm => mail/modules/AttachmentChecker.worker.js
extra : rebase_source : 8cd0e035b571ddc349e3d7f9adbaa44fc58fdfcd
2024-03-08 21:12:41 +02:00
Magnus Melin cdeeed220d Bug 1882477 - Try to fix intermittent comm/mail/base/test/browser/browser_mailContext.js | ...exception in test bound testMultipleMessages ... aTarget is null. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D202919

--HG--
extra : amend_source : be14777899279646fae5e2d9b0ff541e5aba1875
2024-03-09 12:47:55 +02:00
welpy-cw e8b1d00577 Bug 1862197 - Correct scroll position when expanding a row. r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D192348

--HG--
rename : mail/base/test/widgets/files/tree-element-test-levels.js => mail/base/test/widgets/files/tree-element-test-levels.mjs
extra : amend_source : 0f5f66c029ca616ee8ddb4615640d7e51e2d0cf3
2024-03-08 08:56:55 +02:00
Magnus Melin fcf4551fe1 Bug 1882701 - follow-up, fix browser_folderTreeProperties.js - MockColorPicker wants a window. rs=bustage-fix DONTBUILD 2024-02-29 13:57:24 +02:00
Geoff Lankow 090d60f96c Bug 1882701 - Port bug 1878401 - Always pass BrowsingContext to nsIFilePicker::Init. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D203092

--HG--
extra : rebase_source : 5878d116d8873025ba64fc47fbdbb149c5e4f3be
2024-02-29 12:03:40 +02:00
Martin Giger 24efe9eb09 Bug 1882532 - Remove SelectionWidgetController. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D202945

--HG--
extra : moz-landing-system : lando
2024-02-28 17:42:04 +00:00
Micah Ilbery 16b18282e0 Bug 1877324: [Cards View] Add kebab icon button in message cards to open context menu. r=freaktechnik,aleca
Differential Revision: https://phabricator.services.mozilla.com/D201848

--HG--
extra : moz-landing-system : lando
2024-02-28 17:42:04 +00:00
Martin Giger 7739f62c3c Bug 1882347 - Port bug 1853765: Use BrowserTestUtils.isVisible helpers instead of workaround in browser_searchBar.js. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D202852

--HG--
extra : moz-landing-system : lando
2024-02-28 12:50:04 +00:00
Geoff Lankow 55f55f32da Bug 1851536 - Await `TestUtils.promiseTestFinished` instead of passing test scope around. r=mkmelin
This is much cleaner than passing the test scope to each module and calling `registerCleanupFunction`
to shut down servers etc..

`TestUtils.promiseTestFinished` isn't called in XPCShell tests but because they run separately and
everything is cleaned up when the process ends, that doesn't matter.

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

--HG--
extra : rebase_source : 4d3fe3ee0e32777734ccb850c30756cd4074c886
extra : amend_source : 9286c4162da1985f2fa9f7c50198501aecdac011
2024-02-24 21:40:22 +13:00
Geoff Lankow cb4966f731 Bug 1851536 - Implement a proxy to convert HTTP requests to HTTPS for tests. r=john.bieling
Differential Revision: https://phabricator.services.mozilla.com/D202537

--HG--
extra : rebase_source : dc4d0cb00a8607db7927aec8a21698e9277a83e6
extra : amend_source : 85b2a8e206f5207a26836464bed0a8a9a92ce74f
2024-02-22 17:58:07 +13:00
Geoff Lankow 258f4d8fe6 Bug 1878172 - Test getting messages with OAuth2 authentication. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D202534

--HG--
extra : rebase_source : f6b01674afd6ffb2054cb924e7c3408acb9c906e
extra : amend_source : 9af81d0364e40cf1ec578a08589f117acf4291bc
2024-02-14 12:06:37 +13:00
Geoff Lankow bff71fe58c Bug 1881992 - ESMify MailTestUtils.jsm. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D202687

--HG--
rename : mailnews/test/resources/MailTestUtils.jsm => mailnews/test/resources/MailTestUtils.sys.mjs
extra : rebase_source : 5f7ee406d6bbb953a7e84e8839c8cab164035155
extra : amend_source : 4090051db817b9aa335ed5c4b5c102d2c17b6872
2024-02-26 10:43:51 +01:00
Geoff Lankow 97bd1b28bc Bug 1881992 - ESMify MessageGenerator.jsm. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D202686

--HG--
rename : mailnews/test/resources/MessageGenerator.jsm => mailnews/test/resources/MessageGenerator.sys.mjs
extra : rebase_source : c3fee55c1633b3277d81c198c37cb6e7e5a80a3e
extra : amend_source : 4e57c0eef297ecd697e9746fb2b9818e94044927
2024-02-26 10:43:36 +01:00
Geoff Lankow f5938aaf23 Bug 1881992 - ESMify MessageInjection.jsm. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D202685

--HG--
rename : mailnews/test/resources/MessageInjection.jsm => mailnews/test/resources/MessageInjection.sys.mjs
extra : rebase_source : 05b20227aab3f77050422657b4ece45a5ceb76ae
extra : amend_source : 1cebabfe5f442367cfba23cb8207694e8cab7603
2024-02-26 10:42:58 +01:00
Geoff Lankow 5dba4491a1 Bug 1881992 - ESMify PromiseTestUtils.jsm. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D202683

--HG--
rename : mailnews/test/resources/PromiseTestUtils.jsm => mailnews/test/resources/PromiseTestUtils.sys.mjs
extra : rebase_source : 76023d14c7b020135fc4fac897d9a90cc4afee7c
extra : amend_source : 2ad6cb49665f60f9b50bcbad4dda25d1ac4f4634
2024-02-26 10:42:19 +01:00
Martin Giger 9ef60e63ff Bug 1881752 - Update imports to follow ESM conversions for bustage fix. r=babolivier
Differential Revision: https://phabricator.services.mozilla.com/D202578

--HG--
extra : histedit_source : cf86a38881db2e15fa5665e86a444ac9091357a0
2024-02-23 13:54:58 +00:00
Martin Giger ff911384e3 Bug 1881745 - Convert all registered components from JSM to ESM. r=thunderbird-reviewers,ikey
Differential Revision: https://phabricator.services.mozilla.com/D202568

--HG--
rename : calendar/base/src/CalAlarm.jsm => calendar/base/src/CalAlarm.sys.mjs
rename : calendar/base/src/CalAlarmMonitor.jsm => calendar/base/src/CalAlarmMonitor.sys.mjs
rename : calendar/base/src/CalAlarmService.jsm => calendar/base/src/CalAlarmService.sys.mjs
rename : calendar/base/src/CalAttachment.jsm => calendar/base/src/CalAttachment.sys.mjs
rename : calendar/base/src/CalAttendee.jsm => calendar/base/src/CalAttendee.sys.mjs
rename : calendar/base/src/CalCalendarManager.jsm => calendar/base/src/CalCalendarManager.sys.mjs
rename : calendar/base/src/CalDateTime.jsm => calendar/base/src/CalDateTime.sys.mjs
rename : calendar/base/src/CalDefaultACLManager.jsm => calendar/base/src/CalDefaultACLManager.sys.mjs
rename : calendar/base/src/CalDeletedItems.jsm => calendar/base/src/CalDeletedItems.sys.mjs
rename : calendar/base/src/CalDuration.jsm => calendar/base/src/CalDuration.sys.mjs
rename : calendar/base/src/CalEvent.jsm => calendar/base/src/CalEvent.sys.mjs
rename : calendar/base/src/CalFreeBusyService.jsm => calendar/base/src/CalFreeBusyService.sys.mjs
rename : calendar/base/src/CalICSService.jsm => calendar/base/src/CalICSService.sys.mjs
rename : calendar/base/src/CalIcsParser.jsm => calendar/base/src/CalIcsParser.sys.mjs
rename : calendar/base/src/CalIcsSerializer.jsm => calendar/base/src/CalIcsSerializer.sys.mjs
rename : calendar/base/src/CalItipItem.jsm => calendar/base/src/CalItipItem.sys.mjs
rename : calendar/base/src/CalMimeConverter.jsm => calendar/base/src/CalMimeConverter.sys.mjs
rename : calendar/base/src/CalPeriod.jsm => calendar/base/src/CalPeriod.sys.mjs
rename : calendar/base/src/CalProtocolHandler.jsm => calendar/base/src/CalProtocolHandler.sys.mjs
rename : calendar/base/src/CalRecurrenceDate.jsm => calendar/base/src/CalRecurrenceDate.sys.mjs
rename : calendar/base/src/CalRecurrenceInfo.jsm => calendar/base/src/CalRecurrenceInfo.sys.mjs
rename : calendar/base/src/CalRecurrenceRule.jsm => calendar/base/src/CalRecurrenceRule.sys.mjs
rename : calendar/base/src/CalRelation.jsm => calendar/base/src/CalRelation.sys.mjs
rename : calendar/base/src/CalStartupService.jsm => calendar/base/src/CalStartupService.sys.mjs
rename : calendar/base/src/CalTimezoneService.jsm => calendar/base/src/CalTimezoneService.sys.mjs
rename : calendar/base/src/CalTodo.jsm => calendar/base/src/CalTodo.sys.mjs
rename : calendar/base/src/CalWeekInfoService.jsm => calendar/base/src/CalWeekInfoService.sys.mjs
rename : calendar/import-export/CalHtmlExport.jsm => calendar/import-export/CalHtmlExport.sys.mjs
rename : calendar/import-export/CalIcsImportExport.jsm => calendar/import-export/CalIcsImportExport.sys.mjs
rename : calendar/itip/CalItipEmailTransport.jsm => calendar/itip/CalItipEmailTransport.sys.mjs
rename : calendar/itip/CalItipProtocolHandler.jsm => calendar/itip/CalItipProtocolHandler.sys.mjs
rename : calendar/providers/caldav/CalDavCalendar.jsm => calendar/providers/caldav/CalDavCalendar.sys.mjs
rename : calendar/providers/composite/CalCompositeCalendar.jsm => calendar/providers/composite/CalCompositeCalendar.sys.mjs
rename : calendar/providers/memory/CalMemoryCalendar.jsm => calendar/providers/memory/CalMemoryCalendar.sys.mjs
rename : calendar/providers/storage/CalStorageCalendar.jsm => calendar/providers/storage/CalStorageCalendar.sys.mjs
rename : mail/components/AboutRedirector.jsm => mail/components/AboutRedirector.sys.mjs
rename : mail/components/MailGlue.jsm => mail/components/MailGlue.sys.mjs
rename : mail/components/StartupRecorder.jsm => mail/components/StartupRecorder.sys.mjs
rename : mail/components/activity/Activity.jsm => mail/components/activity/Activity.sys.mjs
rename : mail/components/activity/ActivityManager.jsm => mail/components/activity/ActivityManager.sys.mjs
rename : mail/components/activity/ActivityManagerUI.jsm => mail/components/activity/ActivityManagerUI.sys.mjs
rename : mail/components/devtools/devtools-loader.jsm => mail/components/devtools/devtools-loader.sys.mjs
rename : mail/components/migration/src/ThunderbirdProfileMigrator.jsm => mail/components/migration/src/ThunderbirdProfileMigrator.sys.mjs
rename : mail/components/prompts/PromptCollection.jsm => mail/components/prompts/PromptCollection.sys.mjs
rename : mail/extensions/am-e2e/AME2E.jsm => mail/extensions/am-e2e/AME2E.sys.mjs
rename : mailnews/addrbook/modules/AddrBookCard.jsm => mailnews/addrbook/modules/AddrBookCard.sys.mjs
rename : mailnews/addrbook/modules/AddrBookManager.jsm => mailnews/addrbook/modules/AddrBookManager.sys.mjs
rename : mailnews/addrbook/modules/CardDAVDirectory.jsm => mailnews/addrbook/modules/CardDAVDirectory.sys.mjs
rename : mailnews/addrbook/modules/LDAPConnection.jsm => mailnews/addrbook/modules/LDAPConnection.sys.mjs
rename : mailnews/addrbook/modules/LDAPDirectory.jsm => mailnews/addrbook/modules/LDAPDirectory.sys.mjs
rename : mailnews/addrbook/modules/LDAPDirectoryQuery.jsm => mailnews/addrbook/modules/LDAPDirectoryQuery.sys.mjs
rename : mailnews/addrbook/modules/LDAPOperation.jsm => mailnews/addrbook/modules/LDAPOperation.sys.mjs
rename : mailnews/addrbook/modules/LDAPProtocolHandler.jsm => mailnews/addrbook/modules/LDAPProtocolHandler.sys.mjs
rename : mailnews/addrbook/modules/LDAPReplicationService.jsm => mailnews/addrbook/modules/LDAPReplicationService.sys.mjs
rename : mailnews/addrbook/modules/LDAPService.jsm => mailnews/addrbook/modules/LDAPService.sys.mjs
rename : mailnews/addrbook/modules/LDAPSyncQuery.jsm => mailnews/addrbook/modules/LDAPSyncQuery.sys.mjs
rename : mailnews/addrbook/modules/LDAPURLParser.jsm => mailnews/addrbook/modules/LDAPURLParser.sys.mjs
rename : mailnews/addrbook/modules/SQLiteDirectory.jsm => mailnews/addrbook/modules/SQLiteDirectory.sys.mjs
rename : mailnews/addrbook/modules/VCardUtils.jsm => mailnews/addrbook/modules/VCardUtils.sys.mjs
rename : mailnews/addrbook/src/AbAutoCompleteMyDomain.jsm => mailnews/addrbook/src/AbAutoCompleteMyDomain.sys.mjs
rename : mailnews/addrbook/src/AbAutoCompleteSearch.jsm => mailnews/addrbook/src/AbAutoCompleteSearch.sys.mjs
rename : mailnews/addrbook/src/AbLDAPAttributeMap.jsm => mailnews/addrbook/src/AbLDAPAttributeMap.sys.mjs
rename : mailnews/addrbook/src/AbLDAPAutoCompleteSearch.jsm => mailnews/addrbook/src/AbLDAPAutoCompleteSearch.sys.mjs
rename : mailnews/base/src/FolderLookupService.jsm => mailnews/base/src/FolderLookupService.sys.mjs
rename : mailnews/base/src/MailNotificationManager.jsm => mailnews/base/src/MailNotificationManager.sys.mjs
rename : mailnews/base/src/MailNotificationService.jsm => mailnews/base/src/MailNotificationService.sys.mjs
rename : mailnews/base/src/MsgAsyncPrompter.jsm => mailnews/base/src/MsgAsyncPrompter.sys.mjs
rename : mailnews/base/src/OAuth2Module.jsm => mailnews/base/src/OAuth2Module.sys.mjs
rename : mailnews/compose/src/MailtoProtocolHandler.jsm => mailnews/compose/src/MailtoProtocolHandler.sys.mjs
rename : mailnews/compose/src/MessageSend.jsm => mailnews/compose/src/MessageSend.sys.mjs
rename : mailnews/compose/src/SMTPProtocolHandler.jsm => mailnews/compose/src/SMTPProtocolHandler.sys.mjs
rename : mailnews/compose/src/SmtpServer.jsm => mailnews/compose/src/SmtpServer.sys.mjs
rename : mailnews/compose/src/SmtpService.jsm => mailnews/compose/src/SmtpService.sys.mjs
rename : mailnews/db/gloda/components/GlodaAutoComplete.jsm => mailnews/db/gloda/components/GlodaAutoComplete.sys.mjs
rename : mailnews/db/gloda/components/MimeMessageEmitter.jsm => mailnews/db/gloda/components/MimeMessageEmitter.sys.mjs
rename : mailnews/extensions/mdn/MDNService.jsm => mailnews/extensions/mdn/MDNService.sys.mjs
rename : mailnews/extensions/newsblog/NewsBlog.jsm => mailnews/extensions/newsblog/NewsBlog.sys.mjs
rename : mailnews/extensions/offline-startup/OfflineStartup.jsm => mailnews/extensions/offline-startup/OfflineStartup.sys.mjs
rename : mailnews/imap/src/ImapModuleLoader.jsm => mailnews/imap/src/ImapModuleLoader.sys.mjs
rename : mailnews/import/src/SeamonkeyImport.jsm => mailnews/import/src/SeamonkeyImport.sys.mjs
rename : mailnews/import/src/ThunderbirdImport.jsm => mailnews/import/src/ThunderbirdImport.sys.mjs
rename : mailnews/jsaccount/test/unit/resources/TestJaMsgProtocolInfoComponent.jsm => mailnews/jsaccount/test/unit/resources/TestJaMsgProtocolInfoComponent.sys.mjs
rename : mailnews/local/src/Pop3IncomingServer.jsm => mailnews/local/src/Pop3IncomingServer.sys.mjs
rename : mailnews/local/src/Pop3ProtocolHandler.jsm => mailnews/local/src/Pop3ProtocolHandler.sys.mjs
rename : mailnews/local/src/Pop3ProtocolInfo.jsm => mailnews/local/src/Pop3ProtocolInfo.sys.mjs
rename : mailnews/local/src/Pop3Service.jsm => mailnews/local/src/Pop3Service.sys.mjs
rename : mailnews/mime/src/MimeJSComponents.jsm => mailnews/mime/src/MimeJSComponents.sys.mjs
rename : mailnews/news/src/NewsAutoCompleteSearch.jsm => mailnews/news/src/NewsAutoCompleteSearch.sys.mjs
rename : mailnews/news/src/NntpIncomingServer.jsm => mailnews/news/src/NntpIncomingServer.sys.mjs
rename : mailnews/news/src/NntpMessageService.jsm => mailnews/news/src/NntpMessageService.sys.mjs
rename : mailnews/news/src/NntpProtocolHandler.jsm => mailnews/news/src/NntpProtocolHandler.sys.mjs
rename : mailnews/news/src/NntpProtocolInfo.jsm => mailnews/news/src/NntpProtocolInfo.sys.mjs
rename : mailnews/news/src/NntpService.jsm => mailnews/news/src/NntpService.sys.mjs
rename : mailnews/search/src/MsgTraitService.jsm => mailnews/search/src/MsgTraitService.sys.mjs
extra : moz-landing-system : lando
2024-02-23 12:50:48 +00:00
Geoff Lankow 75f91f9506 Bug 1881140 - Fix and test setting of docShellIsActive on about:3pane browsers. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D202288

--HG--
extra : amend_source : 7c4f68c98bcaadef027033a59b248c030c58d3e8
2024-02-21 12:32:02 +02:00
welpy-cw d32114fb16 Bug 1368011 - Disable non-functional "Watch thread" command for multi-folder/synthetic search views. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D202110

--HG--
extra : amend_source : a2afe92f137be964d796309cc8de19b3d52b592a
2024-02-21 09:04:43 +02:00
welpy-cw 81a4b08300 Bug 1861200 - Disable non-functional "Ignore thread" command for multi-folder/synthetic search views. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D202107

--HG--
extra : amend_source : b5a966c112ec51aa006fba817acf9b803959f925
2024-02-21 09:03:54 +02:00
Geoff Lankow ae22bb05ec Bug 1879216 - Only set `docShellIsActive` on content browsers. r=mkmelin
We're only using it to prevent messages in background tabs being marked as read, but the Page
Visibility API will now apply to all tab types that contain a content browser.

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

--HG--
extra : moz-landing-system : lando
2024-02-14 21:56:10 +00:00
Geoff Lankow 7ef575af9e Bug 1836401 - Disable rights notification to fix browser_treeView.js. r=aleca
The "know your rights" notification is reducing the available window area causing the test to fail.

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

--HG--
extra : moz-landing-system : lando
2024-02-14 21:56:10 +00:00
Geoff Lankow 08dec668fc Bug 1878172 - Disable browser_getMessages_badPassword.js on Mac debug builds. r=mkmelin
This test just does not want to co-operate. I think it's possibly something to do with the password prompt, but I don't really know.

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

--HG--
extra : amend_source : 225ee02c920f23dd8c393077f0b7882e8ed5e683
2024-02-14 08:59:55 +02:00
Geoff Lankow ea42a1c1dd Bug 1865289 - Stop the mail context menu opening without the ContextMenu actor. r=mkmelin
Somehow it is possible to simulate a right-click on message content before the ContextMenu actor is
initialised properly. In this case the `context="mailContext"` attribute causes the menu to appear
without going through the proper code, so tests get totally confused and time out.

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

--HG--
extra : amend_source : f6aaa733e04ca517e7be1a1dc96c459b0f677e21
2024-02-14 08:58:47 +02:00
Geoff Lankow 2c644b2833 Bug 1865289 - Stop browser_mailContext.js timing out waiting for Gloda. r=freaktechnik,john.bieling
Differential Revision: https://phabricator.services.mozilla.com/D201679

--HG--
extra : amend_source : ffe4e46d7463ae306c91782228cf56a725bae3d4
2024-02-14 08:57:25 +02:00
Geoff Lankow 3e5e7a1869 Bug 1878172 - Fix several issues with password prompts. r=mkmelin
Primarily this removes a redundant alert dialog when a POP3 server rejects a password, but it also
posts server error responses to the console and tidies up some of the code that launches password
prompt dialogs.

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

--HG--
extra : moz-landing-system : lando
2024-02-09 10:42:36 +00:00
Geoff Lankow 52ec1f3a19 Bug 1878172 - Test getting messages with no password or a bad password. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D201035

--HG--
extra : moz-landing-system : lando
2024-02-09 10:42:36 +00:00
Geoff Lankow 86d02d345f Bug 1879216 - Temporarily stop setting `.docShellIsActive` to avoid assertion failures. r=mkmelin
These calls are failing at https://hg.mozilla.org/mozilla-central/rev/22c6ddd752f4#l7.92 because the browsers aren't top-level.

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

--HG--
extra : amend_source : a7b5c022f08f60532269ca07c592dcf5b2235a00
2024-02-08 08:12:40 +02:00
Geoff Lankow bb2d37dc56 Bug 1860238 - Avoid browser_folderTreeQuirks.js timing out on Mac. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D200913

--HG--
extra : rebase_source : af24b11327c2da9f2384191d280153a4ea7d813c
extra : amend_source : 93afc69088eec9ef5b597ff630f8523ba2e716b0
2024-02-07 21:32:10 +13:00
welpy-cw ba52261a00 Bug 1851975 - Get default sort for synthetic views from preferences. r=mkmelin
The default sort order and type for synthetic views such as conversations are hard coded. Use
the `mailnews.default_sort_order` and `mailnews.default_sort_type` preferences instead.

This patch also restores the missing sort indicator when a synthetic view is opened.

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

--HG--
extra : moz-landing-system : lando
2024-02-05 17:20:04 +00:00
Geoff Lankow 73139607f4 Bug 1878172 - Test the many ways the UI triggers fetching new messages. r=mkmelin
… and some ways in which they could go wrong.

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

--HG--
extra : rebase_source : a2e01e296f3b5d2038f5a1cc2be85911b26ecc76
extra : amend_source : c7cd1d537d84d29edae26d08f424b6c801402290
extra : histedit_source : 4900bad0776f9a7d671594a8d57e7d7bfd81b24f
2024-01-24 20:26:09 +13:00
Geoff Lankow 9f7f99526a Bug 1877884 - Stop browser_interactionTelemetry.js timing out waiting for focus in another place. r=mkmelin
We don't need this bit.

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

--HG--
extra : rebase_source : afd3ba244a7580274c55fd4318f4daf134a729eb
2024-02-02 17:42:22 +13:00
Magnus Melin 4214413ff8 Bug 1848218 - Intermittent comm/mail/base/test/browser/browser_editMenu.js | IMAPDeleted flag should be cleared on message 0 - false == true. r=kaie
The error is very reproducible locally with --verify. This fixes it for me.

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

--HG--
extra : amend_source : 8074c36bcd47c04eb8cd01d2012214feca57a842
2024-02-01 11:10:41 +01:00
Geoff Lankow e66bab044b Bug 1877884 - Stop browser_interactionTelemetry.js timing out waiting for focus. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D200262

--HG--
extra : rebase_source : 9f1c8d1e7521e3302dda94bb94139d7cab14d8d0
2024-02-01 11:03:13 +01:00
Alessandro Castellani 3f11a04277 Bug 1817605 - Split the tree-listbox file into separate modules. r=leftmostcat
Simple code update to separate the tree listbox mixin and its implementaions
into standalone files.
Easier to import only what we need, keep the files small, and enable devs to
work on improvements with fewer collisions.

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

--HG--
rename : mail/base/content/widgets/tree-listbox.mjs => mail/base/content/widgets/listbox/orderable-tree-listbox.mjs
rename : mail/base/content/widgets/tree-listbox.mjs => mail/base/content/widgets/listbox/tree-listbox-mixin.mjs
rename : mail/base/content/widgets/tree-listbox.mjs => mail/base/content/widgets/listbox/tree-listbox.mjs
extra : amend_source : 4e35480b573c6886e5862a7ac75ac7fcfc90cd94
2024-01-31 09:06:09 +02:00
Alessandro Castellani 5ff6d4df1e Bug 1817605 - Convert the tree-listbox widget into an es6 module. r=leftmostcat
Simple conversion from regular JS file to `.mjs`.
Doing so enables us to remove the code block since we won't have leaks
as well as more easily handle imports from and to other modules.

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

--HG--
rename : mail/base/content/widgets/tree-listbox.js => mail/base/content/widgets/tree-listbox.mjs
extra : amend_source : aa87b73d7eb123d78953d09bc572cefdbe98a201
2024-01-31 09:05:33 +02:00
John Bieling 839010dfec Bug 1877398 - Create SmartServerUtils.sys.mjs. r=aleca
Move code to create the smart server from about3Pane.js into a
dedicated module, to be able to re-use it (for example in a WebExtension
API).

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

--HG--
rename : mail/base/content/about3Pane.js => mail/modules/SmartServerUtils.sys.mjs
extra : amend_source : 7e52b68857f83dc6560b71989c73910e832b5594
2024-01-30 12:13:48 +02:00
John Bieling 861a5ccec8 Bug 1817682 - Functions for extensions to add custom column handlers. r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D179632

--HG--
extra : amend_source : 5e8c2382b2823f0cbd581254cda378aa68722e17
2024-01-30 09:28:00 +02:00
Magnus Melin 6904135ab1 Bug 1877379 - Port bug 1876811 - change 'dom.send_after_paint_to_content' to a static pref. r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D199957

--HG--
extra : rebase_source : c65e821e415927731ee607d1507aec89b455ba89
2024-01-30 09:24:50 +02:00
Magnus Melin e5d7e742ce Bug 1877165 - Adjust comm/mail/base/test/performance/browser_preferences_usage.js for now static layout.scrollbar.side. r=aleca
layout.scrollbar.side is now a static pref after bug 1876677

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

--HG--
extra : rebase_source : 12ee35bc8f9d2287ea7dd711b10f1575cfe92589
2024-01-30 09:25:03 +02:00
Micah Ilbery 427350f18e Bug 1876354 - Clip table content without changing the formatting context aligning Cards View content and selection. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D199557

--HG--
extra : amend_source : f2e10780dd1a21fd1ebd252f984377fe30b9548a
2024-01-25 19:51:00 +00:00
Geoff Lankow c4bade9274 Bug 1851536 - Move tests of widgets into their own directory. r=mkmelin
This patch moves tests that are generally independent of the primary UI into their own directory,
which should help with reliability and efficiency of test development.

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

--HG--
rename : mail/base/test/browser/browser_formPickers.js => mail/base/test/widgets/browser_formPickers.js
rename : mail/base/test/browser/browser_linkHandler.js => mail/base/test/widgets/browser_linkHandler.js
rename : mail/base/test/browser/browser_menulist.js => mail/base/test/widgets/browser_menulist.js
rename : mail/base/test/browser/browser_orderableTreeListbox.js => mail/base/test/widgets/browser_orderableTreeListbox.js
rename : mail/base/test/browser/browser_paneSplitter.js => mail/base/test/widgets/browser_paneSplitter.js
rename : mail/base/test/browser/browser_searchBar.js => mail/base/test/widgets/browser_searchBar.js
rename : mail/base/test/browser/browser_selectionWidgetController.js => mail/base/test/widgets/browser_selectionWidgetController.js
rename : mail/base/test/browser/browser_treeListbox.js => mail/base/test/widgets/browser_treeListbox.js
rename : mail/base/test/browser/browser_treeView.js => mail/base/test/widgets/browser_treeView.js
rename : mail/base/test/browser/files/links.html => mail/base/test/widgets/files/links.html
rename : mail/base/test/browser/files/menulist.xhtml => mail/base/test/widgets/files/menulist.xhtml
rename : mail/base/test/browser/files/orderableTreeListbox.xhtml => mail/base/test/widgets/files/orderableTreeListbox.xhtml
rename : mail/base/test/browser/files/paneSplitter.xhtml => mail/base/test/widgets/files/paneSplitter.xhtml
rename : mail/base/test/browser/files/sampleContent.html => mail/base/test/widgets/files/sampleContent.html
rename : mail/base/test/browser/files/searchBar.xhtml => mail/base/test/widgets/files/searchBar.xhtml
rename : mail/base/test/browser/files/selectionWidget.js => mail/base/test/widgets/files/selectionWidget.js
rename : mail/base/test/browser/files/selectionWidget.xhtml => mail/base/test/widgets/files/selectionWidget.xhtml
rename : mail/base/test/browser/files/tree-element-test-common.js => mail/base/test/widgets/files/tree-element-test-common.js
rename : mail/base/test/browser/files/tree-element-test-header.js => mail/base/test/widgets/files/tree-element-test-header.js
rename : mail/base/test/browser/files/tree-element-test-header.xhtml => mail/base/test/widgets/files/tree-element-test-header.xhtml
rename : mail/base/test/browser/files/tree-element-test-levels.js => mail/base/test/widgets/files/tree-element-test-levels.js
rename : mail/base/test/browser/files/tree-element-test-levels.xhtml => mail/base/test/widgets/files/tree-element-test-levels.xhtml
rename : mail/base/test/browser/files/tree-element-test-no-header.js => mail/base/test/widgets/files/tree-element-test-no-header.js
rename : mail/base/test/browser/files/tree-element-test-no-header.xhtml => mail/base/test/widgets/files/tree-element-test-no-header.xhtml
rename : mail/base/test/browser/files/treeListbox.xhtml => mail/base/test/widgets/files/treeListbox.xhtml
rename : mail/base/test/browser/head.js => mail/base/test/widgets/head.js
extra : rebase_source : a6ac9ee6e1f21e506fd0e487a6b954c91ff44580
extra : __touch-noise__ : 349023483
extra : amend_source : 76be5aebc6c1275e212d73d9d104021f217bde1f
2024-01-23 21:20:12 +13:00
Geoff Lankow 10b7d96b72 Bug 1851536 - Unit test GuessConfig with startTLS servers. r=john.bieling
Although our test servers don't support startTLS, we can make them do enough to test GuessConfig finds them.

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

--HG--
extra : rebase_source : 6dfc3744b12bae24c3f5aecb7b7c839845e81967
extra : amend_source : 04dedf8a34dc6b826be4303b9074d0b2dd8b8ef7
2024-01-15 16:47:13 +13:00
Magnus Melin 2cbcc82537 Bug 1875495 - Port bug 1780071 - Linter should yell if using assignment or comparisons inside assertion conditions. r=aleca
Didn't spot any direct errors, but these are the rewrites the plugin does for `--fix`

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

--HG--
extra : amend_source : aa962db6dbcba906fb65b8a74ce1c0ad4f367d9f
2024-01-22 11:21:09 +01:00
Magnus Melin a664922a87 Bug 1875452 - Port bug 1875090 - Rename is_hidden and is_visible test utility functions to camelCase. r=john.bieling
Rename BrowserTestUtils.is_hidden() to isHidden()
Rename BrowserTestUtils.is_visible() to isVisible()

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

--HG--
extra : rebase_source : 01d8e641395aa400b4854ba34dfb735422896c4b
2024-01-19 10:53:42 +00:00
Geoff Lankow 1816aaa18e Bug 1848775 - Wait for IMAP connections to be idle in tests. r=john.bieling
There's many places where we should ensure that an IMAP connection has finished working, before
moving on. For example when removing an IMAP account - if the connection isn't idle then an
indeterminate progress bar remains on the status bar for the rest of the test run.

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

--HG--
extra : amend_source : c0f208637549f963faee65f608f0089a4979d9eb
2024-01-18 07:36:41 +00:00
Alessandro Castellani 18d4de077a Bug 1875145 - Convert FolderTreeProperties to es6 module. r=vineet
Differential Revision: https://phabricator.services.mozilla.com/D198853

--HG--
rename : mail/modules/FolderTreeProperties.jsm => mail/modules/FolderTreeProperties.sys.mjs
extra : moz-landing-system : lando
2024-01-18 17:27:01 +00:00
Alessandro Castellani 60cb56bbbe Bug 1874796 - Convert MailConsts to es6 module. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D198642

--HG--
rename : mail/modules/MailConsts.jsm => mail/modules/MailConsts.sys.mjs
extra : moz-landing-system : lando
2024-01-17 10:17:57 +00:00
Geoff Lankow 19a8666efe Bug 1874067 - Improve usage telemetry identifiers for anonymous elements. r=john.bieling
This creates a new convention of adding a 'data-telemetry-id' attribute to otherwise anonymous or
dynamically generated content where using the ID is not feasible or inappropriate.

It also corrects the telemetry recording of add-on browserAction and composeAction buttons (which
should be obfuscated) and tests that these are handled correctly.

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

--HG--
extra : rebase_source : cc28ce2869779dd069326a2ceb569cbe133cb2a2
2024-01-15 03:35:54 +00:00
Vineet Deo 03fa25b246 Bug 1873377 - Ensure appendNotifcation promise is dealt with in all js files for notificationBox. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D198252

--HG--
extra : amend_source : de1c8bdb449c4d9cd694464282de2cc0fb7a151d
2024-01-15 12:47:59 +02:00
Micah Ilbery 4accc3a1b7 Bug 1865362 - Cards View: Threaded line and thread styling should not appear on Group by Sort items r=elizabeth,aleca
Differential Revision: https://phabricator.services.mozilla.com/D194152

--HG--
extra : moz-landing-system : lando
2024-01-14 11:14:04 +00:00
Geoff Lankow d872175d70 Bug 1874103 - Add missing method externalProtocolHandlerExists in mock protocol service. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D198247

--HG--
extra : moz-landing-system : lando
2024-01-14 08:58:15 +00:00
Magnus Melin 28e54a7819 Bug 1874187 - Port bug 1873914 - Remove PromiseUtils module. r=babolivier
Differential Revision: https://phabricator.services.mozilla.com/D198283

--HG--
extra : rebase_source : 3fd3488856cbdfbe05d3b6e4fc100d69b7feb413
extra : amend_source : 41f394264192ffce3d81b901da745283964f8369
2024-01-11 19:55:47 +02:00
Alfred Peters e752070ca3 Bug 1843221 - Restore icons for watched and ignored threads in unthreaded view. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D197465

--HG--
extra : rebase_source : fd83690494c8fa00c5110b2d5871a5f71e86d1eb
2024-01-06 14:50:23 +00:00
Magnus Melin 87b2fa80d3 Bug 1873189 - Port bug 1845586 - Replace PromiseUtils.defer with Promise.withResolvers. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D197777

--HG--
extra : moz-landing-system : lando
2024-01-05 17:10:16 +00:00
welpy-cw b8a0af2ed0 Bug 1869557 - Focus (not select) row when tree view gets focus by keyboard. r=aleca
When a tree view (thread pane or address book's cards pane) without any previous selections
receives focus by pressing F6 or Tab, this sets focus to the first visible row, instead of
selecting the first row of all as before.

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

--HG--
extra : moz-landing-system : lando
2023-12-19 05:16:30 +00:00
Geoff Lankow f24d675eb9 Bug 1870187 - ESMify Nntpd.jsm. r=mkmelin
Depends on D196521

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

--HG--
rename : mailnews/test/fakeserver/Nntpd.jsm => mailnews/test/fakeserver/Nntpd.sys.mjs
extra : moz-landing-system : lando
2023-12-18 23:09:27 +00:00
Geoff Lankow 6f78f8f74a Bug 1870187 - ESMify Smtpd.jsm. r=mkmelin
Depends on D196520

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

--HG--
rename : mailnews/test/fakeserver/Smtpd.jsm => mailnews/test/fakeserver/Smtpd.sys.mjs
extra : moz-landing-system : lando
2023-12-18 23:09:26 +00:00
Geoff Lankow 9be1af571f Bug 1870187 - ESMify Pop3d.jsm. r=mkmelin
Depends on D196519

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

--HG--
rename : mailnews/test/fakeserver/Pop3d.jsm => mailnews/test/fakeserver/Pop3d.sys.mjs
extra : moz-landing-system : lando
2023-12-18 23:09:26 +00:00
Geoff Lankow 0a2770c865 Bug 1870187 - ESMify Imapd.jsm. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D196519

--HG--
rename : mailnews/test/fakeserver/Imapd.jsm => mailnews/test/fakeserver/Imapd.sys.mjs
extra : moz-landing-system : lando
2023-12-18 23:09:26 +00:00
Geoff Lankow b0c1914b47 Bug 1870187 - ESMify Maild.jsm. r=leftmostcat
Differential Revision: https://phabricator.services.mozilla.com/D196518

--HG--
rename : mailnews/test/fakeserver/Maild.jsm => mailnews/test/fakeserver/Maild.sys.mjs
extra : moz-landing-system : lando
2023-12-18 23:09:25 +00:00
Geoff Lankow e19ad8702c Bug 1851536 - Unit test GuessConfig with TLS servers. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D196265

--HG--
extra : amend_source : bd7328355c10a6f33d97c736899165fb18e08c42
2023-12-15 09:38:25 +02:00
Geoff Lankow 791a3dc8c9 Bug 1851536 - Unit test GuessConfig with plain-text servers. r=freaktechnik
This is the first of at least two patches testing GuessConfig.
In this patch I'll test only plain-text connections to servers.
Future patches will test full TLS connections and hopefully startTLS connections.

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

--HG--
extra : amend_source : 20241bbbc22c873b3b2d775db5d7cd68552e3d70
2023-12-15 09:38:10 +02:00
Geoff Lankow 70000cfe66 Bug 1867532 follow-up - Fix a broken test. r=leftmostcat
I don't really understand why this broke. There must be other things on the event queue when `scrollToIndex` is called.

Also removed the opening of a different menu which doesn't test what it was originally intended for, and is called badly anyway.

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

--HG--
extra : rebase_source : 8613a8663c07faee57c44722dc74652662060287
extra : amend_source : 6c1dc109a8a19089a7c9c67ff2d2a22f3a0d5721
2023-12-14 12:06:56 +13:00
welpy-cw ea5c87a7a3 Bug 1867532 - Scroll selected row into view when opening thread pane context menu by keyboard. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D195104

--HG--
extra : amend_source : 807182ccdea7437575006e8e6a403850559fcc1f
2023-12-13 11:49:18 +02:00
Geoff Lankow 582ab9e66c Bug 1854587 - Request longer timeout in browser_navigation.js. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D195984

--HG--
extra : amend_source : b254276817c2dc01d8eb4e5bb4c57ada63eb7e5c
2023-12-10 22:21:19 +00:00
welpy-cw 62914ed3ee Bug 1865548 - Ensure currentIndex is set when collapsing a thread with selections. r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D194014

--HG--
extra : rebase_source : 56272e424519e522d04a8c007006b3d6411d7b92
extra : histedit_source : 8a5a132c480175c899121af6256e02186603c492
2023-12-05 15:44:58 +00:00
Geoff Lankow 64bb985000 Bug 1867422 - nsIMsgAccountManager.createLocalMailAccount should return the account. r=leftmostcat
Differential Revision: https://phabricator.services.mozilla.com/D195059

--HG--
extra : amend_source : 14a35e1fa6c02aae9ca8c5291a1404a6cfd8b03c
2023-12-05 11:35:31 +02:00
Geoff Lankow 14b2b1ba2a Bug 1859980 - Use createLocalSubfolder where possible in tests. r=leftmostcat
This is a less-ugly pattern, even if it is longer because of all the QueryInterface-ing.

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

--HG--
extra : amend_source : 7741c45bb3591d9d9c755369e385bd5558dc0f52
2023-12-05 11:35:02 +02:00
Geoff Lankow ff862b7296 Bug 1851536 - Test items on the mail context menu, part 3. r=aleca
This tests items on the menu that only apply when opened from the thread tree.

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

--HG--
extra : amend_source : 073c11483c3e33b622b8619241d2a6264578bc0f
2023-12-04 12:13:13 +02:00
Geoff Lankow cd85f7928b Bug 1851536 - Test items on the mail context menu, part 2. r=aleca
This tests items on the menu that open a compose window.

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

--HG--
extra : amend_source : d55de3f430a8bb9b2d36f7d10b190f0034de67be
2023-12-04 12:12:50 +02:00
Geoff Lankow 1d0731b31a Bug 1851536 - Test items on the mail context menu, part 1. r=aleca
This adds a test for items related to the content of the message being displayed, and cleans up a few things.

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

--HG--
extra : amend_source : 86e333e71736964ce3eb1272e87988aeea7755c4
2023-12-04 12:12:29 +02:00
Ben Campbell db71b1cddc Bug 1719121 - Part 2/2, Update tests for mbox refactor. r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D190227

--HG--
extra : rebase_source : 09362bb18da77bddde719833360c84998fc33a55
extra : absorb_source : f70b2632e8afc4d430834b8d51b8cdfd535170fa
extra : histedit_source : 3cc35d2b35899d705a2f07fd298c8603a8e41094
2023-09-28 12:18:45 +13:00
welpy-cw bb82594897 Bug 1832857 - Remove folders from gloda index when cleaning up. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D195183

--HG--
extra : amend_source : 35ef590225e2f3ec68bcd69096b4d5b39b801639
2023-12-02 11:45:40 +02:00
welpy-cw 58a6dc5200 Bug 1866819 - Disable reply, forward, etc. for collapsed threads. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D194832

--HG--
extra : amend_source : 7dca3730b98589f635192be07c31429c8717f63b
2023-12-02 11:44:02 +02:00
Magnus Melin 90f43b6011 Bug 1703164 - convert mail/base/test/browser/files/menulist.xhtml to top level <html>. r=freaktechnik
Test file used by mail/base/test/browser/browser_menulist.js

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

--HG--
extra : moz-landing-system : lando
2023-11-30 09:56:52 +00:00
Brendan Abolivier cb3ce98cc9 Bug 1844664 - Keep track of the command when calling ApplyCommandToIndices on nsMsgSearchDBView for a smart folder. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D194651

--HG--
extra : moz-landing-system : lando
2023-11-29 05:16:16 +00:00
Geoff Lankow ec8c4cfad0 Bug 1851535 - Remove migrations for profiles last used before Thunderbird 91. r=aleca
This code has been present in at least three ESRs. If a user has a profile that has not been
opened by any of those ESRs, they really should start a fresh profile.

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

--HG--
extra : rebase_source : 7ff5a46944a425b2d43ff08dc45b36bede0a7f7d
extra : amend_source : d989aba95de49dd8dc5f0714a03cdbb661722072
2023-11-20 15:09:58 +13:00
Gene Smith 664b889056 Bug 1864776 - Follow-up: Fixes failing test browser_searchMessages.js. r=mkmelin
Now that status changes occur on 500 ms time base, the test was expecting
to instantly see the status display change from "No matches found" to
"10 matches found". So the test needs to wait at least 500ms

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

--HG--
extra : amend_source : 9be9a72c5b9af344b62113d08ce0af9984088819
2023-11-24 12:26:52 +02:00
Geoff Lankow 58a0fb8bc0 Bug 1851536 - Test setting and clearing tags on messages. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D194444

--HG--
extra : amend_source : 4105afa6164b78e3667e7759fe521a602013f91e
2023-11-24 08:05:08 +02:00
Geoff Lankow 31c7351580 Bug 1851536 follow-up - Wait for IMAP connection to become idle before cleaning up. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D194334

--HG--
extra : rebase_source : 4386fa45d57e08d74ff7064849fdfee3bbea42e4
extra : amend_source : 4a84e18bf44d5d1cbdfef4be56813b4ceffb7d69
2023-11-22 20:32:55 +13:00
Geoff Lankow b3bcc45f50 Bug 1851536 - Test the quota status bar panel and the folder properties dialog quota tab. r=mkmelin
This includes an incomplete implementation of RFC 2087 for the IMAP fakeserver, and resurrecting a long-dead
function in nsImapIncomingServer which should make future tests involving IMAP a bit easier to write.

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

--HG--
extra : rebase_source : e70724b757af11fbb90b3881975eb7a3467cee5c
extra : amend_source : 3cc8117ce9a674c6edd08bbb35f249ddc3ac465e
2023-11-20 21:54:56 +13:00
Geoff Lankow f382ea8f2f Bug 1851536 - Test dragging messages around about:3pane. r=mkmelin
This tests dragging messages from one folder to another, dragging messages in from the file system and out to the file system.

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

--HG--
extra : rebase_source : 531cfd0fa968ae63386d90a9a6d0c2e4f4cc4791
2023-11-20 12:25:51 +02:00
Magnus Melin f350675159 Bug 1865068 - Improve nsIMsgAccountManager idl. r=darktrojan
Fix string type and correct method name capitalization.

```
find . -type f -not -path "*.hg*" -not -name "*.cpp" -not -name "*.h" -exec sed -i 's/FindServerIndex(/findServerIndex(/g' {} \;
find . -type f -not -path "*.hg*" -not -name "*.cpp" -not -name "*.h" -exec sed -i 's/FindAccountForServer(/findAccountForServer(/g' {} \;
find . -type f -not -path "*.hg*" -not -name "*.cpp" -not -name "*.h" -exec sed -i 's/WriteToFolderCache(/writeToFolderCache(/g' {} \;
find . -type f -not -path "*.hg*" -not -name "*.cpp" -not -name "*.h" -exec sed -i 's/CleanupOnExit(/cleanupOnExit(/g' {} \;
find . -type f -not -path "*.hg*" -not -name "*.cpp" -not -name "*.h" -exec sed -i 's/SetFolderDoingEmptyTrash(/setFolderDoingEmptyTrash(/g' {} \;
find . -type f -not -path "*.hg*" -not -name "*.cpp" -not -name "*.h" -exec sed -i 's/GetEmptyTrashInProgress(/getEmptyTrashInProgress(/g' {} \;
find . -type f -not -path "*.hg*" -not -name "*.cpp" -not -name "*.h" -exec sed -i 's/SetFolderDoingCleanupInbox(/setFolderDoingCleanupInbox(/g' {} \;
find . -type f -not -path "*.hg*" -not -name "*.cpp" -not -name "*.h" -exec sed -i 's/GetCleanupInboxInProgress(/getCleanupInboxInProgress(/g' {} \;
```

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

--HG--
extra : moz-landing-system : lando
2023-11-20 09:17:46 +00:00
solange valverde fd4765a9eb Bug 1860141 - Cards View: Show the top 3 tags for a message and a +n indicator for additional tags. r=elizabeth
Differential Revision: https://phabricator.services.mozilla.com/D191497

--HG--
extra : moz-landing-system : lando
2023-11-17 23:17:58 +00:00
Geoff Lankow 047df34a82 Bug 1856929 - Stop using STATE_STOP to trigger message display functions. r=mkmelin
This isn't ever going to work the way I'd originally intended, so instead I've added a new
nsIMailProgressListener callback for handling attachments as soon as they're available, and will
do everything else on the DOMContentLoaded event.

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

--HG--
extra : rebase_source : 707bce23b4372521e99d46c08f3e5698537739e9
extra : amend_source : 0d67631a2ade9198e0f86b8be790ed0975a9f5ba
2023-11-02 12:56:41 +13:00
Geoff Lankow 6c19089ada Bug 1851536 - Test items on the folder pane context menu, part 3. r=john.bieling
Tests the Empty Trash and Empty Junk items.

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

--HG--
extra : amend_source : 55b8da32c290f5226cd2e650555da6b5f623aec2
2023-11-14 12:52:39 +02:00
Geoff Lankow f9b5e9d868 Bug 1862822 - Don't mark messages in background tabs as read. r=mkmelin
This changes uses the page visibility API to avoid marking messages as read until the tab is
switched to. First I had to mark background browsers as inactive for the API to work.

In order to test the behaviour with an IMAP server, I had to modify the IMAP fakeserver to send
message flags in the response to a FETCH command, as real servers do. Then I discovered the \Seen
flag isn't propagated if it's the only flag, which seems like a real problem that should be fixed.

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

--HG--
extra : amend_source : a20f13257b4582dd1899d3f76d00c75af6bcd7b8
2023-11-13 12:51:21 +02:00
Magnus Melin f03f68a187 Bug 1863204 - Remove unnecessary calls to Cu.importGlobalProperties for fetch/crypto (webidl names are automatically imported). r=eslint 2023-11-11 12:49:54 +02:00
Brendan Abolivier 037da139a2 Bug 1832149 - Properly route status updates to the main window for user feedback. r=leftmostcat,aleca
Partly based on the changes @gds suggested at https://bugzilla.mozilla.org/show_bug.cgi?id=1832149#c9

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

--HG--
extra : amend_source : dc6b202c2466470caaacd3a3037af3bd24f3062d
2023-11-08 13:48:21 -08:00
Daniel Darnell 14314db9cf Backed out changeset e17b527b5e89 (bug 1862822) rs=backout 2023-11-07 14:52:11 -08:00
Geoff Lankow 27b7a1c299 Bug 1851536 - Move test IMAP and NNTP servers into modules. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D192529

--HG--
extra : amend_source : 19a1b38f7d85791b9836c4b731ee2e3ce6c1bf72
2023-11-07 15:19:54 +02:00
Geoff Lankow d8598cb6a1 Bug 1851536 - Add newsgroups to browser_folderPaneContext.js. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D192299

--HG--
extra : amend_source : 300f43c4611c00e9ca8de51c0b8af3f12e391a8f
2023-11-07 15:19:21 +02:00
Geoff Lankow e1f51cd133 Bug 1862822 - Don't mark messages in background tabs as read. r=mkmelin
This changes uses the page visibility API to avoid marking messages as read until the tab is
switched to. First I had to mark background browsers as inactive for the API to work.

In order to test the behaviour with an IMAP server, I had to modify the IMAP fakeserver to send
message flags in the response to a FETCH command, as real servers do. Then I discovered the \Seen
flag isn't propagated if it's the only flag, which seems like a real problem that should be fixed.

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

--HG--
extra : amend_source : a5634000f67ffe8cd71c5137bb33e027ca031383
2023-11-07 12:41:16 +02:00
Magnus Melin dc9dec31a4 Bug 1861490 - Fix intermittent comm/mail/base/test/browser/browser_threadTreeDeleting.js | selected row should be the last visible row. r=darktrojan
Listen to scrollend event and use a normal timeout after that.

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

--HG--
extra : rebase_source : 3f52857d747ca7b8a4931b886c7ecdc5fc1be751
extra : amend_source : 9dcad1d99b5a35978baede61c4450e27f9e93c57
extra : absorb_source : ed48470b85a14add66bdd8e3404cc4562a73e09b
2023-11-04 12:50:28 +02:00
Magnus Melin 1f4a59f399 Backed out changeset 43375a7218f0 (bug 1861490) DONTBUILD
--HG--
extra : amend_source : 7bdc0827f539f646dcfc31fa08eb1484b9ff0e1f
2023-11-03 15:00:27 +02:00
Magnus Melin 3d88a2ab62 Bug 1861490 - Fix intermittent comm/mail/base/test/browser/browser_threadTreeDeleting.js | selected row should be the last visible row. r=darktrojan
Listen to scrollend event and use a normal timeout after that.

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

--HG--
extra : rebase_source : 85662f34cfdbf3f679fc073690816523c176c1e1
2023-11-02 09:05:12 +02:00
Geoff Lankow c4e200f6e5 Bug 1851536 - Test items on the folder pane context menu, part 2. r=mkmelin
Tests "Mark Folder Read" and "Mark All Folders Read".

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

--HG--
extra : rebase_source : 037d25ed51ac69cfb9fcbeea80ab4ec4fd081359
extra : amend_source : 9486b9c45094c782f480dde505bebbb1b2f577ca
2023-10-31 12:48:23 +13:00
Geoff Lankow 2385a2df59 Bug 1842420 - Fix "mark as read" context menu item for virtual folders. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D192291

--HG--
extra : rebase_source : 72a748704195118b59d92e6978a905a7b035c030
extra : amend_source : d6ba5bfd4fd3890d574ff0f57e1057a75f9f49ba
2023-10-30 12:38:34 +13:00
Alessandro Castellani 7d101fa3a9 Bug 1854255 - Enforce prefer-const eslint rule in the whole mail/ directory. r=john.bieling
Differential Revision: https://phabricator.services.mozilla.com/D192040

--HG--
extra : moz-landing-system : lando
2023-10-28 01:16:36 +00:00
Geoff Lankow 89f11ad153 Bug 1845391 - Refresh the thread tree without rebuilding it where possible. r=leftmostcat
Differential Revision: https://phabricator.services.mozilla.com/D191508

--HG--
extra : amend_source : c517ceaaea706ba747b8a57d945b353ac207f0ad
2023-10-26 10:31:26 +01:00
Martin Giger 451150f825 Bug 1835687 - Use HTML search-bar widget in quick filter bar. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D190713

--HG--
rename : mail/components/unifiedtoolbar/content/search-bar.mjs => mail/base/content/widgets/search-bar.mjs
rename : mail/components/unifiedtoolbar/test/browser/browser_searchBar.js => mail/base/test/browser/browser_searchBar.js
rename : mail/components/unifiedtoolbar/test/browser/files/searchBar.xhtml => mail/base/test/browser/files/searchBar.xhtml
extra : amend_source : d2c17892f8717285cd887107bcb1428107e9d2dc
2023-10-25 17:41:17 +01:00
welpy-cw d8acd71eaa Bug 1860539 - Disable open in conversation for multiple selected messages. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D191640

--HG--
extra : amend_source : bff1456d5f410f431d84a4f90549c4bcbb50eb61
2023-10-25 17:39:17 +01:00
welpy-cw ec85e2144c Bug 1847792 - Fix cmd_nextUnreadMsg for collapsed thread. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D191740

--HG--
extra : amend_source : 2f5377642daa2e47a6c8751e4971b0f1ccd22a06
2023-10-25 17:38:07 +01:00
Magnus Melin 0bb74fcd4d Bug 1857835 - Make Message Convert to Event... work with message pane turned off. r=freaktechnik
Disabling it properly for .eml messages opened from file. The implementation won't work with that.

Also clearing out old cruft which is not used (outside the search dialog) post Supernova.

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

--HG--
extra : amend_source : 278ca24ad22cd9ab0b4c7f17ac865f12f4837d8c
2023-10-25 10:33:16 +01:00
Martin Giger 8057a2c902 Bug 1860082 - Update modules referenced in browser_startup that were converted to ESM in mozilla-central. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D191463

--HG--
extra : amend_source : 72867daba04f7b05a08a5a17df8952bcc43c725a
extra : histedit_source : efad45ee49e5f64621b17fa0186f8f525edc4ea2
2023-10-24 17:37:23 +01:00
Martin Giger 250b7b346b Bug 1860082 - Catch up on remaining module imports with mozilla-central ES module conversion. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D191455

--HG--
extra : amend_source : 4b62de902b3273a2d7320266c81e3fc582370265
extra : histedit_source : e5d6f14765bb4ff950a2885b61bfb1e3c8fe2c8a
2023-10-24 17:37:01 +01:00
Magnus Melin 99e5d3a7aa Bug 1859330 - Try to fix intermittent comm/mail/base/test/browser/browser_threadTreeQuirks.js - TypeError: can't access property "getAttribute", threadTree.getRowAtIndex(...) is null. r=john.bieling
Differential Revision: https://phabricator.services.mozilla.com/D191511

--HG--
extra : rebase_source : fe0311df9974dc58397563ab8760c60114b3d707
extra : amend_source : 830d489e168d80a79e75a913a7ce14f68221820d
2023-10-21 13:56:27 +03:00
welpy-cw 65364f790e Bug 1859938 - Re-enable forwarding by hotkey for multiple messages. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D191419

--HG--
extra : moz-landing-system : lando
2023-10-19 22:33:41 +00:00
John Bieling b668327929 Bug 1859090 - ESMify ExtensionSupport.jsm. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D191180

--HG--
rename : mail/modules/ExtensionSupport.jsm => mail/modules/ExtensionSupport.sys.mjs
extra : moz-landing-system : lando
2023-10-18 16:45:48 +00:00
Magnus Melin e46ee7e77a Bug 1859273 - Port bug 1857999 to Thunderbird - Stop using xml-stylesheet processing instructions for styling non-test xhtml documents. r=freaktechnik
Using https://github.com/Mossop/depi

find -name "*.xhtml" -not -path "./suite/*" > /tmp/depi/filelist.txt
node index.js path-to/comm/

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

--HG--
extra : amend_source : 9b289924f64aa4b22a9ebfaaf3c8853bc1d2f69d
extra : absorb_source : 3aa297db246dfd7ebcbac5d8465f4b639c054c54
2023-10-18 11:00:28 +01:00
Magnus Melin 052a699983 Bug 1824919 - Try to fix intermittent comm/mail/base/test/browser/browser_treeView.js | 'select' event didn't fire before the delay. r=freaktechnik
We can't guarantee the check will take place in the 240-250 time frame. If it gets checked after 250 it may be too late to get the right result.

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

--HG--
extra : amend_source : 552c7a6e0082fe195d76985ecceb54141254edbc
extra : absorb_source : 898ade1a33181a66914d7baea3f1225f219eb417
2023-10-18 10:58:23 +01:00
Brendan Abolivier 1c8566a212 Backed out changeset f4f04805089a (bug 1824919) for causing test failures.
--HG--
extra : amend_source : 71e5c92a531848ad7f0ff3db10251a748d8d0d03
2023-10-16 20:47:06 +01:00
Magnus Melin 2ea7b80cf4 Bug 1824919 - Try to fix intermittent comm/mail/base/test/browser/browser_treeView.js | 'select' event didn't fire before the delay. r=freaktechnik
We can't guarantee the check will take place in the 240-250 time frame. If it gets checked after 250 it may be too late to get the right result.

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

--HG--
extra : amend_source : 40b07a7d8ebacc806c0ed62350756be01df0405d
2023-10-16 19:25:56 +01:00
Elizabeth Mitchell d45a96cef5 Bug 1843486 - Add table navigation in message list rows. r=aleca
- Allow navigating message table cells and rows by keyboard.
- Add visual indicator for row cell with navigation by keyboard.
- Ensure NVDA reads selected status correctly if a row is selected.

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

--HG--
extra : histedit_source : 4111b359c17ffff768c72edd2fad1d459755ea0b
2023-09-24 06:01:31 +00:00
welpy-cw 4c2456d0d6 Bug 1850190 - Restore mailnews.scroll_to_new_message functionality. r=freaktechnik
Scroll newly received messages into view without selecting them when entering a folder. Any
message selections will not be restored in this case.

This is the default behavior of earlier Thunderbird versions and can be disabled by setting
the preference `mailnews.scroll_to_new_message` to `false`.

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

--HG--
extra : histedit_source : 35fc1f8c2b6f1ace8dfbc1776d3ec38d8e2689c9
2023-09-26 20:38:41 +00:00
Magnus Melin cdda7afed4 Bug 1832857 - Wait up to 1s instead of 500ms for gloda indexing, to prevent random timeouts in browser_mailContext.js. r=elizabeth
Differential Revision: https://phabricator.services.mozilla.com/D190543

--HG--
extra : amend_source : aea0e20bfbbd1af4e2fff1a72f772331497eb67c
2023-10-10 08:13:19 +00:00
Geoff Lankow 5c3a735939 Bug 1617887 - Make the functions for opening and closing windows async. r=aleca
Mozmill had some complicated ways of tracking windows as they opened and closed that involve timers and hacking the event loop.
We can do much better with Promises, and BrowserTestUtils already provides the tools we need.

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

--HG--
extra : rebase_source : 8117fb4f08580ebfc472e31d262d404862c26885
extra : amend_source : 42db542877761d86058f956837fd99996ee4491a
2023-10-04 18:10:15 +13:00
Martin Giger 3b4457539d Bug 1744143 - De-XPCOM chat logger. r=leftmostcat
Differential Revision: https://phabricator.services.mozilla.com/D190477

--HG--
extra : moz-landing-system : lando
2023-10-11 06:05:40 +00:00
welpy-cw 7428d67504 Bug 1855065 - Re-enable compose actions for multiple messages at once. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D190064

--HG--
extra : amend_source : 2052b01c5a1bab308b50ea362653ecd2a3d36386
2023-10-05 13:51:41 +03:00
Magnus Melin c566be6301 Bug 1855160 - Remove "Move (or Copy) to <folder> again" from folder context menus. r=aleca
... and add the last moved/copied to folder instead as a separate top level item under the Move/Copy folder context menus.

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

--HG--
extra : rebase_source : 0f6af4b7342e8212dc665aae6a5421b1b8a3d623
extra : amend_source : b8e5b19bae9f70f4cb198e388d454354e2a6c4aa
2023-10-05 13:51:23 +03:00
Geoff Lankow 33cd685229 Bug 1854836 - Remove hack in browser_searchMessages.js. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D189989

--HG--
extra : moz-landing-system : lando
2023-10-04 04:21:09 +00:00
welpy-cw 7c3812625e Bug 1853558 - Re-enable opening multiple drafts or templates at once. r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D188527

--HG--
extra : amend_source : 473c980f0f340284ef5aacaabcf3c45b5196b1e6
2023-10-03 13:24:25 +03:00
welpy-cw 62fdc7790c Bug 1851971 - Enable cmd_replyList only for list messages. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D189636

--HG--
extra : amend_source : 08b17d134b00a9e1c09af4899fe81c5bc23f9af0
2023-09-30 10:35:07 +03:00
Geoff Lankow d01ce6f4f5 Bug 1851536 - Test the Search Messages dialog. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D189336

--HG--
extra : rebase_source : 75b3e691d6a177afbdc122adbb07e710cb78d539
extra : amend_source : 50be4068c01b1268234a161c405995f616548fcf
2023-09-19 21:32:07 +12:00
Geoff Lankow 9a430b4f74 Bug 1854295 follow-up - Remove stray linter comment. rs=me
--HG--
extra : rebase_source : f8c91819b0410f861a10ead89f0cc5e74d2ba036
2023-09-28 12:13:55 +13:00
Geoff Lankow 44c6cd1aa6 Bug 1854295 - Improve and extend browser_formPickers.js. r=mkmelin
* Uses dedicated methods from BrowserTestUtils for testing some widgets.
* Adds a few more cases in existing tests.
* Adds testing of the HTML details element.
* Adds testing of forms in mail messages.

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

--HG--
extra : moz-landing-system : lando
2023-09-27 09:47:55 +00:00
Alessandro Castellani 1d16db7669 Bug 481143 - Update the default sorting order to descending for new users. r=babolivier,leftmostcat
Differential Revision: https://phabricator.services.mozilla.com/D187826

--HG--
extra : amend_source : a1a82f34ea5a8929ad63d04196e2c9acc3104c12
2023-09-26 09:03:53 +03:00
Geoff Lankow 97228a7975 Bug 1852922 - Fix leak in about:message when ReloadMessage is called. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D188893

--HG--
extra : amend_source : 5153f7ed7df91f8920d7910691780625e9f83642
2023-09-25 11:42:07 +02:00
Vineet Deo 3b89a401ba Backed out changeset 460936d2b8d9 (bug 1854295) 2023-09-21 11:53:56 -07:00
Geoff Lankow b46f029204 Bug 1854295 - Improve and extend browser_formPickers.js. r=mkmelin
* Uses dedicated methods from BrowserTestUtils for testing some widgets.
* Adds a few more cases in existing tests.
* Adds testing of the HTML details element.
* Adds testing of forms in mail messages.

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

--HG--
extra : amend_source : 690add880f0ce504d7c03a3586e209e726f6ccf5
2023-09-21 11:30:52 +02:00
Alessandro Castellani 991fae5d76 Bug 1854255 - Enable `prefer-const` as linting rule for some tests head files. r=vineet
Differential Revision: https://phabricator.services.mozilla.com/D188765

--HG--
extra : moz-landing-system : lando
2023-09-21 05:40:50 +00:00
Martin Giger 9f2a3f290a Bug 1844699 - Attempt to fix waiting for the remote favicon. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D188730

--HG--
extra : moz-landing-system : lando
2023-09-20 19:22:54 +00:00
Geoff Lankow 9b347e9474 Bug 1851871 - Notify the front end when headers are ready, and try to update the display then. r=BenC,aleca,freaktechnik
This is a little bit of a hack, but it should appear to perform much better.

Once `nsMimeHtmlEmitter` has set the message header data on the `nsIMailChannel`, it causes an
`onStatusChange` event to fire, and the front end responds by displaying the headers.

To avoid confusion when the headers update and the message doesn't (which annoyingly won't happen
until the whole message is ready), on STATE_START the previous message is cleared from the display.

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

--HG--
extra : amend_source : 704adcfcbf62e70b6495bd3046abc70d8303e988
2023-09-20 11:38:35 +02:00
Geoff Lankow acca3b5856 Bug 1851536 - Test the subscribe dialog for IMAP and NNTP. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D188550

--HG--
extra : moz-landing-system : lando
2023-09-20 00:38:54 +00:00
Geoff Lankow 87d7f6767b Bug 1847401 - Display un-searched folders that are descendants of searched folders. r=freaktechnik
If the user wants the unified inbox to not search subfolders, they should still be displayed in the folder tree.

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

--HG--
extra : amend_source : 64654aa34e760103193d042fe2a3cd8e0f8af715
2023-09-18 12:05:48 +02:00
Geoff Lankow c16e3927b9 Bug 1853491 - Port bug 1852963 - Rename BrowserTestUtils.loadURIString() to .startLoadingURIString(). rs=bustage-fix 2023-09-16 16:28:12 +12:00
Brendan Abolivier 21588270ac Bug 1852480 - Make sure every message has been moved back when testing undoing archiving. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D187882

--HG--
extra : moz-landing-system : lando
2023-09-11 15:35:26 +00:00
Geoff Lankow 3364341cdb Bug 1851536 - Test items on the folder pane context menu, part 1. r=mkmelin
Tests for:
- Open in New Tab
- Open in New Window
- New Folder
- Rename
- Delete
- Properties
- Settings

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

--HG--
extra : amend_source : 0868f7e126bddddc0ba25c63f2f2d646aa8975e3
2023-09-11 12:32:12 +03:00
Geoff Lankow 8e5e63672c Backed out changeset b3523ca25ec5 (bug 1840943) until a better fix can be found.
--HG--
extra : rebase_source : 213718f759cce35dee795e15fc52ff4957bb574d
extra : amend_source : 6e353029b6dde88752b412e994d1e8cd458a515f
2023-09-08 10:41:03 +12:00
Vineet Deo c58bfdfa19 Bug 1831280 - Show Condensed Address Pref Needs to Update Thread Pane. r=darktrojan
**How To Test**
- Change the display name of a contact
- Set Prefer Display name preference of contact to be true
- Go to settings and update preference under Display Name to be true
- See if thread pane has been updated to match new display name

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

--HG--
extra : moz-landing-system : lando
2023-09-07 09:42:56 +00:00
Alessandro Castellani bdb516733e Bug 1849919 - Re-enable the Go > Folder menu. r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D186898

--HG--
extra : moz-landing-system : lando
2023-09-06 21:53:26 +00:00