Backed out changeset a2d8eae8d006 (bug 1749522) for causing reftest failures in tests/reftest/bug1749522-1. CLOSED TREE

This commit is contained in:
Sandor Molnar
2022-01-14 17:50:39 +02:00
parent 6c2174dbd7
commit a4f5afff85
4 changed files with 0 additions and 14 deletions

View File

@@ -1869,13 +1869,6 @@ void nsHtml5StreamParser::DiscardMetaSpeculation() {
mTokenizer->setLineNumber(1);
mLastWasCR = false;
if (mMode == PLAIN_TEXT || mMode == VIEW_SOURCE_PLAIN) {
// resetToDataState() above logically rewinds to the state before
// the plain text start, so we need to start plain text again to
// put the tokenizer into the plain text state.
mTokenizer->StartPlainText();
}
mFirstBuffer = mLastBuffer;
mFirstBuffer->setStart(0);
mFirstBuffer->setEnd(0);