Temporarily disable speculative parsing to see its effect on tinderbox crashiness. r+sr=jst

This commit is contained in:
Blake Kaplan 2008-10-06 15:19:28 -07:00
parent 8ced551418
commit a52a78014b

View File

@ -1538,6 +1538,7 @@ nsParser::DidBuildModel(nsresult anErrorCode)
void
nsParser::SpeculativelyParse()
{
#if 0 // Disable temporarily to see if this is the cause of the bustage.
if (mParserContext->mParserCommand == eViewNormal &&
!mParserContext->mMimeType.EqualsLiteral("text/html")) {
return;
@ -1554,6 +1555,7 @@ nsParser::SpeculativelyParse()
if (NS_FAILED(rv)) {
mSpeculativeScriptThread = nsnull;
}
#endif
}
/**