Bug 547947 - [E10s] content process root context should use JSVERSION_LATEST, r=dougt

This commit is contained in:
Olli Pettay 2010-02-24 12:04:06 +02:00
parent fb7533d660
commit ba5ee34fc9

View File

@ -600,6 +600,7 @@ TabChild::InitTabChildGlobal()
JS_SetScriptStackQuota(cx, 100*1024*1024);
JS_SetOptions(cx, JS_GetOptions(cx) | JSOPTION_JIT | JSOPTION_ANONFUNFIX | JSOPTION_PRIVATE_IS_NSISUPPORTS);
JS_SetVersion(cx, JSVERSION_LATEST);
JS_SetGCParameterForThread(cx, JSGC_MAX_CODE_CACHE_BYTES, 1 * 1024 * 1024);