OLD | NEW |
(Empty) | |
| 1 <svg xmlns="http://www.w3.org/2000/svg" |
| 2 xmlns:html="http://www.w3.org/1999/xhtml"> |
| 3 <defs> |
| 4 <html:link rel="shortcut icon" href="icon1.png"/> |
| 5 <html:link rel="shortcut icon" href="icon2.png"/> |
| 6 <html:link rel="shortcut icon" href="icon3.png"/> |
| 7 </defs> |
| 8 <text y="20"></text> |
| 9 <defs> |
| 10 <html:link rel="shortcut icon" href="icon4.png"/> |
| 11 <html:link rel="shortcut icon" href="icon5.png"/> |
| 12 </defs> |
| 13 <html:link rel="shortcut icon" href="icon6.png"/> |
| 14 <script> |
| 15 <![CDATA[ |
| 16 if (window.testRunner) |
| 17 testRunner.dumpAsText(); |
| 18 let icons = internals.shortcutIconURLs(document); |
| 19 let passed = icons.length === 6 && |
| 20 icons[0].endsWith('icon6.png') && |
| 21 icons[1].endsWith('icon5.png') && |
| 22 icons[2].endsWith('icon4.png') && |
| 23 icons[3].endsWith('icon3.png') && |
| 24 icons[4].endsWith('icon2.png') && |
| 25 icons[5].endsWith('icon1.png'); |
| 26 let resultNode = document.querySelector('text'); |
| 27 resultNode.textContent = passed ? "PASS" : "FAIL"; |
| 28 ]]> |
| 29 </script> |
| 30 </svg> |
OLD | NEW |