Bug 1836386 - Convert JSMs in browser/components/newtab/lib/PersonalityProvider to ESMs. r=gvn

Differential Revision: https://phabricator.services.mozilla.com/D184528
This commit is contained in:
Tooru Fujisawa
2023-08-11 08:13:17 +00:00
parent 352024abc2
commit e4b5e76170
14 changed files with 63 additions and 113 deletions

View File

@@ -281,9 +281,6 @@ var allowlist = [
{ file: "chrome://browser/content/screenshots/copy.svg" },
{ file: "chrome://browser/content/screenshots/download.svg" },
{ file: "chrome://browser/content/screenshots/download-white.svg" },
// FIXME: Bug 1836386: PromiseWorker with ESM is going to be used by newtab.
{ file: "resource://gre/modules/workers/PromiseWorker.mjs" },
];
if (AppConstants.NIGHTLY_BUILD && AppConstants.platform != "win") {