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

Issue 2882873002: Deflake paint/invalidation/svg/image-animation-with-zoom.html (Closed)

Created:
3 years, 7 months ago by Xianzhu
Modified:
3 years, 7 months ago
Reviewers:
pdr.
CC:
darktears, blink-reviews, blink-reviews-animation_chromium.org, chromium-reviews, Eric Willigers, rjwright, shans
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Deflake paint/invalidation/svg/image-animation-with-zoom.html It had been flaky after https://codereview.chromium.org/2872423002/ which defined PaintInvalidationReason::kImage for invalidations caused by image change. The test sometimes produced "full" and sometimes produced "image" as the invalidation reason of the image. The flakiness might be because of arbitrary timing of image animation. - Add image onload handler to start the test; - Advance image animation twice to avoid flakiness. - Convert it into a ref test. - Increase the size of the image to avoid the layout from being affected by different font sizes on different platforms. BUG=722131 Review-Url: https://codereview.chromium.org/2882873002 Cr-Commit-Position: refs/heads/master@{#472165} Committed: https://chromium.googlesource.com/chromium/src/+/b6e599fe4496e4f1aefdff8e73d1697f2d9da6b0

Patch Set 1 #

Patch Set 2 : - #

Patch Set 3 : - #

Patch Set 4 : - #

Total comments: 2

Patch Set 5 : - #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -136 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/svg/image-animation-with-zoom.html View 1 2 3 4 2 chunks +23 lines, -10 lines 0 comments Download
A third_party/WebKit/LayoutTests/paint/invalidation/svg/image-animation-with-zoom-expected.html View 1 1 chunk +3 lines, -0 lines 0 comments Download
D third_party/WebKit/LayoutTests/paint/invalidation/svg/image-animation-with-zoom-expected.txt View 1 1 chunk +0 lines, -24 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/svg/resources/animate-center.svg View 1 2 chunks +3 lines, -3 lines 0 comments Download
D third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/svg/image-animation-with-zoom-expected.txt View 1 1 chunk +0 lines, -24 lines 0 comments Download
D third_party/WebKit/LayoutTests/platform/mac-mac10.9/virtual/disable-spinvalidation/paint/invalidation/svg/image-animation-with-zoom-expected.txt View 1 1 chunk +0 lines, -24 lines 0 comments Download
D third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/image-animation-with-zoom-expected.txt View 1 1 chunk +0 lines, -24 lines 0 comments Download
D third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/svg/image-animation-with-zoom-expected.txt View 1 1 chunk +0 lines, -24 lines 0 comments Download

Messages

Total messages: 34 (21 generated)
Xianzhu
https://codereview.chromium.org/2882873002/diff/60001/third_party/WebKit/LayoutTests/paint/invalidation/svg/image-animation-with-zoom.html File third_party/WebKit/LayoutTests/paint/invalidation/svg/image-animation-with-zoom.html (right): https://codereview.chromium.org/2882873002/diff/60001/third_party/WebKit/LayoutTests/paint/invalidation/svg/image-animation-with-zoom.html#newcode26 third_party/WebKit/LayoutTests/paint/invalidation/svg/image-animation-with-zoom.html:26: internals.advanceImageAnimation(targetImage); Without the second advanceImageAnimation, the test sometimes fail ...
3 years, 7 months ago (2017-05-15 22:13:20 UTC) #19
pdr.
There are a few other tests that use advanceImageAnimation for svg images. The basic idea ...
3 years, 7 months ago (2017-05-15 22:18:48 UTC) #20
Xianzhu
On 2017/05/15 22:18:48, pdr. wrote: > There are a few other tests that use advanceImageAnimation ...
3 years, 7 months ago (2017-05-15 22:45:50 UTC) #21
pdr.
https://codereview.chromium.org/2882873002/diff/60001/third_party/WebKit/LayoutTests/paint/invalidation/svg/image-animation-with-zoom.html File third_party/WebKit/LayoutTests/paint/invalidation/svg/image-animation-with-zoom.html (right): https://codereview.chromium.org/2882873002/diff/60001/third_party/WebKit/LayoutTests/paint/invalidation/svg/image-animation-with-zoom.html#newcode26 third_party/WebKit/LayoutTests/paint/invalidation/svg/image-animation-with-zoom.html:26: internals.advanceImageAnimation(targetImage); On 2017/05/15 at 22:13:20, Xianzhu wrote: > Without ...
3 years, 7 months ago (2017-05-16 01:39:50 UTC) #22
Xianzhu
On 2017/05/16 01:39:50, pdr. wrote: > https://codereview.chromium.org/2882873002/diff/60001/third_party/WebKit/LayoutTests/paint/invalidation/svg/image-animation-with-zoom.html > File > third_party/WebKit/LayoutTests/paint/invalidation/svg/image-animation-with-zoom.html > (right): > > ...
3 years, 7 months ago (2017-05-16 16:16:57 UTC) #23
pdr.
On 2017/05/16 at 16:16:57, wangxianzhu wrote: > On 2017/05/16 01:39:50, pdr. wrote: > > https://codereview.chromium.org/2882873002/diff/60001/third_party/WebKit/LayoutTests/paint/invalidation/svg/image-animation-with-zoom.html ...
3 years, 7 months ago (2017-05-16 16:30:26 UTC) #24
pdr.
(to be clear: I patched in your patch then removed the two advanceImageAnimation calls)
3 years, 7 months ago (2017-05-16 16:31:04 UTC) #25
Xianzhu
On 2017/05/16 16:30:26, pdr. wrote: > On 2017/05/16 at 16:16:57, wangxianzhu wrote: > > On ...
3 years, 7 months ago (2017-05-16 16:35:37 UTC) #26
pdr.
On 2017/05/16 at 16:35:37, wangxianzhu wrote: > On 2017/05/16 16:30:26, pdr. wrote: > > On ...
3 years, 7 months ago (2017-05-16 16:43:35 UTC) #27
Xianzhu
On 2017/05/16 16:43:35, pdr. wrote: > On 2017/05/16 at 16:35:37, wangxianzhu wrote: > > On ...
3 years, 7 months ago (2017-05-16 16:58:31 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2882873002/80001
3 years, 7 months ago (2017-05-16 16:59:47 UTC) #30
pdr.
On 2017/05/16 at 16:58:31, wangxianzhu wrote: > On 2017/05/16 16:43:35, pdr. wrote: > > On ...
3 years, 7 months ago (2017-05-16 17:04:04 UTC) #31
commit-bot: I haz the power
3 years, 7 months ago (2017-05-16 18:23:42 UTC) #34
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/b6e599fe4496e4f1aefdff8e73d1...

Powered by Google App Engine
This is Rietveld 408576698