blob: 7eda5e13ba0f98736626e6495d0d97647498104e [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<script>
if (window.testRunner)
testRunner.dumpAsText();
var element = document.createElement('p');
var script = document.createElement('script');
script.textContent = 'document.currentScript.nextSibling.remove()';
var container = document.createElement('div');
container.appendChild(script);
container.appendChild(element);
document.body.appendChild(container);
document.body.innerHTML = 'PASS';
</script>
</body>
</html>