<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
<text y="20">This should not crash, but display an error document.</text>
<g id="crash">
<pattern xlink:href="#crash"></pattern>
</g>
<use xlink:href="#crash">
</svg>