Backed out changeset a2d8eae8d006 (bug 1749522) for causing reftest failures in tests/reftest/bug1749522-1. CLOSED TREE
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user