Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <head> | |
| 3 <meta charset="utf-8"> | |
| 4 </head> | |
| 5 <body> | |
| 6 <noscript><p>Javascript must be enabled.</p></noscript> | |
| 7 <p>Testing a crash.</p> | |
| 8 <script> | |
| 9 if (window.testRunner) | |
| 10 testRunner.dumpAsText(); | |
| 11 setTimeout(function (){ | |
| 12 // alert() is practically a no-op while running blink tests, so testRunn er.sleep | |
| 13 // will be the call that blocks scripts and sets defersLoading. | |
| 14 alert("When you close this alert, the renderer should not assert and cra sh"); | |
| 15 if (window.testRunner) | |
| 16 testRunner.sleep(500); | |
| 17 else | |
| 18 location.reload(); | |
| 19 }, 0); | |
| 20 </script> | |
| 21 <p><iframe src="data:text/html,%3Ch1%3EHi%3C%2Fh1%3E%3Ciframe%20src%3D%22data%3A text%2Fhtml%2C%3Ch1%3EHi%22%3E%3C%2Fiframe%3E"></iframe></p> | |
|
kouhei (in TOK)
2014/11/19 07:56:10
Nit: Would you use data:text/html;charset=utf-8, a
| |
| 22 | |
| 23 </body> | |
| 24 </html> | |
| OLD | NEW |