[webkit-dev] Testing feature suggestion: animation/interaction pixel-results "on the fly"

noam.rosenthal at nokia.com noam.rosenthal at nokia.com
Fri Feb 8 08:01:13 PST 2013


________________________________________
From: webkit-dev-bounces at lists.webkit.org [webkit-dev-bounces at lists.webkit.org] on behalf of ext Robert Kroeger [rjkroege at chromium.org]

> How would the test wait for the animation to happen? Tests that use
> timeouts seem more likely to be flaky from what I've seen. Could
> window.testRunner.getWindowSnapshot take a time delta of some kind?
Most of the bugs I've encountered in this area can be caught by a test that would have "obvious" results that can buffer the flakiness, e.g. by moving a big green rectangle and testing only its center.


More information about the webkit-dev mailing list