summaryrefslogtreecommitdiffstats
path: root/layout/svg/crashtests/757718-1.svg
blob: fa948c66779517ea623e3b9a7a1703771d7c1b01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<html>
<head>
<script>

function boom()
{
  var svgDoc = (new DOMParser).parseFromString("<svg xmlns='http://www.w3.org/2000/svg'></svg>", "image/svg+xml");
  var svgRoot = svgDoc.documentElement;
  var rf = svgRoot.requiredFeatures;
  document.adoptNode(svgRoot);
  Object.getOwnPropertyNames(rf);
}

</script>
</head>
<body onload="boom();"></body>
</html>