Bug 626768 - Add a runtime-abort for recursive layout module initialization, because it is somewhat likely that bugs of this sort could cause the later runtime abort where the cycle collector cannot get the JS runtime service r=bent a=blocker
This commit is contained in:
@@ -384,7 +384,7 @@ nsresult
|
||||
Initialize()
|
||||
{
|
||||
if (gInitialized) {
|
||||
NS_ERROR("Recursive layout module initialization");
|
||||
NS_RUNTIMEABORT("Recursive layout module initialization");
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user