[Webkit-unassigned] [Bug 170198] New: MotionMark tests using Date.now() to drive animations don't work under web-page-replay

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 28 13:57:03 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=170198

            Bug ID: 170198
           Summary: MotionMark tests using Date.now() to drive animations
                    don't work under web-page-replay
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: vmiura at chromium.org
                CC: lforschler at apple.com

A number of the MotionMark tests animate properties based on the Date.now() value.  This is via utility methods Stage.dateCounterValue() or Stage.dateFractionalValue().

Chromium's web-page-replay stubs out Date.now() to improve page replay determinism, and this breaks the animation progression on some of the tests.

Would it make sense to replace the Data.now() usage with consistent use of the Benchmark.timestamp()?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170328/209381d0/attachment.html>


More information about the webkit-unassigned mailing list