Bug 85986 - Move suspendAnimations to use Internals interface
Summary: Move suspendAnimations to use Internals interface
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Gyuyoung Kim
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-09 05:33 PDT by Gyuyoung Kim
Modified: 2012-07-17 19:54 PDT (History)
6 users (show)

See Also:


Attachments
Patch (35.87 KB, patch)
2012-05-09 05:43 PDT, Gyuyoung Kim
no flags Details | Formatted Diff | Diff
Patch (37.00 KB, patch)
2012-05-09 07:03 PDT, Gyuyoung Kim
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gyuyoung Kim 2012-05-09 05:33:51 PDT
Adjust suspendAnimations() tests to use Internals instead of LayoutTestController interface. It seems to me that suspendAnimations() is able to be supported by Internals. Because, it looks this function is implemented by WebCore layer, not WebKit layer. If this patch is valid, I'm going to submit a patch for resumeAnimations() as well.
Comment 1 Gyuyoung Kim 2012-05-09 05:43:44 PDT
Created attachment 140927 [details]
Patch
Comment 2 Build Bot 2012-05-09 06:10:40 PDT
Comment on attachment 140927 [details]
Patch

Attachment 140927 [details] did not pass win-ews (win):
Output: http://queues.webkit.org/results/12642907
Comment 3 Gyuyoung Kim 2012-05-09 07:03:43 PDT
Created attachment 140936 [details]
Patch
Comment 4 Gyuyoung Kim 2012-05-09 21:34:37 PDT
CC'ing Ryosuke, Alexey
Comment 5 WebKit Review Bot 2012-05-09 23:10:43 PDT
Comment on attachment 140936 [details]
Patch

Clearing flags on attachment: 140936

Committed r116610: <http://trac.webkit.org/changeset/116610>
Comment 6 WebKit Review Bot 2012-05-09 23:10:54 PDT
All reviewed patches have been landed.  Closing bug.
Comment 7 Roger Fong 2012-07-17 17:07:32 PDT
This patch changed API that was being used by other apps, which consequently now causes these other apps to fail. Please be more careful in the future when making such changes.
Comment 8 Ryosuke Niwa 2012-07-17 18:23:07 PDT
(In reply to comment #7)
> This patch changed API that was being used by other apps, which consequently now causes these other apps to fail. Please be more careful in the future when making such changes.

Could you add a message rule on Source/WebKit/win/WebFrame.h
to http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/config/watchlist ?

e.g. see AppleMacPublicApi
http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/config/watchlist#L262

It wasn't obvious that this was a part of public API.
Comment 9 Gyuyoung Kim 2012-07-17 19:54:30 PDT
(In reply to comment #7)
> This patch changed API that was being used by other apps, which consequently now causes these other apps to fail. Please be more careful in the future when making such changes.

There was similar problem in Bug 86704. I have tried to be more careful since the bug. Sorry for making inconvenience.