blob: e04bfba04393b37477896787cec542a5ec982977 [file] [log] [blame]
<p>This test passes if it doesn't crash!</p>
<iframe id="onlybear"
src="data:text/html, <!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0//EN' 'http://www.w3.org/TR/html4/strict.dtd'><html></html>"
>
</iframe>
<script>
if (window.testRunner)
testRunner.dumpAsText();
window.onload = function() {
var iframe = document.getElementById("onlybear");
var doc = iframe.contentDocument;
iframe.parentNode.removeChild(iframe);
doc.documentElement.clientWidth;
doc.documentElement.clientHeight;
}
</script>