<!DOCTYPE html>
<html>
<body>
<script>
// We had an assertion failure in ChildNodeRemovalNotifier::notifyNodeRemovedFromTree.
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>
</body>
</html>