[Webkit-unassigned] [Bug 140374] New: Web Replay: animations should pause when deterministic playback is paused
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jan 12 15:20:08 PST 2015
https://bugs.webkit.org/show_bug.cgi?id=140374
Bug ID: 140374
Summary: Web Replay: animations should pause when deterministic
playback is paused
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: Animations
Assignee: webkit-unassigned at lists.webkit.org
Reporter: burg at cs.washington.edu
CC: akling at apple.com, dino at apple.com, joepeck at webkit.org,
timothy at apple.com
Blocks: 136290
It would be nice to suspend animations while a playback is paused, using the same code path as suspending when changing tabs or for a modal dialog.
Some issues with this: the code to suspend (Document::suspend+resumeScheduledTasks / PageGroupLoadDeferrer) will trigger timers which are normally deterministic such as ScriptRunner::m_timer and animation timers, which would cause a divergence by over-scheduling the timer. If playback is paused and we call suspendScheduledTasks, it calls ScriptRunner's m_timer.stop(). A subsequent resumeScheduledTasks will do m_timer.startOneShot(0, this). I *think* that this second startOneShot should be ignored, as it could run JS prematurely if some scripts were pending when playback pauses.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150112/5d3272b6/attachment-0002.html>
More information about the webkit-unassigned
mailing list