summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/dom/iframe-contentWindow-crash.html
blob: 55663f55aaadf40d78eadd12f9dc41b62d6ebdf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
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>