mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 803586 - Infinite recursion in nsXMLStylesheetPI::SetNodeValueInternal; r=bz
This commit is contained in:
parent
b44db1c477
commit
b04ad5d4ed
8
content/xml/content/crashtest/803586.xhtml
Normal file
8
content/xml/content/crashtest/803586.xhtml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml-stylesheet href="foo.css" ?>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<script>
|
||||
document.firstChild.nodeValue = null
|
||||
</script>
|
||||
</head>
|
||||
</html>
|
@ -1,2 +1,3 @@
|
||||
load 420429.xul
|
||||
load 453278.html
|
||||
load 803586.xhtml
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user