firefox: update process-json-files.py and remove default google calls

This commit is contained in:
Luis Guzmán 2023-12-27 13:48:11 +00:00
parent c1aae639c8
commit b39bb0765a
3 changed files with 6 additions and 12 deletions

View file

@ -376,14 +376,6 @@ diff -Nru a/browser/components/newtab/lib/OnboardingMessageProvider.jsm b/browse
{
id: "PB_NEWTAB_INFO_SECTION",
template: "pb_newtab",
@@ -1000,7 +699,6 @@ const BASE_MESSAGES = () => [
icon: "chrome://browser/skin/controlcenter/3rdpartycookies.svg",
icon_class: "cfr-doorhanger-small-icon",
persistent_doorhanger: true,
- show_in_private_browsing: true,
heading_text: {
string_id: "cfr-cbh-header",
},
diff --git a/browser/components/newtab/lib/PanelTestProvider.sys.mjs b/browser/components/newtab/lib/PanelTestProvider.sys.mjs
index b5ff592..22cdf39 100644
--- a/browser/components/newtab/lib/PanelTestProvider.sys.mjs 2022-10-16 05:35:50.835203327 -0500

View file

@ -132,7 +132,7 @@ class Changes(RemoteSettings):
changes = []
for collection in unwrapped_jsons:
if collection.path != RemoteSettings.DUMPS_PATH_ABSOLUTE / 'main/example.json':
if collection.path not in (RemoteSettings.DUMPS_PATH_ABSOLUTE / 'main/example.json', RemoteSettings.DUMPS_PATH_ABSOLUTE / 'main/search-config-v2.json'):
latest_change = {}
latest_change[cls._LAST_MODIFIED_KEY_NAME] = cls.get_collection_timestamp(
collection)