Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / frames / javascript-url-for-deleted-frame.html
bloba63c0280185394c2d3b521c9bb92d6d84fd2bcba
1 <body>
2 <script>
3 if (window.testRunner)
4 testRunner.dumpAsText();
6 var ifr = document.createElement('iframe');
7 ifr.setAttribute('src', 'javascript:parent.boom(), "<div>Crash?</div>"');
8 document.body.appendChild(ifr);
10 function boom() {
11 document.body.removeChild(ifr);
13 </script>
14 This test passes if it doesn't crash.