| OLD | NEW |
| (Empty) |
| 1 <html> | |
| 2 <head> | |
| 3 <script> | |
| 4 function runTest() | |
| 5 { | |
| 6 if (window.testRunner) { | |
| 7 testRunner.setIconDatabaseEnabled(true); | |
| 8 testRunner.dumpDOMAsWebArchive(); | |
| 9 testRunner.queueReload(); | |
| 10 } | |
| 11 } | |
| 12 </script> | |
| 13 </head> | |
| 14 <body onload="runTest()"> | |
| 15 <div id="console"></div> | |
| 16 <script> | |
| 17 function print(message, color) | |
| 18 { | |
| 19 var paragraph = document.createElement("div"); | |
| 20 paragraph.appendChild(document.createTextNode(message)); | |
| 21 paragraph.style.fontFamily = "monospace"; | |
| 22 if (color) | |
| 23 paragraph.style.color = color; | |
| 24 document.getElementById("console").appendChild(paragraph); | |
| 25 } | |
| 26 </script> | |
| 27 <p>This test should have a green 'PASS' just above this line. If it doesn't, yo
u failed. | |
| 28 <link rel="icon" onbeforeload="print('PASS','green');return false" href="resourc
es/favicon.ico" type="image/x-icon"> | |
| 29 </body> | |
| 30 </html> | |
| OLD | NEW |