mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-26 14:18:48 +00:00
port changes from tenfourfox:
- #584: M1507180 M1598605 (7b58ac561) - fix M1607443 as a precaution (b8657e696) - #587: M1513855 M1596668 M1602944 M1599420 M1595399 (35a4358b3)
This commit is contained in:
@@ -140,8 +140,6 @@ nsHtml5TreeBuilder::startTokenization(nsHtml5Tokenizer* self)
|
||||
tokenizer->setStateAndEndTagExpectation(NS_HTML5TOKENIZER_DATA, contextName);
|
||||
}
|
||||
}
|
||||
contextName = nullptr;
|
||||
contextNode = nullptr;
|
||||
} else {
|
||||
mode = NS_HTML5TREE_BUILDER_INITIAL;
|
||||
if (tokenizer->isViewingXmlSource()) {
|
||||
@@ -577,6 +575,8 @@ nsHtml5TreeBuilder::endTokenization()
|
||||
{
|
||||
formPointer = nullptr;
|
||||
headPointer = nullptr;
|
||||
contextName = nullptr;
|
||||
contextNode = nullptr;
|
||||
deepTreeSurrogateParent = nullptr;
|
||||
templateModeStack = nullptr;
|
||||
if (stack) {
|
||||
|
||||
Reference in New Issue
Block a user