[webkit-dev] Testing feature suggestion: animation/interaction pixel-results "on the fly"
pdr at google.com
Fri Feb 8 17:16:44 PST 2013
I'm not sure if this is generally known: we use [svg
document].setCurrentTime(time) in the svg/animations tests for both script
and pixel tests. The SVG animation test harness leaves a lot to be desired,
but it may be a good place to start for a more general DRT approach:
On Fri, Feb 8, 2013 at 4:26 PM, Gregg Tavares <gman at google.com> wrote:
> On Fri, Feb 8, 2013 at 4:16 PM, Benjamin Poulain <benjamin at webkit.org>wrote:
>> On Fri, Feb 8, 2013 at 4:12 PM, Gregg Tavares <gman at google.com> wrote:
>>> Can you expose a time or setTime function in DRT and some option that
>>> says "let JS control the clock"?
>> Unfortunately, that only works in the simple cases.
>> We could cheat the WebCore clock, but that would ultimately be wrong for
>> animations running in threads or driven outside WebCore.
> The point was you need to be able to control all the clocks if you want
> repeatable results. If you're saying some clocks can't be controlled that
> sounds like something needs to be refactored so it's testable.
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev