From 5fcfcfe268b4d9e6a3bce5ccfb57ae5d85df9a96 Mon Sep 17 00:00:00 2001 From: Rob Lemley Date: Fri, 30 Sep 2022 20:44:33 +1000 Subject: [PATCH] Bug 1792817 - Port bug 1792365: Manual migrate toolkit module imports to ESM. r=mkmelin These modules are not loaded in a way that mach tb-esmify is able to detect. Differential Revision: https://phabricator.services.mozilla.com/D158364 --HG-- extra : amend_source : 0e0888264584d76db7a03ea165f8a40bd49c4534 --- mail/base/test/performance/browser_startup.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mail/base/test/performance/browser_startup.js b/mail/base/test/performance/browser_startup.js index b3174d3d85..4ca887c81e 100644 --- a/mail/base/test/performance/browser_startup.js +++ b/mail/base/test/performance/browser_startup.js @@ -74,8 +74,8 @@ const startupPhases = { "resource:///modules/index_im.jsm", "resource:///modules/MsgDBCacheManager.jsm", "resource:///modules/PeriodicFilterManager.jsm", - "resource://gre/modules/NewTabUtils.jsm", - "resource://gre/modules/Sqlite.jsm", + "resource://gre/modules/NewTabUtils.sys.mjs", + "resource://gre/modules/Sqlite.sys.mjs", // Bug 1660907: These core modules shouldn't really be being loaded // until sometime after first paint. // "resource://gre/modules/PlacesUtils.sys.mjs", @@ -169,7 +169,7 @@ const startupPhases = { "resource:///modules/SmtpServer.jsm", "resource:///modules/SmtpService.jsm", "resource:///modules/TemplateUtils.jsm", - "resource://gre/modules/AsyncPrefs.jsm", + "resource://gre/modules/AsyncPrefs.sys.mjs", "resource://gre/modules/LoginManagerContextMenu.jsm", "resource://pdf.js/PdfStreamConverter.jsm", ]),