haikuwebkit/LayoutTests/fast/dom/text-node-attach-crash.xhtml

15 lines
322 B
HTML

<html xmlns="http://www.w3.org/1999/xhtml">
Test passes if it does not crash.
<style></style>
<script>
if (window.testRunner)
testRunner.dumpAsText();
var docElement = document.documentElement;
document.removeChild(docElement);
window.onload = function() {
document.appendChild(docElement);
};
</script>
</html>