| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <p>Test passes if loaded into Chromium with Asan enabled and does not crash.</
p> | 3 <p>Test passes if loaded into Chromium with Asan enabled and does not crash.</
p> |
| 4 <img src='resources/animated-href-on-use.svg'></img> | 4 <img id="image" src='resources/animated-href-on-use.svg'></img> |
| 5 <script type="text/javascript"> | 5 <script type="text/javascript"> |
| 6 if (window.testRunner) { | 6 if (window.testRunner) { |
| 7 testRunner.waitUntilDone(); | 7 testRunner.waitUntilDone(); |
| 8 testRunner.dumpAsText(); | 8 testRunner.dumpAsText(); |
| 9 } | 9 } |
| 10 | 10 |
| 11 setTimeout(function() { if (window.testRunner) testRunner.notifyDone(); }, 5
00); | 11 window.onload = function() { |
| 12 window.internals.advanceImageAnimation(image); |
| 13 window.requestAnimationFrame(function() { |
| 14 testRunner.notifyDone() |
| 15 }); |
| 16 } |
| 12 </script> | 17 </script> |
| 13 </html> | 18 </html> |
| 14 | 19 |
| OLD | NEW |