WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
116900
Animations do not restart after exiting page cache
https://bugs.webkit.org/show_bug.cgi?id=116900
Summary
Animations do not restart after exiting page cache
Dean Jackson
Reported
2013-05-28 16:36:04 PDT
We suspend animations going into the page cache and do not resume them coming out. <
rdar://problem/14006844
>
Attachments
Patch
(5.69 KB, patch)
2013-05-28 20:05 PDT
,
Dean Jackson
thorton
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Dean Jackson
Comment 1
2013-05-28 20:05:44 PDT
Created
attachment 203115
[details]
Patch
Tim Horton
Comment 2
2013-05-28 20:10:01 PDT
Comment on
attachment 203115
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=203115&action=review
> Source/WebCore/ChangeLog:11 > + was an error in
r149576
which was checking a global suspended > + on the AnimationController and not trying to resume anything
a global suspended *what*.
> Source/WebCore/page/animation/AnimationController.cpp:-315 > - if (!isSuspended()) > - return;
How sure are we that there are no cases where this will accidentally get called twice/is there any potential downside to that?
Dean Jackson
Comment 3
2013-05-28 20:11:47 PDT
(In reply to
comment #2
)
> (From update of
attachment 203115
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=203115&action=review
> > > Source/WebCore/ChangeLog:11 > > + was an error in
r149576
which was checking a global suspended > > + on the AnimationController and not trying to resume anything > > a global suspended *what*.
:)
> > > Source/WebCore/page/animation/AnimationController.cpp:-315 > > - if (!isSuspended()) > > - return; > > How sure are we that there are no cases where this will accidentally get called twice/is there any potential downside to that?
There is no downside. In fact, the code was originally like this for years, before I added the flag. I just got a bit overzealous when trying to return early.
Dean Jackson
Comment 4
2013-05-28 20:14:32 PDT
Committed
r150862
: <
http://trac.webkit.org/changeset/150862
>
Simon Fraser (smfr)
Comment 5
2013-05-28 20:22:29 PDT
<
rdar://problem/14006844
>
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