Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / frames / url-selected-crash.html
blob52b606b831d5e5acc588810334fb56a8302eff4c
1 <!DOCTYPE html>
2 <html>
3 <body>
4 Test passes if it doesn't crash (may require libgmalloc and repeating) and this line gets erased.
5 <script>
6 if (window.testRunner) {
7 testRunner.dumpAsText();
8 testRunner.waitUntilDone();
10 var iterationsLeft = 2;
11 function test()
13 if (--iterationsLeft) {
14 frames[0].history.go(0);
15 } else {
16 document.body.textContent = frames[0].document.body.textContent;
17 if (window.testRunner)
18 testRunner.notifyDone();
21 </script>
22 <iframe onload="test()"></iframe>
23 </body>
24 </html>