diff options
author | grizzlyuser <grizzlyuser@protonmail.com> | 2023-01-17 16:49:02 +0100 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2023-02-08 15:55:59 -0500 |
commit | 4b5218aa766c653c039a50330ea0040ecb7ba27a (patch) | |
tree | 65b9c6a985a08e4fb3d9a379646eeda6f88ac863 /libre/iceweasel/9004-FSDG-misc.patch | |
parent | ac2d276682d34084e6c0445ab217cb1c85e6c326 (diff) |
libre/iceweasel: 109.0
* Update version and patches according to upstream changes
* Remote Settings patching: fix modification of response headers after local
fetching of JSON file from bundled resources, because response headers became
immutable in this version.
* FSDG: Remove some values of preferences containing URLs to AMO (see commit
messages from 9002-FSDG-preference-defaults.patch) and add a corresponding
validation to PKGBUILD. Also remove some related property overrides from
vendor.js.in and patch them in the code, please find the reasoning in the same
patch. Also remove extensions.htmlaboutaddons.discover.enabled preference
override from vendor.js.in, because it was removed upstream in [1].
* Remove technical patch for python-zstandard 0.19, fixed upstream
* Remove RENAME_PROFILE logic from PKGBUILD, as the comment from that code
suggests to remove it in 2023
[1] https://hg.mozilla.org/mozilla-central/rev/e542391fb8c5
Diffstat (limited to 'libre/iceweasel/9004-FSDG-misc.patch')
-rw-r--r-- | libre/iceweasel/9004-FSDG-misc.patch | 72 |
1 files changed, 68 insertions, 4 deletions
diff --git a/libre/iceweasel/9004-FSDG-misc.patch b/libre/iceweasel/9004-FSDG-misc.patch index 591daa0c3..63330af9c 100644 --- a/libre/iceweasel/9004-FSDG-misc.patch +++ b/libre/iceweasel/9004-FSDG-misc.patch @@ -993,22 +993,86 @@ index 2217ca055c..0000000000 -- 2.36.0 +From 842d945be96cddf4192fed890066f96bc9894a83 Mon Sep 17 00:00:00 2001 +From: grizzlyuser <grizzlyuser@protonmail.com> +Date: Tue, 17 Jan 2023 21:59:51 +0100 +Subject: [PATCH] FSDG: Remove 'Extensions for developers' menu item + + Main menu -> 'More tools' -> 'Extensions for developers' opens + addons.mozilla.org (AMO), a third-party repository, not compatible + with the FSDG, because it is not committed to only including free + software, see [1]. + +[1] https://labs.parabola.nu/issues/2409#note-4 +--- + browser/components/newtab/lib/CFRPageActions.jsm | 2 +- + devtools/client/framework/devtools-browser.js | 3 ++- + devtools/client/menus.js | 2 +- + 3 files changed, 4 insertions(+), 3 deletions(-) + +diff --git a/browser/components/newtab/lib/CFRPageActions.jsm b/browser/components/newtab/lib/CFRPageActions.jsm +index 2ca59d73e3..6e06ee7c93 100644 +--- a/browser/components/newtab/lib/CFRPageActions.jsm ++++ b/browser/components/newtab/lib/CFRPageActions.jsm +@@ -38,7 +38,7 @@ const SUMO_BASE_URL = Services.urlFormatter.formatURLPref( + "app.support.baseURL" + ); + const ADDONS_API_URL = +- "https://services.addons.mozilla.org/api/v4/addons/addon"; ++ ""; + + const DELAY_BEFORE_EXPAND_MS = 1000; + const CATEGORY_ICONS = { +diff --git a/devtools/client/framework/devtools-browser.js b/devtools/client/framework/devtools-browser.js +index 8357df95d0..a9eb87c232 100644 +--- a/devtools/client/framework/devtools-browser.js ++++ b/devtools/client/framework/devtools-browser.js +@@ -155,8 +155,9 @@ var gDevToolsBrowser = (exports.gDevToolsBrowser = { + toggleMenuItem("menu_browserConsole", false); + toggleMenuItem("menu_responsiveUI", false); + toggleMenuItem("menu_eyedropper", false); +- toggleMenuItem("extensionsForDevelopers", false); + } ++ ++ toggleMenuItem("extensionsForDevelopers", false); + }, + + /** +diff --git a/devtools/client/menus.js b/devtools/client/menus.js +index b47e1c4a3f..fd62bfd3df 100644 +--- a/devtools/client/menus.js ++++ b/devtools/client/menus.js +@@ -189,7 +189,7 @@ exports.menuitems = [ + appMenuL10nId: "appmenu-developer-tools-extensions", + oncommand(event) { + openDocLink( +- "https://addons.mozilla.org/firefox/collections/mozilla/webdeveloper/" ++ "" + ); + }, + }, +-- +2.39.0 + diff --git a/browser/app/permissions b/browser/app/permissions -index 991284081d..888cc811ce 100644 +index 5bc1d66fcd..a8252ab784 100644 --- a/browser/app/permissions +++ b/browser/app/permissions -@@ -15,11 +15,5 @@ origin uitour 1 https://support.mozilla.org +@@ -17,14 +17,8 @@ origin uitour 1 https://truecolors.firefox.com origin uitour 1 about:home origin uitour 1 about:newtab - + -# XPInstall -origin install 1 https://addons.mozilla.org - # Remote troubleshooting origin remote-troubleshooting 1 https://support.mozilla.org -- + -# addon install -origin install 1 https://fpn.firefox.com +- + # autoplay video/audio + origin autoplay-media 1 about:welcome diff --git a/browser/components/preferences/sync.inc.xhtml b/browser/components/preferences/sync.inc.xhtml index 7d37d26..4ebbc06 100644 --- a/browser/components/preferences/sync.inc.xhtml |