blob: 5c4c9cb698293c2032b22e0c57ac0648d9651fff [file] [log] [blame]
<html>
<head>
<script>
if (window.layoutTestController) {
layoutTestController.dumpAsText();
layoutTestController.waitUntilDone();
}
</script>
</head>
<body>
Success - a hugely nested SVG did not crash us.
<script>
function done() {
if (window.layoutTestController)
layoutTestController.notifyDone();
else
alert('done!');
}
var x = '';
for (i=0; i<50000; ++i)
x += '<a>';
for (i=0; i<50000; ++i)
x += '</a>';
var uri = 'data:image/svg+xml,' + x;
var i = new Image();
i.onerror = done;
i.src = uri;
</script>
</body>
</html>