aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/window.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/script/dom/window.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/script/dom/window.rs')
-rw-r--r--components/script/dom/window.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/components/script/dom/window.rs b/components/script/dom/window.rs
index 2315e92eba1..f496a1b8191 100644
--- a/components/script/dom/window.rs
+++ b/components/script/dom/window.rs
@@ -2778,7 +2778,6 @@ impl Window {
unminify_css: bool,
local_script_source: Option<String>,
userscripts_path: Option<String>,
- is_headless: bool,
replace_surrogates: bool,
user_agent: Cow<'static, str>,
player_context: WindowGLContext,
@@ -2807,7 +2806,6 @@ impl Window {
origin,
Some(creator_url),
microtask_queue,
- is_headless,
user_agent,
#[cfg(feature = "webgpu")]
gpu_id_hub,