summaryrefslogtreecommitdiffstats
path: root/dom
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-03-28 11:33:19 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-03-28 11:33:19 +0200
commitdc8aad9b9dc6983bb88aa586f34d9db007840eb8 (patch)
treec8d904ea558af12c858ee6df1f9a08cfa11434e5 /dom
parent19b934070704c1ed12d3a75bc97752831d23f087 (diff)
parentd990d8ab2cade6c928e8bbe56ae038d020cef599 (diff)
downloadUXP-dc8aad9b9dc6983bb88aa586f34d9db007840eb8.tar
UXP-dc8aad9b9dc6983bb88aa586f34d9db007840eb8.tar.gz
UXP-dc8aad9b9dc6983bb88aa586f34d9db007840eb8.tar.lz
UXP-dc8aad9b9dc6983bb88aa586f34d9db007840eb8.tar.xz
UXP-dc8aad9b9dc6983bb88aa586f34d9db007840eb8.zip
Merge remote-tracking branch 'janek/_testBranch_js_array_values'
Diffstat (limited to 'dom')
-rw-r--r--dom/workers/RuntimeService.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/dom/workers/RuntimeService.cpp b/dom/workers/RuntimeService.cpp
index 1f5616873..1739f3d31 100644
--- a/dom/workers/RuntimeService.cpp
+++ b/dom/workers/RuntimeService.cpp
@@ -301,7 +301,9 @@ 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")))
- .setExtraWarnings(GetWorkerPref<bool>(NS_LITERAL_CSTRING("strict")));
+ .setExtraWarnings(GetWorkerPref<bool>(NS_LITERAL_CSTRING("strict")))
+ .setArrayProtoValues(GetWorkerPref<bool>(
+ NS_LITERAL_CSTRING("array_prototype_values")));
RuntimeService::SetDefaultContextOptions(contextOptions);