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

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

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 <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, yo u failed.
28 <link rel="icon" onbeforeload="print('PASS','green');return false" href="resourc es/favicon.ico" type="image/x-icon">
29 </body>
30 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698