From b04ad5d4ed0314ca7682f726661f31c8748297b9 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Sun, 21 Oct 2012 09:38:41 +0200 Subject: [PATCH] Bug 803586 - Infinite recursion in nsXMLStylesheetPI::SetNodeValueInternal; r=bz --- content/xml/content/crashtest/803586.xhtml | 8 ++++++++ content/xml/content/crashtest/crashtests.list | 1 + content/xml/content/src/nsXMLStylesheetPI.cpp | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 content/xml/content/crashtest/803586.xhtml diff --git a/content/xml/content/crashtest/803586.xhtml b/content/xml/content/crashtest/803586.xhtml new file mode 100644 index 00000000000..002de07724f --- /dev/null +++ b/content/xml/content/crashtest/803586.xhtml @@ -0,0 +1,8 @@ + + + + + + diff --git a/content/xml/content/crashtest/crashtests.list b/content/xml/content/crashtest/crashtests.list index 016a5c341c3..867e23ab8c4 100644 --- a/content/xml/content/crashtest/crashtests.list +++ b/content/xml/content/crashtest/crashtests.list @@ -1,2 +1,3 @@ load 420429.xul load 453278.html +load 803586.xhtml diff --git a/content/xml/content/src/nsXMLStylesheetPI.cpp b/content/xml/content/src/nsXMLStylesheetPI.cpp index 64cc9da6444..ec9d7c021ca 100644 --- a/content/xml/content/src/nsXMLStylesheetPI.cpp +++ b/content/xml/content/src/nsXMLStylesheetPI.cpp @@ -130,7 +130,7 @@ void nsXMLStylesheetPI::SetNodeValueInternal(const nsAString& aNodeValue, ErrorResult& aError) { - nsGenericDOMDataNode::SetNodeValue(aNodeValue, aError); + nsGenericDOMDataNode::SetNodeValueInternal(aNodeValue, aError); if (!aError.Failed()) { UpdateStyleSheetInternal(nullptr, true); }