We need to stop/suspend GenericEventQueue when DeclarativeAnimation, as an active DOM object, gets stopped, suspended.
We should also resume it when we get out of the page cache, etc..
DeclarativeAnimation is not an ActiveDOMObject… yet :)
Except its superclass, WebAnimation, is. Duh.
Created attachment 345412 [details]
Comment on attachment 345412 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=345412&action=review
> + ActiveDOMObject::suspend(reason);
There is no need to call this. It's empty.
But we should call WebAnimation::suspend(reason) to make this code future proof.
> + ActiveDOMObject::resume();
Committed r234049: <https://trac.webkit.org/changeset/234049>