summaryrefslogtreecommitdiff
path: root/modules/libpref/init/all.js
diff options
context:
space:
mode:
authorBrian Smith <brian@dbsoft.org>2023-10-02 04:42:24 -0500
committerBrian Smith <brian@dbsoft.org>2023-10-02 04:42:24 -0500
commitec38250eeadfbcd8b261f3e4f345a9c49d01fcb5 (patch)
treeb81625418c8fa14a9f6249da64fc992e9a5de5e7 /modules/libpref/init/all.js
parentb7a5d73ba9752ab9d9c62497997592b290f38a15 (diff)
downloaduxp-ec38250eeadfbcd8b261f3e4f345a9c49d01fcb5.tar.gz
Issue #1442 - Part 24 - Prevent FetchStream from incorrectly running on the main thread.
This prevents a deadlock and JSContext related crashes, however this should eventually be replaced by an EventTargetFor() call when the Dispatcher API is implemented. Also now that ReadableStream appears stable, toggle the preferences true by default.
Diffstat (limited to 'modules/libpref/init/all.js')
-rw-r--r--modules/libpref/init/all.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index 6ae1e276a3..0f3fa7c85c 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -1302,7 +1302,7 @@ pref("javascript.options.main_thread_stack_quota_cap", 2097152);
pref("javascript.options.dynamicImport", true);
// Streams API
-pref("javascript.options.streams", false);
+pref("javascript.options.streams", true);
// advanced prefs
pref("advanced.mailftp", false);
@@ -4529,7 +4529,7 @@ pref("layout.animated-image-layers.enabled", false);
pref("dom.abortController.enabled", true);
// Streams API
-pref("dom.streams.enabled", false);
+pref("dom.streams.enabled", true);
// Push
pref("dom.push.enabled", false);