summaryrefslogtreecommitdiffstats
path: root/testing/geckodriver
diff options
context:
space:
mode:
Diffstat (limited to 'testing/geckodriver')
-rw-r--r--testing/geckodriver/marionette/src/webdriver.rs2
-rw-r--r--testing/geckodriver/src/browser.rs7
-rw-r--r--testing/geckodriver/src/prefs.rs1
3 files changed, 7 insertions, 3 deletions
diff --git a/testing/geckodriver/marionette/src/webdriver.rs b/testing/geckodriver/marionette/src/webdriver.rs
index a3046e72f0..4a3d8e1ef2 100644
--- a/testing/geckodriver/marionette/src/webdriver.rs
+++ b/testing/geckodriver/marionette/src/webdriver.rs
@@ -97,8 +97,6 @@ pub enum PrintOrientation {
Portrait,
}
-
-
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct PrintPage {
pub width: f64,
diff --git a/testing/geckodriver/src/browser.rs b/testing/geckodriver/src/browser.rs
index 757f5c0069..2f7fe2a925 100644
--- a/testing/geckodriver/src/browser.rs
+++ b/testing/geckodriver/src/browser.rs
@@ -275,7 +275,12 @@ impl RemoteBrowser {
)
})?;
- handler.prepare(&profile, options.args, options.env.unwrap_or_default(), enable_crash_reporter)?;
+ handler.prepare(
+ &profile,
+ options.args,
+ options.env.unwrap_or_default(),
+ enable_crash_reporter,
+ )?;
handler.launch()?;
diff --git a/testing/geckodriver/src/prefs.rs b/testing/geckodriver/src/prefs.rs
index 7e8f0dfda7..f69a611873 100644
--- a/testing/geckodriver/src/prefs.rs
+++ b/testing/geckodriver/src/prefs.rs
@@ -130,6 +130,7 @@ lazy_static! {
("browser.newtabpage.activity-stream.asrouter.providers.snippets", Pref::new("null")),
("browser.newtabpage.activity-stream.asrouter.providers.message-groups", Pref::new("null")),
+ // TODO: Remove once minimum supported Firefox release is 126.
("browser.newtabpage.activity-stream.asrouter.providers.whats-new-panel", Pref::new("null")),
("browser.newtabpage.activity-stream.asrouter.providers.messaging-experiments", Pref::new("null")),
("browser.newtabpage.activity-stream.feeds.system.topstories", Pref::new(false)),