servo/components/config
Martin Robinson 4402b7cf8f
libservo: Remove a couple EmbedderMethods (#36276)
- Remove `EmbedderMethods::get_user_agent_string`. This is now part of
  the `Preferences` data structure, which should allow it to be
  per-`WebView` in the future.
- Remove `EmbedderMethods::get_version_string`. This was used to include
  some data along with WebRender captures about the Servo version. This
  isn't really necessary and it was done to replace code in the past
  that output the WebRender version, so also isn't what the original
  code did. I think we can just remove this entirely.

The idea with these changes is that `EmbedderMethods` can be removed
in a followup and the rest of the methods can be added to
`ServoDelegate`. These two methods are ones that cannot be added to a
delegate as they are used during `Servo` initialization.

Testing: There is currently no testing for libservo. These changes are
meant
as preparation for adding a suite of `WebView` unit tests.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2025-04-01 22:59:50 +00:00
..
macro api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00
Cargo.toml Use new stylo crate renames (#35898) 2025-03-12 00:02:12 +00:00
lib.rs api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00
opts.rs Allow setting userscripts directly without the need of files (#35388) 2025-03-27 03:00:08 +00:00
pref_util.rs Allow setting userscripts directly without the need of files (#35388) 2025-03-27 03:00:08 +00:00
prefs.rs libservo: Remove a couple EmbedderMethods (#36276) 2025-04-01 22:59:50 +00:00