mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 14:58:37 +09:00
JS - support for Array.prototype.values()
This commit is contained in:
parent
ef6478af8c
commit
f8591643c5
8 changed files with 32 additions and 9 deletions
|
|
@ -1473,6 +1473,8 @@ ReloadPrefsCallback(const char* pref, void* data)
|
|||
sExtraWarningsForSystemJS = Preferences::GetBool(JS_OPTIONS_DOT_STR "strict.debug");
|
||||
#endif
|
||||
|
||||
bool arrayProtoValues = Preferences::GetBool(JS_OPTIONS_DOT_STR "array_prototype_values");
|
||||
|
||||
JS::ContextOptionsRef(cx).setBaseline(useBaseline)
|
||||
.setIon(useIon)
|
||||
.setAsmJS(useAsmJS)
|
||||
|
|
@ -1484,7 +1486,8 @@ ReloadPrefsCallback(const char* pref, void* data)
|
|||
.setThrowOnDebuggeeWouldRun(throwOnDebuggeeWouldRun)
|
||||
.setDumpStackOnDebuggeeWouldRun(dumpStackOnDebuggeeWouldRun)
|
||||
.setWerror(werror)
|
||||
.setExtraWarnings(extraWarnings);
|
||||
.setExtraWarnings(extraWarnings)
|
||||
.setArrayProtoValues(arrayProtoValues);
|
||||
|
||||
JS_SetParallelParsingEnabled(cx, parallelParsing);
|
||||
JS_SetOffthreadIonCompilationEnabled(cx, offthreadIonCompilation);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue