[wpt-sync] Sync PR 19825 - reftests: if images hashes don't match, try to compare pixels
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox72 fixed)
| Tracking | Status | |
|---|---|---|
| firefox72 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 19825 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/19825
Details from upstream follow.
Carlos Alberto Lopez Perez <clopez@igalia.com> wrote:
reftests: if images hashes don't match, try to compare pixels
When comparing the result of a reftest, checking if the hash of
the expected result matches the hash of the test is not enough.
An image can have different hash, but still be the very same
image (same pixels).This patch implements checks for pixel equality between the two
images when the hashes are different.It has been observed that in WebKit based browsers (Safari, WebKitGTK)
this happens and many tests are beeing flagged incorrectly as failing.
| Assignee | ||
Comment 1•6 years ago
|
||
| Assignee | ||
Comment 3•6 years ago
|
||
Comment 4•6 years ago
|
||
| bugherder | ||
Description
•