OLD | NEW |
| (Empty) |
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"> | |
3 <plist version="1.0"> | |
4 <dict> | |
5 <key>WebMainResource</key> | |
6 <dict> | |
7 <key>WebResourceData</key> | |
8 <string><html><head> | |
9 <script> | |
10 function runTest() | |
11 { | |
12 if (window.testRunner) { | |
13 testRunner.setIconDatabaseEnabled(true); | |
14 testRunner.dumpDOMAsWebArchive(); | |
15 testRunner.queueReload(); | |
16 } | |
17 } | |
18 </script> | |
19 </head> | |
20 <body onload="runTest()"> | |
21 <div id="console"><div style="font-family: monospace; color: green;">
;PASS</div></div> | |
22 <script> | |
23 function print(message, color) | |
24 { | |
25 var paragraph = document.createElement("div"); | |
26 paragraph.appendChild(document.createTextNode(message)); | |
27 paragraph.style.fontFamily = "monospace"; | |
28 if (color) | |
29 paragraph.style.color = color; | |
30 document.getElementById("console").appendChild(paragraph); | |
31 } | |
32 </script> | |
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="reso
urces/favicon.ico" type="image/x-icon"> | |
35 | |
36 | |
37 </p></body></html></string> | |
38 <key>WebResourceFrameName</key> | |
39 <string></string> | |
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-before
load.html</string> | |
46 </dict> | |
47 </dict> | |
48 </plist> | |
OLD | NEW |