|
Add a new API for testing animated images
This patch adds internals.advanceImageAnimationFrame([img]) for
advancing an image's animation in tests. With this patch, 2.5 seconds
of unnecessary and flaky setTimeout calls have been removed.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201942
Total comments: 9
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+205 lines, -97 lines) |
Patch |
 |
M |
LayoutTests/OilpanExpectations
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/TestExpectations
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/canvas/philip/tests/2d.drawImage.animated.gif.html
|
View
|
1
2
|
1 chunk |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/canvas/canvas-createImageBitmap-animated.html
|
View
|
1
2
3
4
5
|
1 chunk |
+10 lines, -12 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/images/animated-gif-advance-frames.html
|
View
|
1
2
3
4
|
1 chunk |
+32 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/images/animated-gif-advance-frames-expected.html
|
View
|
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/images/resources/green-red-blue-yellow-animated.gif
|
View
|
9
|
Binary file |
0 comments
|
Download
|
 |
M |
LayoutTests/paint/invalidation/animated-gif.html
|
View
|
1
2
|
1 chunk |
+5 lines, -16 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/paint/invalidation/animated-gif-background.html
|
View
|
1
2
|
1 chunk |
+5 lines, -16 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/linux/svg/repaint/image-animation-with-zoom-expected.txt
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/win-xp/svg/repaint/image-animation-with-zoom-expected.txt
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
D |
LayoutTests/svg/as-image/animated-svg-animation-control.html
|
View
|
1
2
|
1 chunk |
+0 lines, -21 lines |
0 comments
|
Download
|
 |
D |
LayoutTests/svg/as-image/animated-svg-animation-control-expected.html
|
View
|
1
2
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/svg/as-image/animated-svg-as-image.html
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+10 lines, -5 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/svg/as-image/animated-svg-as-image-no-fixed-intrinsic-size.html
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/svg/as-image/animated-svg-as-image-same-image.html
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+10 lines, -5 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/svg/as-image/animated-use-as-image-crash.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/svg/repaint/image-animation-with-zoom.html
|
View
|
1
2
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/svg/repaint/image-animation-with-zoom-expected.txt
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/svg/animation/SMILTimeContainer.h
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/svg/animation/SMILTimeContainer.cpp
|
View
|
1
2
3
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/svg/graphics/SVGImage.h
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/svg/graphics/SVGImage.cpp
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/testing/Internals.h
|
View
|
1
2
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/testing/Internals.cpp
|
View
|
1
2
|
1 chunk |
+23 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/testing/Internals.idl
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/platform/graphics/BitmapImage.h
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/platform/graphics/Image.h
|
View
|
1
2
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
Total messages: 26 (12 generated)
|