blob: 8d70ad65b9450a1955c7a6bb3eda568a316edc90 [file] [log] [blame]
<!DOCTYPE html>
<head>
<title>This tests if inserting content as body sibling triggers assertion.</title>
</head>
<div>Pass if no assert or crash in debug.</div>
<script>
if (window.testRunner)
testRunner.dumpAsText();
var iframe = document.createElement("iframe");
document.head.parentNode.insertBefore(iframe, document.head.nextSibling);
document.execCommand("SelectAll");
document.designMode = "on";
document.execCommand("JustifyCenter", false, null);
</script>