bug 295519: Set the scanner's mIncremental member so that the tokenizer doesn't throw away content. r+sr=jst a=shaver

git-svn-id: svn://10.0.0.236/trunk@173995 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mrbkap%gmail.com
2005-06-01 22:32:23 +00:00
parent e95dc9b671
commit 866b6f0775

View File

@@ -1799,6 +1799,7 @@ nsParser::Parse(const nsAString& aSourceBuffer,
// to guarantee DidBuildModel() call - Fix 36148
if(aLastCall) {
mParserContext->mStreamListenerState=eOnStop;
mParserContext->mScanner->SetIncremental(PR_FALSE);
}
ResumeParse(PR_FALSE, PR_FALSE, PR_FALSE);
}