Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
|
tkent
2014/02/24 03:39:37
The name 'crash-issue-338542' isn't helpful. 'win
Yuta Kitamura
2014/02/24 06:00:42
To tell the truth I didn't think of a good name; t
| |
| 2 <html> | |
| 3 <head> | |
| 4 <title>Crash issue 338542</title> | |
| 5 <script src="../../resources/js-test.js"></script> | |
| 6 </head> | |
| 7 <body> | |
| 8 <script> | |
| 9 description('Should not crash if we load a test case from crbug.com/338542.'); | |
| 10 | |
| 11 window.jsTestIsAsync = true; | |
| 12 | |
| 13 window.addEventListener('message', didReceiveMessage, false); | |
| 14 | |
| 15 var iframe = document.createElement('iframe'); | |
| 16 iframe.src = 'resources/crash-issue-338542-iframe.html'; | |
| 17 document.body.appendChild(iframe); | |
| 18 | |
| 19 function didReceiveMessage(event) | |
| 20 { | |
| 21 shouldBeEqualToString('event.data', 'FINISH'); | |
| 22 document.body.removeChild(iframe); | |
| 23 testPassed('Did not crash.'); | |
| 24 window.finishJSTest(); | |
| 25 } | |
| 26 </script> | |
| 27 </body> | |
| 28 </html> | |
| OLD | NEW |