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

Side by Side Diff: LayoutTests/fast/images/animated-gif-with-offsets.html

Issue 1077743002: Stop testing image output for fast/images/animated-gif-with-offsets.html (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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
« no previous file with comments | « no previous file | LayoutTests/fast/images/animated-gif-with-offsets-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <body> 1 <body>
2 <p>Layout test for 2 <p>Layout test for
3 <a href="http://bugs.webkit.org/show_bug.cgi?id=11760">11760</a>. If it 3 <a href="http://bugs.webkit.org/show_bug.cgi?id=11760">11760</a>. If it
4 doesn't crash, we're good. 4 doesn't crash, we're good.
5 <img src="resources/animated-gif-with-offsets.gif"> 5 <img src="resources/animated-gif-with-offsets.gif">
6 </body> 6 </body>
7 <script> 7 <script>
8 8
9 // Delay 50ms for each frame. 9 // Delay 50ms for each frame.
10 function delay() { 10 function delay() {
11 var startTime = new Date().getTime(); 11 var startTime = new Date().getTime();
12 while (new Date().getTime() - startTime < 50); 12 while (new Date().getTime() - startTime < 50);
13 } 13 }
14 14
15 var count = 3; 15 var count = 3;
16 16
17 function displayOneFrame() { 17 function displayOneFrame() {
18 delay(); 18 delay();
19 if (--count >= 0) 19 if (--count >= 0)
20 testRunner.displayAsyncThen(displayOneFrame); 20 testRunner.displayAsyncThen(displayOneFrame);
21 else 21 else
22 testRunner.notifyDone(); 22 testRunner.notifyDone();
23 } 23 }
24 24
25 if (window.testRunner) { 25 if (window.testRunner) {
26 testRunner.waitUntilDone(); 26 testRunner.waitUntilDone();
27 testRunner.dumpAsText();
27 setTimeout(displayOneFrame, 50); 28 setTimeout(displayOneFrame, 50);
28 } 29 }
29 30
30 </script> 31 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/images/animated-gif-with-offsets-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698