diff options
author | Brian Smith <brian@dbsoft.org> | 2023-09-27 10:45:00 -0500 |
---|---|---|
committer | Brian Smith <brian@dbsoft.org> | 2023-09-27 10:45:00 -0500 |
commit | 582fd0dd81af880f7f71dfb1fc9e7f8df448a56e (patch) | |
tree | c1f045c4665f9638ffc55a30257fa8bfe57ea6a8 /dom | |
parent | f31471e6898db346ea1529d11756e9788215993d (diff) | |
download | uxp-582fd0dd81af880f7f71dfb1fc9e7f8df448a56e.tar.gz |
Issue #1442 - Part 2: Add a run-time preference for toggling the streams API.
https://bugzilla.mozilla.org/show_bug.cgi?id=1272697
Diffstat (limited to 'dom')
-rw-r--r-- | dom/workers/RuntimeService.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dom/workers/RuntimeService.cpp b/dom/workers/RuntimeService.cpp index 239207efc9..6138a3c6de 100644 --- a/dom/workers/RuntimeService.cpp +++ b/dom/workers/RuntimeService.cpp @@ -299,6 +299,7 @@ LoadContextOptions(const char* aPrefName, void* /* aClosure */) .setNativeRegExp(GetWorkerPref<bool>(NS_LITERAL_CSTRING("native_regexp"))) .setAsyncStack(GetWorkerPref<bool>(NS_LITERAL_CSTRING("asyncstack"))) .setWerror(GetWorkerPref<bool>(NS_LITERAL_CSTRING("werror"))) + .setStreams(GetWorkerPref<bool>(NS_LITERAL_CSTRING("streams"))) .setExtraWarnings(GetWorkerPref<bool>(NS_LITERAL_CSTRING("strict"))) .setArrayProtoValues(GetWorkerPref<bool>( NS_LITERAL_CSTRING("array_prototype_values"))); |