<HTML>
<HEAD>
<script>

if (window.testRunner) {
    testRunner.dumpAsText();
    testRunner.waitUntilDone();
}

function startTest() {
    document.open();
    document.write("<p>Test for <a href='https://bugs.webkit.org/show_bug.cgi?id=15707'>bug 15707</a>: Crash when manipulating document from within an iframe onload function.</p><p>SUCCESS if no crash.</p>");
    document.close();

    if (window.testRunner)
        setTimeout("testRunner.notifyDone()", 0); // Wait until stack unwinds.
}
</script>
</HEAD>
<BODY>
<IFRAME SRC="resources/frame-onload-open.html"></IFRAME>
<IFRAME SRC="resources/frame-onload-open.html"></IFRAME>
</BODY>
</HTML>
