bug 321344: Make sure we always enter the loop. There's no reason to actually

test anything here because we never really did before. Review from peterv is
still pending, but brendan wants this on the trunk because it breaks
XMLHttpRequest.
This commit is contained in:
mrbkap%gmail.com 2005-12-24 07:39:09 +00:00
Родитель 7b73df9e89
Коммит de97871fab
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1774,7 +1774,7 @@ nsParser::ResumeParse(PRBool allowIteration, PRBool aIsFinalChunk,
if (mParserContext->mDTD) {
mParserContext->mDTD->WillResumeParse(mSink);
PRBool theIterationIsOk = allowIteration || !mParserContext->mPrevContext;
PRBool theIterationIsOk = PR_TRUE;
while (result == NS_OK && theIterationIsOk) {
if (!mUnusedInput.IsEmpty() && mParserContext->mScanner) {