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

Side by Side Diff: LayoutTests/svg/as-image/animated-use-as-image-crash.html

Issue 1304093006: Add a new API for testing animated images (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase harder Created 5 years, 3 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
OLDNEW
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
OLDNEW
« no previous file with comments | « LayoutTests/svg/as-image/animated-svg-as-image-same-image.html ('k') | LayoutTests/svg/repaint/image-animation-with-zoom.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698