blob: 065101ec57d556e98ae46b9a5872ac738fccffe6 [file] [log] [blame]
<html>
<object data="resources/subframe-load-crash.svg" id="root" onload="runTest()"></object>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
function runTest() {
root = document.getElementById('root').contentDocument;
root.addEventListener('load', function() { document.open(); document.write("PASS"); document.close(); }, 1);
setTimeout(function() {
root.getElementById('test').appendChild(document.createElement('iframe'));
if (window.testRunner)
testRunner.notifyDone();
}, 0);
}
</script>
</html>