summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBrian Smith <brian@dbsoft.org>2023-04-11 12:58:23 -0500
committerBrian Smith <brian@dbsoft.org>2023-04-27 13:33:47 -0500
commit6b69dad2aa76481c1850bc0f88e1993103bf49c4 (patch)
treef1e865858760608070ff54aa7f749f7a11017e1f /modules
parente4c920f39705f9f328e32ebb00a39dcb26a39a0d (diff)
downloaduxp-6b69dad2aa76481c1850bc0f88e1993103bf49c4.tar.gz
Issue #1691 - Part 6c: Fix a few issues with the earlier commits.
Need PNK_CALL_IMPORT and PNK_IMPORT_META in the node children list or it will abort. When porting ScriptFetchOptions support, I had 2 constructors, I picked the wrong one. Missed adding the preference javascript.options.dynamicImport to all.js. (cherry picked from commit b95ccb711dc41b343d02ae69b3dc4747bbbe86fb)
Diffstat (limited to 'modules')
-rw-r--r--modules/libpref/init/all.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index 265409c6d4..867de35866 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -1292,6 +1292,8 @@ pref("javascript.options.main_thread_stack_quota_cap", 6291456);
pref("javascript.options.main_thread_stack_quota_cap", 2097152);
#endif
+// Dynamic module import.
+pref("javascript.options.dynamicImport", false);
// advanced prefs
pref("advanced.mailftp", false);