You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
firefox/SOURCES/0001-Return-Yandex-engine-s...

54 lines
2.4 KiB

From 70366cd339ac14a32e5b0cdab05a25166ec169a3 Mon Sep 17 00:00:00 2001
From: tigro <tigro@msvsphere-os.ru>
Date: Fri, 1 Nov 2024 14:58:02 +0300
Subject: [PATCH] Return Yandex engine support
---
services/settings/dumps/main/moz.build | 2 ++
.../components/backgroundtasks/BackgroundTask_message.sys.mjs | 2 +-
toolkit/modules/AppConstants.sys.mjs | 2 +-
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/services/settings/dumps/main/moz.build b/services/settings/dumps/main/moz.build
index 5b1e881..6a89f0d 100644
--- a/services/settings/dumps/main/moz.build
+++ b/services/settings/dumps/main/moz.build
@@ -62,6 +62,8 @@ if CONFIG["MOZ_BUILD_APP"] == "browser":
"search-config-icons/2e835b0e-9709-d1bb-9725-87f59f3445ca.meta.json",
"search-config-icons/32d26d19-aeb0-5c01-32e8-f8970be9246f",
"search-config-icons/32d26d19-aeb0-5c01-32e8-f8970be9246f.meta.json",
+ "search-config-icons/32dc5c21-98c7-4355-8603-398c9f5eec49",
+ "search-config-icons/32dc5c21-98c7-4355-8603-398c9f5eec49.meta.json",
"search-config-icons/39979158-80cf-4f0c-8bd6-9220eb09e751",
"search-config-icons/39979158-80cf-4f0c-8bd6-9220eb09e751.meta.json",
"search-config-icons/47da97b5-600f-c450-fd15-a52bb2169c11",
diff --git a/toolkit/components/backgroundtasks/BackgroundTask_message.sys.mjs b/toolkit/components/backgroundtasks/BackgroundTask_message.sys.mjs
index aafe4a6..6ef1c45 100644
--- a/toolkit/components/backgroundtasks/BackgroundTask_message.sys.mjs
+++ b/toolkit/components/backgroundtasks/BackgroundTask_message.sys.mjs
@@ -71,7 +71,7 @@ ChromeUtils.defineESModuleGetters(lazy, {
Utils: "resource://services-settings/Utils.sys.mjs",
});
-const SERVER_STAGE = "https://firefox.settings.services.allizom.org/v1";
+const SERVER_STAGE = "https://127.0.0.1";
// Default profile targeting snapshot.
let defaultProfileTargetingSnapshot = {};
diff --git a/toolkit/modules/AppConstants.sys.mjs b/toolkit/modules/AppConstants.sys.mjs
index 4678835..4913eca 100644
--- a/toolkit/modules/AppConstants.sys.mjs
+++ b/toolkit/modules/AppConstants.sys.mjs
@@ -421,7 +421,7 @@ export var AppConstants = Object.freeze({
#ifdef MOZ_THUNDERBIRD
"https://thunderbird-settings.thunderbird.net/v1",
#else
- "https://firefox.settings.services.mozilla.com/v1",
+ "https://127.0.0.1",
#endif
REMOTE_SETTINGS_VERIFY_SIGNATURE:
--
2.47.0