2008-11-04 Anders Carlsson <andersca@apple.com>
[webkit/qt.git] / LayoutTests / fast / dom / frame-contentWindow-crash.html
blob18b031b697980bc59f48e74e444eb644957d8c34
1 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>
2 REGRESSION: crash on accessing a new iframe's contentWindow property.
4 This tests HTMLFrameElement.contentWindow.
6 If there is no crash this test passes.
7 <script type="text/javascript">
8 if (window.layoutTestController)
9 layoutTestController.dumpAsText();
11 document.createElement('frame').contentWindow;
12 </script>