bug=420869 r=brendan a1.9=blocking1.9
bumping script stack quota to 100MB for better compatibility with FF2. git-svn-id: svn://10.0.0.236/trunk@248142 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
68f6c533cb
commit
2b361da3c8
@ -238,11 +238,13 @@ ContextCallback(JSContext *cx, uintN operation)
|
||||
{
|
||||
if (operation == JSCONTEXT_NEW)
|
||||
{
|
||||
// Set the limits on the native and script stack space.
|
||||
XPCPerThreadData* tls = XPCPerThreadData::GetData(cx);
|
||||
if(tls)
|
||||
{
|
||||
JS_SetThreadStackLimit(cx, tls->GetStackLimit());
|
||||
}
|
||||
JS_SetScriptStackQuota(cx, 100*1024*1024);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user