blob: 3fd141418a37f5d1ec0b7616b96b9b7e66bfc416 [file] [log] [blame]
<!DOCTYPE HTML>
<html>
<body>
<p id="a">This test passes if it does not crash.</p>
<svg>
<feImage id="feImage"></feImage>
</svg>
<script>
onload = function() {
if (window.testRunner)
testRunner.dumpAsText();
var feImage = document.getElementById("feImage");
feImage.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", "#doesnotexist");
document.replaceChild(feImage, document.documentElement);
feImage.setAttribute("xlink:href", "doesnotexist.svg");
}
</script>
</body>
</html>