blob: 2fef137b0e9a5c33fe8e3ef7ca71244b7fffd633 [file] [log] [blame]
<?xml version="1.0" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.0" onload="runTest()">
<text x="0" y="30">PASS without crash.</text>
<use xlink:href="#undefined">
<script>
if (window.testRunner)
testRunner.dumpAsText();
function runTest() {
try {
var errorElement = document.getElementsByTagName("parsererror")[0];
errorElement.parentNode.removeChild(errorElement);
var useElement = document.getElementsByTagName("use")[0];
useElement.parentNode.removeChild(useElement);
} catch(e) {
}
}
</script>
</svg>