2 <object data="resources/subframe-load-crash.svg" id="root" onload="runTest()"></object>
4 if (window.layoutTestController) {
5 layoutTestController.dumpAsText();
6 layoutTestController.waitUntilDone();
9 root = document.getElementById('root').contentDocument;
10 root.addEventListener('load', function() { document.open(); document.write("PASS"); document.close(); }, 1);
11 setTimeout(function() {
12 root.getElementById('test').appendChild(document.createElement('iframe'));
13 if (window.layoutTestController)
14 layoutTestController.notifyDone();