Backed out changeset d54eac606dd7

This commit is contained in:
Steve Fink 2011-01-24 15:10:23 -08:00
Родитель 4e701c9d70
Коммит 4b221c996d
1 изменённых файлов: 1 добавлений и 4 удалений

Просмотреть файл

@ -2508,8 +2508,7 @@ nsXPConnect::Push(JSContext * cx)
break;
}
}
/* Turning debugging off is immediate even if JS is running */
if (!runningJS || !gDesiredDebugMode)
if (!runningJS)
CheckForDebugMode(mRuntime->GetJSRuntime());
}
@ -2778,8 +2777,6 @@ NS_IMETHODIMP
nsXPConnect::SetDebugModeWhenPossible(PRBool mode)
{
gDesiredDebugMode = mode;
if (!mode)
CheckForDebugMode(mRuntime->GetJSRuntime());
return NS_OK;
}