[Web Animations] Suspend animations when required
Created attachment 337800 [details] Patch
Comment on attachment 337800 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=337800&action=review > Source/WebCore/ChangeLog:19 > + (WebCore::DocumentTimeline::numberOfActiveAnimations const): Called by Internals::numberOfActiveAnimations(), this I think we tend to name functions specific for internals with the "ForTesting" suffix. so: numberOfActiveAnimationsForTesting; to prevent accidental use by real code.
(In reply to Jon Lee from comment #2) > Comment on attachment 337800 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=337800&action=review > > > Source/WebCore/ChangeLog:19 > > + (WebCore::DocumentTimeline::numberOfActiveAnimations const): Called by Internals::numberOfActiveAnimations(), this > > I think we tend to name functions specific for internals with the > "ForTesting" suffix. so: numberOfActiveAnimationsForTesting; to prevent > accidental use by real code. Cool! I'll make that change.
Comment on attachment 337800 [details] Patch Attachment 337800 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/7294996 New failing tests: animations/added-while-suspended.html transitions/created-while-suspended.html
Created attachment 337805 [details] Archive of layout-test-results from ews104 for mac-sierra-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews104 Port: mac-sierra-wk2 Platform: Mac OS X 10.12.6
Comment on attachment 337800 [details] Patch Attachment 337800 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/7295005 New failing tests: fast/animation/css-animation-resuming-when-visible-with-style-change2.html
Created attachment 337807 [details] Archive of layout-test-results from ews123 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews123 Port: ios-simulator-wk2 Platform: Mac OS X 10.13.4
Committed r230581: <https://trac.webkit.org/changeset/230581>
<rdar://problem/39385844>