Skip to content

Commit 7ffff28

Browse files
authored
Clean up DisableAhemAntialias (#51566)
* Clean up DisableAhemAntialias This feature was removed (in [1]) because it was no longer needed since font antialiasing is disabled on all test platforms. [1] https://crrev.com/c/chromium/src/+/6370105 * Define blink_features at use time
1 parent 30ab802 commit 7ffff28

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

Diff for: tools/wptrunner/wptrunner/browsers/chrome.py

+2-7
Original file line numberDiff line numberDiff line change
@@ -161,14 +161,9 @@ def executor_kwargs(logger, test_type, test_environment, run_info_data, subsuite
161161
# Disable overlay scrollbar animations to prevent flaky wpt screenshots based on timing.
162162
chrome_options["args"].append("--disable-features=ScrollbarAnimations")
163163

164-
# Always disable antialiasing on the Ahem font.
165-
blink_features = ['DisableAhemAntialias']
166-
167164
if kwargs["enable_mojojs"]:
168-
blink_features.append('MojoJS')
169-
blink_features.append('MojoJSTest')
170-
171-
chrome_options["args"].append("--enable-blink-features=" + ','.join(blink_features))
165+
blink_features = ['MojoJS', 'MojoJSTest']
166+
chrome_options["args"].append("--enable-blink-features=" + ','.join(blink_features))
172167

173168
if kwargs["enable_swiftshader"]:
174169
# https://chromium.googlesource.com/chromium/src/+/HEAD/docs/gpu/swiftshader.md

0 commit comments

Comments
 (0)