Skip to content

Commit

Permalink
prefs: Move some DebugOptions to Preferences and clean up
Browse files Browse the repository at this point in the history
- Move options configuring antialiasing and WebRender shader precache to
  the `Preferences` to group them with other related WebRender and DOM
  settings.
- Rename offscreen canvas preference to make it match more closely to the
  other canvas preferences.
- Disable text antialiasing for canvas during WPT runs to make it
  consistent with the setting for other text.

Signed-off-by: Martin Robinson <[email protected]>
  • Loading branch information
mrobinson authored and servo-wpt-sync committed Jan 15, 2025
1 parent 04382e5 commit 28f230f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/wptrunner/wptrunner/executors/executorservo.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def screenshot(self, test, viewport_size, dpi, page_ranges):
extra_args = ["--exit",
"--output=%s" % output_path,
"--window-size", viewport_size or "800x600"]
debug_opts = "disable-text-aa,load-webfonts-synchronously,replace-surrogates"
debug_opts = "load-webfonts-synchronously,replace-surrogates"

if dpi:
extra_args += ["--device-pixel-ratio", dpi]
Expand Down

0 comments on commit 28f230f

Please sign in to comment.