haikuwebkit/LayoutTests/fast/dom/iframe-contentWindow-crash....

12 lines
433 B
HTML

This is a test for <a href="http://bugs.webkit.org/show_bug.cgi?id=13868">http://bugs.webkit.org/show_bug.cgi?id=13868</a>
REGRESSION: crash on accessing a new iframe's contentWindow property.
This tests HTMLIFrameElement.contentWindow.
If there is no crash this test passes.
<script type="text/javascript">
if (window.testRunner)
testRunner.dumpAsText();
document.createElement('iframe').contentWindow;
</script>