| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <h1><button><iframe></iframe></button> | 2 <h1><button><iframe></iframe></button> |
| 3 </h1><input><iframe xonload=" | 3 </h1><input><iframe onload=" |
| 4 if (document.counter) | 4 if (document.counter) |
| 5 document.counter++; | 5 document.counter++; |
| 6 else | 6 else |
| 7 document.counter = 1; | 7 document.counter = 1; |
| 8 | 8 |
| 9 if (document.counter <= 16) { | 9 if (document.counter <= 16) { |
| 10 document.designMode='on'; | 10 document.designMode='on'; |
| 11 document.execCommand('selectall'); | 11 document.execCommand('selectall'); |
| 12 document.execCommand('italic'); | 12 document.execCommand('italic'); |
| 13 }" ></iframe> | 13 }" ></iframe> |
| 14 <script> | 14 <script> |
| 15 if (window.testRunner) | 15 if (window.testRunner) |
| 16 testRunner.dumpAsText(); | 16 testRunner.dumpAsText(); |
| 17 onload = function() { | 17 onload = function() { |
| 18 document.body.textContent = 'PASS; NOT CRASHED'; | 18 document.body.textContent = 'PASS; NOT CRASHED'; |
| 19 }; | 19 }; |
| 20 </script> | 20 </script> |
| OLD | NEW |