зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
7b73df9e89
Коммит
de97871fab
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче