summaryrefslogtreecommitdiffstats
path: root/dom/svg/crashtests/761507-1.svg
blob: 172d71ed95d117d8629196d2be209990d29656f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<svg xmlns="http://www.w3.org/2000/svg">
<script>
<![CDATA[

function boom()
{
  var r = document.createElementNS("http://www.w3.org/2000/svg", "rect");
  var f = r.requiredFeatures;
  f.appendItem(1);
  document.implementation.createDocument('', '', null).adoptNode(r);
  r.getAttribute("requiredFeatures");
}

window.addEventListener("load", boom, false);

]]>
</script>
</svg>