Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(709)

Side by Side Diff: LayoutTests/webarchive/test-link-rel-icon-beforeload-expected.webarchive

Issue 14046041: Remove webarchive tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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>&lt;html&gt;&lt;head&gt;
9 &lt;script&gt;
10 function runTest()
11 {
12 if (window.testRunner) {
13 testRunner.setIconDatabaseEnabled(true);
14 testRunner.dumpDOMAsWebArchive();
15 testRunner.queueReload();
16 }
17 }
18 &lt;/script&gt;
19 &lt;/head&gt;
20 &lt;body onload="runTest()"&gt;
21 &lt;div id="console"&gt;&lt;div style="font-family: monospace; color: green;"&gt ;PASS&lt;/div&gt;&lt;/div&gt;
22 &lt;script&gt;
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 &lt;/script&gt;
33 &lt;p&gt;This test should have a green 'PASS' just above this line. If it doesn 't, you failed.
34 &lt;link rel="icon" onbeforeload="print('PASS','green');return false" href="reso urces/favicon.ico" type="image/x-icon"&gt;
35
36
37 &lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</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>
OLDNEW
« no previous file with comments | « LayoutTests/webarchive/test-link-rel-icon-beforeload.html ('k') | LayoutTests/webarchive/test-link-rel-icon-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698