| <?xml version="1.0" encoding="UTF-8"?> |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> |
| <plist version="1.0"> |
| <dict> |
| <key>WebMainResource</key> |
| <dict> |
| <key>WebResourceData</key> |
| <string><html><head> |
| <script> |
| function runTest() |
| { |
| if (window.testRunner) { |
| testRunner.dumpDOMAsWebArchive(); |
| testRunner.queueReload(); |
| } |
| } |
| </script> |
| </head> |
| <body onload="runTest()"> |
| <div id="console"><div style="font-family: monospace; color: green;">PASS</div></div> |
| <script> |
| function print(message, color) |
| { |
| var paragraph = document.createElement("div"); |
| paragraph.appendChild(document.createTextNode(message)); |
| paragraph.style.fontFamily = "monospace"; |
| if (color) |
| paragraph.style.color = color; |
| document.getElementById("console").appendChild(paragraph); |
| } |
| </script> |
| <p>This test should have a green 'PASS' just above this line. If it doesn't, you failed. |
| <link rel="subresource" onbeforeload="print('PASS','green');return false" href="resources/favicon.ico" type="image/x-icon"> |
| |
| |
| </p></body></html></string> |
| <key>WebResourceFrameName</key> |
| <string></string> |
| <key>WebResourceMIMEType</key> |
| <string>text/html</string> |
| <key>WebResourceTextEncodingName</key> |
| <string>UTF-8</string> |
| <key>WebResourceURL</key> |
| <string>file:///LayoutTests/webarchive/test-link-rel-subresource-beforeload.html</string> |
| </dict> |
| </dict> |
| </plist> |