Bug 117399

Summary: JavaScript based testing tool for catching flickering tests
Product: WebKit Reporter: Tamas Czene <tczene>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: jbadics, noam, ossy, sam, simon.fraser, zherczeg
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
draft patch
none
draft patch none

Description Tamas Czene 2013-06-10 02:30:53 PDT
Created attachment 204144 [details]
draft patch

The patch tries to catch a flickering bug at animation tests by using JavaScript.
Added function to WTR that checks the color code of a given pixel in the given fractions of time. If the corresponding pixel's color code difference is below a given threshold in every cases, the test passes. 
This timing and color code checking is test specific: timing and color checking need to be customized for every tests.

Any opinion or advice is appreciated.
Comment 1 Tamas Czene 2013-06-10 02:36:37 PDT
Created attachment 204145 [details]
draft patch
Comment 2 Tamas Czene 2013-07-02 05:36:33 PDT
I will modify and rename getPixel method in order to return rectangles. I also modify the testing system to evaluate data only at the end of the animation. The evaluation should be given manually for every single tests.