| OLD | NEW |
| (Empty) |
| 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN"> | |
| 2 <html> | |
| 3 <head> | |
| 4 <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"> | |
| 5 <title>Wee!</title> | |
| 6 <script> | |
| 7 if (window.layoutTestController) | |
| 8 layoutTestController.dumpAsText(); | |
| 9 | |
| 10 window.onload = function() { | |
| 11 // We are not a Node ! | |
| 12 var nodelist = document.getElementsByName('sillypants'); | |
| 13 var table = document.createElement('table'); | |
| 14 // Pow! cast a NodeList into a HTMLTableSectionElement | |
| 15 table.tHead = nodelist; | |
| 16 } | |
| 17 </script> | |
| 18 </head> | |
| 19 <body> | |
| 20 Test that setting invalid values to dom properties does not crash the browser. | |
| 21 <br> | |
| 22 <a href="#" onclick="void(); return false;">go!</a> | |
| 23 </body> | |
| 24 </html> | |
| OLD | NEW |