1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
5 <key>WebMainResource</key>
7 <key>WebResourceData</key>
8 <string><html><head>
12 if (window.testRunner) {
13 testRunner.setIconDatabaseEnabled(true);
14 testRunner.dumpDOMAsWebArchive();
15 testRunner.queueReload();
20 <body onload="runTest()">
21 <div id="console"><div style="font-family: monospace; color: green; ">PASS</div></div>
23 function print(message, color)
25 var paragraph = document.createElement("div");
26 paragraph.appendChild(document.createTextNode(message));
27 paragraph.style.fontFamily = "monospace";
29 paragraph.style.color = color;
30 document.getElementById("console").appendChild(paragraph);
33 <p>This test should have a green 'PASS' just above this line. If it doesn't, you failed.
34 <link rel="icon" onbeforeload="print('PASS','green');return false" href="resources/favicon.ico" type="image/x-icon">
37 </p></body></html></string>
38 <key>WebResourceFrameName</key>
40 <key>WebResourceMIMEType</key>
41 <string>text/html</string>
42 <key>WebResourceTextEncodingName</key>
43 <string>UTF-8</string>
44 <key>WebResourceURL</key>
45 <string>file:///LayoutTests/webarchive/test-link-rel-icon-beforeload.html</string>