[WK2] Fix freezing issue on MediaCapture when app_svc error occurs
[framework/web/webkit-efl.git] / LayoutTests / webarchive / test-link-rel-icon-beforeload.html
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, you failed.
28 <link rel="icon" onbeforeload="print('PASS','green');return false" href="resources/favicon.ico" type="image/x-icon">
29 </body>
30 </html>