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

Tamas Czene
Reported 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.
Attachments
draft patch (20.13 KB, patch)
2013-06-10 02:30 PDT, Tamas Czene
no flags
draft patch (24.50 KB, patch)
2013-06-10 02:36 PDT, Tamas Czene
no flags
Tamas Czene
Comment 1 2013-06-10 02:36:37 PDT
Created attachment 204145 [details] draft patch
Tamas Czene
Comment 2 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.
Note You need to log in before you can comment on or make changes to this bug.