6 if (window.testRunner) {
7 testRunner.setIconDatabaseEnabled(true);
8 testRunner.dumpDOMAsWebArchive();
9 testRunner.queueReload();
14 <body onload="runTest()">
15 <div id="console"></div>
17 function print(message, color)
19 var paragraph = document.createElement("div");
20 paragraph.appendChild(document.createTextNode(message));
21 paragraph.style.fontFamily = "monospace";
23 paragraph.style.color = color;
24 document.getElementById("console").appendChild(paragraph);
27 <p>This test should have a green 'PASS' just above this line. If it doesn't, you failed.
28 <link rel="icon" onbeforeload="print('PASS','green');return false" href="resources/favicon.ico" type="image/x-icon">