WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
REOPENED
49182
animations/stop-animation-on-suspend.html sometimes fails on all platforms
https://bugs.webkit.org/show_bug.cgi?id=49182
Summary
animations/stop-animation-on-suspend.html sometimes fails on all platforms
Adam Roben (:aroben)
Reported
2010-11-08 08:56:12 PST
animations/stop-animation-on-suspend.html sometimes fails on Windows. See the URL for one example. Here's another:
http://build.webkit.org/results/Windows%20Debug%20(Tests)/r71518%20(22136)/animations/stop-animation-on-suspend-pretty-diff.html
I've added this test to the Skipped file.
Attachments
Patch
(10.96 KB, patch)
2012-11-01 06:57 PDT
,
Jussi Kukkonen (jku)
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Adam Roben (:aroben)
Comment 1
2010-11-08 08:57:48 PST
I think this has been happening since the test was added in
r71424
. It looks like
r71454
tried to address some of the failures, but clearly there are still problems.
Adam Roben (:aroben)
Comment 2
2010-11-08 08:59:31 PST
<
rdar://problem/8641506
>
Eric Seidel (no email)
Comment 3
2010-12-02 10:47:15 PST
animations/stop-animation-on-suspend.html is flaky on all platforms. We should skip it.
Eric Seidel (no email)
Comment 4
2010-12-02 11:54:10 PST
Skipped for now: Committed
r73175
: <
http://trac.webkit.org/changeset/73175
>
WebKit Review Bot
Comment 5
2010-12-02 12:34:40 PST
http://trac.webkit.org/changeset/73175
might have broken SnowLeopard Intel Release (Tests) The following tests are not passing: fast/profiler/throw-exception-from-eval.html
Eric Seidel (no email)
Comment 6
2010-12-02 12:38:46 PST
Um... The sherrifbot is right. But it makes no sense.
http://trac.webkit.org/browser/trunk/LayoutTests/fast/profiler/throw-exception-from-eval.html
is now failing. Perhaps it was dependent on this earlier test?
Eric Seidel (no email)
Comment 7
2010-12-02 12:39:42 PST
I wonder if this could have been caused by the rollout of
bug 50401
.
Adam Klein
Comment 8
2012-02-29 12:30:03 PST
This test has been skipped for >1 year on most platforms (on Chromium, we run it but expect it to fail flakily). Perhaps it's time to delete the test?
Simon Fraser (smfr)
Comment 9
2012-02-29 13:00:46 PST
..or fix it.
Dominik Röttsches (drott)
Comment 10
2012-10-30 05:53:12 PDT
***
Bug 84592
has been marked as a duplicate of this bug. ***
Dominik Röttsches (drott)
Comment 11
2012-10-30 06:01:16 PDT
Jussi writes in
bug 84592
: "I believe the "webkitAnimationStart" event on document and the one on iframe happen at different times, but the test starts a single timer (on documents event) and of course the the iframe animation isn't synced"
Jussi Kukkonen (jku)
Comment 12
2012-11-01 02:35:09 PDT
(In reply to
comment #11
)
> Jussi writes in
bug 84592
: > "I believe the "webkitAnimationStart" event on document and the one on iframe happen at different times, but the test starts a single timer (on documents event) and of course the the iframe animation isn't synced"
I could try doing something on this, but I'm not sure what the correct assumptions are: The test assumes that 'box' and 'subframe-box' (inside the iframe) start animating at the same time. This isn't currently true, it seems 'subframe-box' is not even in the dom tree when 'box' animation starts. If we don't care about animations starting (roughly) at the same time, I could probably just modify the test to ensure that both animations do suspend and resume.
Jussi Kukkonen (jku)
Comment 13
2012-11-01 05:43:51 PDT
(In reply to
comment #12
)
> If we don't care about animations starting (roughly) at the same time, I could probably just modify the test to ensure that both animations do suspend and resume.
I did just that and realised suspendAnimations() does not actually work. I'm pretty sure it did when I originally looked at this (in the duplicate bug). It's posisble we've missed a regression because this was skipped. I will take a closer look but comments on the assumption in
comment 11
are still welcome.
Jussi Kukkonen (jku)
Comment 14
2012-11-01 06:01:56 PDT
(In reply to
comment #13
)
> I did just that and realised suspendAnimations() does not actually work. I'm pretty sure it did when I originally looked at this (in the duplicate bug). It's posisble we've missed a regression because this was skipped. I will take a closer look but comments on the assumption in
comment 11
are still welcome.
Oh that was was silly of me -- I didn't notice it was a Internals call. Apologies for the spam. I'll upload a patch that modifies this test to not expect animations to start at the same time and improves the documentation a bit -- there's a test for stopping on suspend already, this was added to make sure animations in subframes stop as well.
Jussi Kukkonen (jku)
Comment 15
2012-11-01 06:57:09 PDT
Created
attachment 171837
[details]
Patch
Jussi Kukkonen (jku)
Comment 16
2012-11-01 07:02:53 PDT
(In reply to
comment #15
)
> Created an attachment (id=171837) [details]
Timing things like this in js is inherently flaky, but I think this should now be as good as the other tests (like suspend-resume-animation) although I'll take suggestions on a better way to do this than the iframe onload handler. I've removed the failure expectations for this on all ports (except chromium who also had a crash expectation?) please let me know if you'd rather I didn't do that.
Antti Koivisto
Comment 17
2012-11-20 10:51:03 PST
Comment on
attachment 171837
[details]
Patch r=me
WebKit Review Bot
Comment 18
2012-11-20 13:00:49 PST
Comment on
attachment 171837
[details]
Patch Clearing flags on attachment: 171837 Committed
r135307
: <
http://trac.webkit.org/changeset/135307
>
WebKit Review Bot
Comment 19
2012-11-20 13:00:56 PST
All reviewed patches have been landed. Closing bug.
WebKit Review Bot
Comment 20
2012-11-21 01:50:26 PST
Re-opened since this is blocked by
bug 102905
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug