[webkit-dev] run-webkit-tests question; hashes when comparing ref test output
Alexey Proskuryakov
ap at webkit.org
Thu Jan 22 22:36:10 PST 2015
> 22 янв. 2015 г., в 17:57, Darin Adler <darin at apple.com> написал(а):
>
> What about the test I cited?
>
> svg/css/svg-resource-fragment-identifier-img-src.html
This particular test is buggy - it is a hidpi test, so it dumps results as a 1600x1200 image, but its -expected.html is not hidpi, and is dumped as 800x600, so hashes are obviously different. I now filed <https://bugs.webkit.org/show_bug.cgi?id=140815> about this test.
When we compare pixels, we draw both images into bitmaps of the same size, so they become similar enough for ImageDiff to consider them identical.
Earlier today, Simon and I agreed that we should just silence the error message, because it only tells us about minor color differences that are inevitable when comparing compositing vs. non-compositing. Looks like it tells us about more actionable issues, too. Also, I just found <https://bugs.webkit.org/show_bug.cgi?id=69444>, and I think that its rationale applies in this case, too.
So we should probably keep this error message. I'm not sure whether we should make it a hard error though.
- Alexey
More information about the webkit-dev
mailing list