зеркало из https://github.com/mozilla/gecko-dev.git
Make HTML5 parser not crash in AAA on cnn.com
This commit is contained in:
Родитель
948c3f9874
Коммит
7792f6dd89
|
@ -55,6 +55,7 @@ class nsHtml5StackNode;
|
|||
class nsHtml5UTF16Buffer;
|
||||
class nsHtml5Portability;
|
||||
|
||||
|
||||
class nsHtml5AttributeName
|
||||
{
|
||||
private:
|
||||
|
|
|
@ -55,6 +55,7 @@ class nsHtml5StackNode;
|
|||
class nsHtml5UTF16Buffer;
|
||||
class nsHtml5Portability;
|
||||
|
||||
|
||||
class nsHtml5ElementName
|
||||
{
|
||||
public:
|
||||
|
|
|
@ -56,6 +56,7 @@ class nsHtml5StackNode;
|
|||
class nsHtml5UTF16Buffer;
|
||||
class nsHtml5Portability;
|
||||
|
||||
|
||||
class nsHtml5HtmlAttributes
|
||||
{
|
||||
public:
|
||||
|
|
|
@ -56,6 +56,7 @@ class nsHtml5StackNode;
|
|||
class nsHtml5UTF16Buffer;
|
||||
class nsHtml5Portability;
|
||||
|
||||
|
||||
class nsHtml5MetaScanner
|
||||
{
|
||||
private:
|
||||
|
|
|
@ -55,6 +55,7 @@ class nsHtml5HtmlAttributes;
|
|||
class nsHtml5StackNode;
|
||||
class nsHtml5UTF16Buffer;
|
||||
|
||||
|
||||
class nsHtml5Portability
|
||||
{
|
||||
public:
|
||||
|
|
|
@ -56,6 +56,7 @@ class nsHtml5HtmlAttributes;
|
|||
class nsHtml5UTF16Buffer;
|
||||
class nsHtml5Portability;
|
||||
|
||||
|
||||
class nsHtml5StackNode
|
||||
{
|
||||
public:
|
||||
|
|
|
@ -58,6 +58,7 @@ class nsHtml5StackNode;
|
|||
class nsHtml5UTF16Buffer;
|
||||
class nsHtml5Portability;
|
||||
|
||||
|
||||
class nsHtml5Tokenizer
|
||||
{
|
||||
private:
|
||||
|
|
|
@ -3236,6 +3236,8 @@ nsHtml5TreeBuilder::reconstructTheActiveFormattingElements()
|
|||
}
|
||||
push(entryClone);
|
||||
listOfActiveFormattingElements[entryPos] = entryClone;
|
||||
entry->release();
|
||||
entryClone->retain();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -55,6 +55,7 @@ class nsHtml5HtmlAttributes;
|
|||
class nsHtml5StackNode;
|
||||
class nsHtml5Portability;
|
||||
|
||||
|
||||
class nsHtml5UTF16Buffer
|
||||
{
|
||||
private:
|
||||
|
|
Загрузка…
Ссылка в новой задаче