blob: 83b38952744c000ce648cb1f2f380bce6bf188d3 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<script>
if (window.testRunner)
testRunner.dumpAsText();
var d = document.createElement('div');
var s = document.createElement('script');
s.textContent = 'document.currentScript.parentNode.remove();';
d.appendChild(s);
d.appendChild(document.createElement('input'));
document.body.appendChild(d);
document.body.innerHTML = 'PASS';
</script>
Test passes if we do not crash or assert in debug builds.
</body>
</html>