Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / frames / subframe-load-crash-main.html
blob065101ec57d556e98ae46b9a5872ac738fccffe6
1 <html>
2 <object data="resources/subframe-load-crash.svg" id="root" onload="runTest()"></object>
3 <script>
4 if (window.testRunner) {
5 testRunner.dumpAsText();
6 testRunner.waitUntilDone();
8 function runTest() {
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.testRunner)
14 testRunner.notifyDone();
15 }, 0);
17 </script>
18 </html>