From d8e54876892b145120067dc0ac09f87a64d79e4e 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 000000000000..002de07724fd --- /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 016a5c341c3c..867e23ab8c4e 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 64cc9da6444d..ec9d7c021ca4 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); }