Closed Bug 1590371 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 19825 - reftests: if images hashes don't match, try to compare pixels

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox72 fixed)

RESOLVED FIXED
mozilla72
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.

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/df43f2225d1f [wpt PR 19825] - reftests: if images hashes don't match, try to compare pixels, a=testonly
Result changes from PR not available.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
You need to log in before you can comment on or make changes to this bug.