| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <body onload="runTest();"> | 2 <body onload="runTest();"> |
| 3 Test passes if it does not crash. | 3 Test passes if it does not crash. |
| 4 <script> | 4 <script> |
| 5 if (window.layoutTestController) | 5 if (window.layoutTestController) |
| 6 { | 6 { |
| 7 layoutTestController.dumpAsText(); | 7 layoutTestController.dumpAsText(); |
| 8 layoutTestController.waitUntilDone(); | 8 layoutTestController.waitUntilDone(); |
| 9 } | 9 } |
| 10 | 10 |
| 11 function runTest() { | 11 function runTest() { |
| 12 node = document.createElement('audio'); | 12 node = document.createElement('audio'); |
| 13 node.setAttribute('src', 'foo'); | 13 node.setAttribute('src', 'foo'); |
| 14 node.setAttribute('controls', 'foo'); | 14 node.setAttribute('controls', 'foo'); |
| 15 node.style.fontWeight = '100'; | 15 node.style.fontWeight = '100'; |
| 16 var clone = node.cloneNode(false); | 16 var clone = node.cloneNode(false); |
| 17 clone.load(); | 17 clone.load(); |
| 18 | 18 |
| 19 if (window.layoutTestController) | 19 if (window.layoutTestController) |
| 20 setTimeout("layoutTestController.notifyDone()", 0); | 20 setTimeout("layoutTestController.notifyDone()", 0); |
| 21 } | 21 } |
| 22 </script> | 22 </script> |
| 23 </body> | 23 </body> |
| 24 </html> | 24 </html> |
| 25 | 25 |
| OLD | NEW |