[webkit-dev] How to deal with 1-pixel differences in reftests ?
ap at webkit.org
Wed Nov 18 22:44:20 PST 2015
> 18 нояб. 2015 г., в 11:50, Simon Fraser <simon.fraser at apple.com> написал(а):
> There are some well-understood reasons why a test might not exactly match its reference. One is that the test uses compositing layers to do clipping, but the reference just clips with drawing, and these are not expected to give a pixel-perfect match.
> I proposed a way to allow a test to specify a custom tolerance in https://bugs.webkit.org/show_bug.cgi?id=149828 <https://bugs.webkit.org/show_bug.cgi?id=149828>. If we had this, it would allow me to fix 142258 <https://bugs.webkit.org/show_bug.cgi?id=142258> and 146523 <https://bugs.webkit.org/show_bug.cgi?id=146523>.
Bug 142258 also serves as an example for why we shouldn't do this. Both known reasons for it are actual bugs that needed to be discovered, and need to be fixed.
What are the causes for flakiness in bug 146523?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev