blob: 82722cae613b43e58ad4b197932eeb74b77e648f [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<svg xmlns="http://www.w3.org/2000/svg">
<script>
if (window.testRunner)
testRunner.dumpAsText();
var d = document.createElement('div');
var s = document.createElement('script');
s.textContent = 'document.currentScript.nextSibling.remove();';
d.appendChild(s);
d.appendChild(document.createElement('input'));
document.body.appendChild(d);
document.body.innerHTML = 'PASS';
</script></svg>
Test passes if the test does not crash or assert in debug builds.
</body>
</html>