chromium/third_party/blink/web_tests/svg/custom/use-shadow-root-parent-removal.svg

<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">

<text id="foreign"/>
<use y="50" id="test" xlink:href="#foreign" />
<use xlink:href="#test" />

<text x="10" y= "30">PASS without crash in debug mode.</text>

<script>
    if (window.testRunner)
        testRunner.dumpAsText();
    var elem = document.getElementById("test");
    elem.removeAttribute("xlink:href");
    elem.setAttribute("x", 1);
</script>
</svg>