WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
234974
A/B comparison tests fail trying to look up fuzzy match tolerance
https://bugs.webkit.org/show_bug.cgi?id=234974
Summary
A/B comparison tests fail trying to look up fuzzy match tolerance
Tim Horton
Reported
2022-01-07 11:52:34 PST
A/B comparison tests fail trying to look up fuzzy match tolerance
Attachments
Patch
(4.32 KB, patch)
2022-01-07 11:53 PST
,
Tim Horton
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Tim Horton
Comment 1
2022-01-07 11:53:22 PST
Created
attachment 448615
[details]
Patch
Aditya Keerthi
Comment 2
2022-01-07 14:38:25 PST
Comment on
attachment 448615
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=448615&action=review
> Tools/Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:416 > + fuzzy_tolerance = None > + if allow_fuzzy_tolerance: > + fuzzy_tolerance = self._fuzzy_tolerance_for_reference(reference_filename)
Not sure what our Python style guide says, but ternary might be nice: `fuzzy_tolerance = self._fuzzy_tolerance_for_reference(reference_filename) if allow_fuzzy_tolerance else None`.
Tim Horton
Comment 3
2022-01-07 14:45:40 PST
Not sure about our Python style guide either, but personally I'm not a big fan of the out-of-order-shortcutting in the trailing style ternary operator.
EWS
Comment 4
2022-01-07 15:20:41 PST
Committed
r287790
(
245850@main
): <
https://commits.webkit.org/245850@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 448615
[details]
.
Radar WebKit Bug Importer
Comment 5
2022-01-07 15:21:24 PST
<
rdar://problem/87275180
>
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