зеркало из https://github.com/mozilla/pjs.git
Correct assertion message, as requested by bz
This commit is contained in:
Родитель
9f72d8ece4
Коммит
2dafb0668f
|
@ -3111,7 +3111,7 @@ nsJSContext::HoldScriptObject(void* aScriptObject)
|
|||
{
|
||||
NS_ASSERTION(sIsInitialized, "runtime not initialized");
|
||||
if (! nsJSRuntime::sRuntime) {
|
||||
NS_NOTREACHED("couldn't remove GC root - no runtime");
|
||||
NS_NOTREACHED("couldn't add GC root - no runtime");
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче