refactor: switch download mode from 0 to 2 on firefox

This commit is contained in:
zhom
2025-06-17 03:06:50 +04:00
parent f4b60eb6c7
commit 432e5bff90
+3 -3
View File
@@ -1306,7 +1306,7 @@ impl BrowserRunner {
"user_pref(\"browser.shell.checkDefaultBrowser\", false);".to_string(),
"user_pref(\"app.update.enabled\", false);".to_string(),
"user_pref(\"app.update.auto\", false);".to_string(),
"user_pref(\"app.update.mode\", 0);".to_string(),
"user_pref(\"app.update.mode\", 2);".to_string(),
"user_pref(\"app.update.service.enabled\", false);".to_string(),
"user_pref(\"app.update.silent\", false);".to_string(),
"user_pref(\"app.update.checkInstallTime\", false);".to_string(),
@@ -2912,7 +2912,7 @@ mod tests {
// Create profile without proxy
let profile = runner
.create_profile("Test Firefox Prefs", "firefox", "139.0", "stable", None)
.create_profile("Test Firefox Preferences", "firefox", "139.0", "stable", None)
.unwrap();
// Check that user.js file was created with default browser preference
@@ -2939,7 +2939,7 @@ mod tests {
let profile_with_proxy = runner
.create_profile(
"Test Firefox Prefs Proxy",
"Test Firefox Preferences Proxy",
"firefox",
"139.0",
"stable",