Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <body> | |
| 2 We pass if we don't crash. | |
| 3 <script> | |
| 4 if (window.testRunner) | |
| 5 testRunner.dumpAsText(); | |
| 6 | |
| 7 var child = document.body.appendChild(document.createElement('iframe')); | |
| 8 child.contentDocument.open(); | |
| 9 var grandchild = child.contentDocument.appendChild(document.createElement('ifram e')); | |
| 10 | |
| 11 child.contentWindow.onload = function() { | |
|
Nate Chapin
2016/05/25 23:03:08
This test fails without the FrameLoader.cpp change
| |
| 12 var a = grandchild.contentDocument.createElement('a'); | |
| 13 a.href = 'data:text/xml,'; | |
| 14 a.click(); | |
| 15 } | |
| 16 | |
| 17 var a = grandchild.contentDocument.createElement('a'); | |
| 18 a.href = 'data:text/xml,'; | |
| 19 a.click(); | |
| 20 | |
| 21 child.contentDocument.close(); | |
| 22 | |
| 23 a = grandchild.contentDocument.createElement('a'); | |
| 24 a.href = 'data:text/html,'; | |
| 25 a.click(); | |
| 26 </script> | |
| 27 </body> | |
| OLD | NEW |