From 5e795b48d912f912cf01d7fbc23dbdb4553fb69a Mon Sep 17 00:00:00 2001 From: "L. David Baron" Date: Wed, 18 Oct 2023 09:49:38 +0000 Subject: [PATCH] Bug 1858990 [wpt PR 42533] - Fix typos in comment describing reftest fuzzy syntax., a=testonly Automatic update from web-platform-tests Fix typos in comment describing reftest fuzzy syntax. (#42533) -- wpt-commits: 068cd3b2f51da9a59dee2d51e6d73bf09d9ea784 wpt-pr: 42533 --- .../web-platform/tests/tools/wptrunner/wptrunner/manifestexpected.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/web-platform/tests/tools/wptrunner/wptrunner/manifestexpected.py b/testing/web-platform/tests/tools/wptrunner/wptrunner/manifestexpected.py index 51ce343baa7a..6c2f5c96c291 100644 --- a/testing/web-platform/tests/tools/wptrunner/wptrunner/manifestexpected.py +++ b/testing/web-platform/tests/tools/wptrunner/wptrunner/manifestexpected.py @@ -131,11 +131,11 @@ def fuzzy_prop(node): key = [reftype ] reftype = "==" | "!=" prop = [propName "=" ] range - propName = "maxDifferences" | "totalPixels" + propName = "maxDifference" | "totalPixels" range = ["-" ] So for example: - maxDifferences=10;totalPixels=10-20 + maxDifference=10;totalPixels=10-20 specifies that for any test/ref pair for which no other rule is supplied, there must be a maximum pixel difference of exactly 10, and between 10 and -- 2.11.4.GIT