Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / loader / iframe-recursive-synchronous-load.html
blobaa122cbc800ef54abf8767b6468e2dace59f9846
1 <p>This test verifies that you don't crash when adding an iframe to the document
2 from another iframe's onload handler.
3 </p>
4 <hr>
5 <p>PASS: You didn't crash.</p>
7 <script>
8 if (window.testRunner)
9 testRunner.dumpAsText();
11 function addFrame()
13 var iframe = document.createElement('iframe');
14 iframe.src = "about:blank";
15 document.body.appendChild(iframe);
17 </script>
18 <iframe src="about:blank" onload="addFrame()"></iframe>