Summary: | JavaScript based testing tool for catching flickering tests | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Tamas Czene <tczene> | ||||||
Component: | Tools / Tests | Assignee: | 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: |
|
Created attachment 204145 [details]
draft patch
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. |
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.