WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
94704
REGRESSION(
r126189
): Reftest mismatches are (again) run through ImageDiff with 0.1 tolerance
https://bugs.webkit.org/show_bug.cgi?id=94704
Summary
REGRESSION(r126189): Reftest mismatches are (again) run through ImageDiff wit...
Zan Dobersek
Reported
2012-08-22 06:36:09 PDT
REGRESSION(
r126189
): Reftest mismatches are (again) run through ImageDiff with 0.1 tolerance
Attachments
Patch
(2.38 KB, patch)
2012-08-22 06:37 PDT
,
Zan Dobersek
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Zan Dobersek
Comment 1
2012-08-22 06:37:06 PDT
Created
attachment 159923
[details]
Patch
Zan Dobersek
Comment 2
2012-08-22 06:38:25 PDT
Perhaps a reincarnation of
bug #92847
, this caused some tests to pop up as passing. Too bad.
Dirk Pranke
Comment 3
2012-08-22 09:19:12 PDT
Oh, that's my fault. Will look into it in a bit ...
Eric Seidel (no email)
Comment 4
2012-08-22 13:24:49 PDT
How do we test this so it doesn't happen again?
Dirk Pranke
Comment 5
2012-08-22 13:44:14 PDT
Actually, to clarify ... this is not a regression of
bug #92847
. This was caused by the fix I landed for
bug 94540
(
r126189
). At some point, we stopped calling diff_image() for reftests and were just comparing checksums. This seemed to be bad (at least for the Apple Mac port) and so I added the diff_image as a sanity check. It wasn't clear to me at the time (and still isn't) whether we should use the default tolerance for the port, or use 0 (and thus ref tests and pixel tests would potentially be compared with different tolerances). I can see arguments for either way, and perhaps this should be a separate default setting. In the absence of agreeing over what we want to do here, it's not obvious what the test should be testing ;). That said, I'll R+ this as I *think* the Apple Mac port doesn't actually need fuzzy diffs and so this shouldn't break things. I guess we can find out.
Dirk Pranke
Comment 6
2012-08-22 13:44:46 PDT
Comment on
attachment 159923
[details]
Patch Also, we should add some sort of a test for this (per eric's comment), but I don't want to hold up this fix for that. I'll file a separate bug.
WebKit Review Bot
Comment 7
2012-08-22 14:42:15 PDT
Comment on
attachment 159923
[details]
Patch Clearing flags on attachment: 159923 Committed
r126353
: <
http://trac.webkit.org/changeset/126353
>
WebKit Review Bot
Comment 8
2012-08-22 14:42:19 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug