зеркало из 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 nsHtml5UTF16Buffer;
|
||||||
class nsHtml5Portability;
|
class nsHtml5Portability;
|
||||||
|
|
||||||
|
|
||||||
class nsHtml5AttributeName
|
class nsHtml5AttributeName
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
|
@ -55,6 +55,7 @@ class nsHtml5StackNode;
|
||||||
class nsHtml5UTF16Buffer;
|
class nsHtml5UTF16Buffer;
|
||||||
class nsHtml5Portability;
|
class nsHtml5Portability;
|
||||||
|
|
||||||
|
|
||||||
class nsHtml5ElementName
|
class nsHtml5ElementName
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -56,6 +56,7 @@ class nsHtml5StackNode;
|
||||||
class nsHtml5UTF16Buffer;
|
class nsHtml5UTF16Buffer;
|
||||||
class nsHtml5Portability;
|
class nsHtml5Portability;
|
||||||
|
|
||||||
|
|
||||||
class nsHtml5HtmlAttributes
|
class nsHtml5HtmlAttributes
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -56,6 +56,7 @@ class nsHtml5StackNode;
|
||||||
class nsHtml5UTF16Buffer;
|
class nsHtml5UTF16Buffer;
|
||||||
class nsHtml5Portability;
|
class nsHtml5Portability;
|
||||||
|
|
||||||
|
|
||||||
class nsHtml5MetaScanner
|
class nsHtml5MetaScanner
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
|
@ -55,6 +55,7 @@ class nsHtml5HtmlAttributes;
|
||||||
class nsHtml5StackNode;
|
class nsHtml5StackNode;
|
||||||
class nsHtml5UTF16Buffer;
|
class nsHtml5UTF16Buffer;
|
||||||
|
|
||||||
|
|
||||||
class nsHtml5Portability
|
class nsHtml5Portability
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -56,6 +56,7 @@ class nsHtml5HtmlAttributes;
|
||||||
class nsHtml5UTF16Buffer;
|
class nsHtml5UTF16Buffer;
|
||||||
class nsHtml5Portability;
|
class nsHtml5Portability;
|
||||||
|
|
||||||
|
|
||||||
class nsHtml5StackNode
|
class nsHtml5StackNode
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -58,6 +58,7 @@ class nsHtml5StackNode;
|
||||||
class nsHtml5UTF16Buffer;
|
class nsHtml5UTF16Buffer;
|
||||||
class nsHtml5Portability;
|
class nsHtml5Portability;
|
||||||
|
|
||||||
|
|
||||||
class nsHtml5Tokenizer
|
class nsHtml5Tokenizer
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
|
@ -3236,6 +3236,8 @@ nsHtml5TreeBuilder::reconstructTheActiveFormattingElements()
|
||||||
}
|
}
|
||||||
push(entryClone);
|
push(entryClone);
|
||||||
listOfActiveFormattingElements[entryPos] = entryClone;
|
listOfActiveFormattingElements[entryPos] = entryClone;
|
||||||
|
entry->release();
|
||||||
|
entryClone->retain();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -55,6 +55,7 @@ class nsHtml5HtmlAttributes;
|
||||||
class nsHtml5StackNode;
|
class nsHtml5StackNode;
|
||||||
class nsHtml5Portability;
|
class nsHtml5Portability;
|
||||||
|
|
||||||
|
|
||||||
class nsHtml5UTF16Buffer
|
class nsHtml5UTF16Buffer
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче