mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 23:05:42 +00:00
Temporarily disable speculative parsing to see its effect on tinderbox crashiness. r+sr=jst
This commit is contained in:
parent
8ced551418
commit
a52a78014b
@ -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
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user