aboutsummaryrefslogtreecommitdiffstats
path: root/components/config/opts.rs
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2025-02-07 21:04:31 +0100
committerGitHub <noreply@github.com>2025-02-07 20:04:31 +0000
commite227e0913bf1728c2fead8ae49c7511ddaabe996 (patch)
tree17164cbc788675ffaf63986e126a855b75fb3962 /components/config/opts.rs
parent1ba5d0e0936e6ab46a29c25b8fac9b583e608eb8 (diff)
downloadservo-e227e0913bf1728c2fead8ae49c7511ddaabe996.tar.gz
servo-e227e0913bf1728c2fead8ae49c7511ddaabe996.zip
servoshell: Move `headless` setting to ServoShellPreferences (#35377)
This is only used in servoshell, even though it was plumbed through script previously. It's just about how the `RenderingContext` is set up, which is something managed entirely outside of servo itself. In addition, make the name of `servo_shell_preferences` in `app.rs` more consistent with the rest of the codebase. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Diffstat (limited to 'components/config/opts.rs')
-rw-r--r--components/config/opts.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/components/config/opts.rs b/components/config/opts.rs
index 212ce7cebc5..2bc90696a43 100644
--- a/components/config/opts.rs
+++ b/components/config/opts.rs
@@ -48,8 +48,6 @@ pub struct Opts {
pub output_file: Option<String>,
- pub headless: bool,
-
/// True to exit on thread failure instead of displaying about:failure.
pub hard_fail: bool,
@@ -218,7 +216,6 @@ impl Default for Opts {
userscripts: None,
user_stylesheets: Vec::new(),
output_file: None,
- headless: false,
hard_fail: true,
webdriver_port: None,
initial_window_size: Size2D::new(1024, 740),