17 lines
400 B
HTML
17 lines
400 B
HTML
<html>
|
|
Test passes if it does not crash.
|
|
<script>
|
|
if (window.testRunner)
|
|
testRunner.dumpAsText();
|
|
|
|
function crash() {
|
|
body1 = document.createElement("body");
|
|
i1 = document.createElement("i");
|
|
document.documentElement.appendChild(i1);
|
|
i1.appendChild(body1);
|
|
body1.style.display = "inline-block";
|
|
}
|
|
document.addEventListener("DOMContentLoaded", crash, false);
|
|
</script>
|
|
</html>
|