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

Side by Side Diff: third_party/WebKit/LayoutTests/images/animated-gif-fast-crash.html

Issue 2496663002: Merge css3/image/ and fast/images/ to images/ (Closed)
Patch Set: Address failing tests (3 of them) Created 4 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 Tests fast animating gif (10ms per frame). Passes if it doesn't crash.<br> 2 Tests fast animating gif (10ms per frame). Passes if it doesn't crash.<br>
3 <img src="resources/animated-10color-fast.gif"> 3 <img src="resources/animated-10color-fast.gif">
4 <script> 4 <script>
5 5
6 // Busy-wait 50ms to trigger the bug of invalidation during paint. 6 // Busy-wait 50ms to trigger the bug of invalidation during paint.
7 // The busy-waiting (as opposed to setTimout) is intentional, in order to 7 // The busy-waiting (as opposed to setTimout) is intentional, in order to
8 // block the thread. 8 // block the thread.
9 function delay() { 9 function delay() {
10 var startTime = new Date().getTime(); 10 var startTime = new Date().getTime();
(...skipping 10 matching lines...) Expand all
21 testRunner.notifyDone(); 21 testRunner.notifyDone();
22 } 22 }
23 23
24 if (window.testRunner) { 24 if (window.testRunner) {
25 testRunner.dumpAsText(); 25 testRunner.dumpAsText();
26 testRunner.waitUntilDone(); 26 testRunner.waitUntilDone();
27 displayOneFrame(); 27 displayOneFrame();
28 } 28 }
29 29
30 </script> 30 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698