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

Side by Side Diff: LayoutTests/fast/dom/icon-url-list-apple-touch.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
1 <html> 1 <html>
2 <head> 2 <head>
3 <title>Original Title</title> 3 <title>Original Title</title>
4 <link rel="shortcut icon" type="image/x-icon" href="http://test.com/oldfavicon.i co"/> 4 <link rel="shortcut icon" type="image/x-icon" href="http://test.com/oldfavicon.i co"/>
5 <link rel="apple-touch-icon" type="image/png" href="http://test.com/i/touch.png" /> 5 <link rel="apple-touch-icon" type="image/png" href="http://test.com/i/touch.png" />
6 <link rel="apple-touch-icon-precomposed" type="image/png" href="http://test.com/ i/touch-precomposed.png"/> 6 <link rel="apple-touch-icon-precomposed" type="image/png" href="http://test.com/ i/touch-precomposed.png"/>
7 <script src="../js/resources/js-test-pre.js"></script> 7 <script src="../../resources/js-test.js"></script>
8 <script> 8 <script>
9 function runTests() { 9 function runTests() {
10 if (window.testRunner) 10 if (window.testRunner)
11 testRunner.dumpAsText(); 11 testRunner.dumpAsText();
12 12
13 debug('Tests that all favicons and touch icons (if ENABLE(TOUCH_ICON_LOADING )) are in document.iconURLs()'); 13 debug('Tests that all favicons and touch icons (if ENABLE(TOUCH_ICON_LOADING )) are in document.iconURLs()');
14 14
15 // Fetch the actual list of icon URLs. 15 // Fetch the actual list of icon URLs.
16 var actualURLs = window.internals.allIconURLs(document); 16 var actualURLs = window.internals.allIconURLs(document);
17 17
18 // Print out the URL list in the document to match it against the expected l ist. 18 // Print out the URL list in the document to match it against the expected l ist.
19 // Note that the expected order is reverse to ensure that icons seen later 19 // Note that the expected order is reverse to ensure that icons seen later
20 // take precedence as required by the spec. 20 // take precedence as required by the spec.
21 for (var i = 0; i < actualURLs.length; i++) 21 for (var i = 0; i < actualURLs.length; i++)
22 debug(actualURLs[i]); 22 debug(actualURLs[i]);
23 } 23 }
24 </script> 24 </script>
25 </head> 25 </head>
26 <body onload='runTests();'> 26 <body onload='runTests();'>
27 </body> 27 </body>
28 </html> 28 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/icon-url-list.html ('k') | LayoutTests/fast/dom/implementation-api-args.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698