0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2024-12-22 05:33:03 -05:00

fixes for version 117.0

This commit is contained in:
Bert van der Weerd 2023-08-29 18:57:43 +02:00
parent 5de0281b4b
commit 3853c016da
No known key found for this signature in database
GPG key ID: 73370A0B9E5516B0
2 changed files with 7 additions and 37 deletions

View file

@ -15,13 +15,13 @@ diff --git a/services/settings/Utils.jsm b/services/settings/Utils.jsm
index 23d6bf1..4affc89 100644
--- a/services/settings/Utils.sys.mjs
+++ b/services/settings/Utils.sys.mjs
@@ -62,6 +62,9 @@ XPCOMUtils.defineLazyGetter(lazy, "isRunningTests", () => {
@@ -51,6 +51,9 @@ ChromeUtils.defineLazyGetter(lazy, "isRunningTests", () => {
// Overriding the server URL is normally disabled on Beta and Release channels,
// except under some conditions.
XPCOMUtils.defineLazyGetter(lazy, "allowServerURLOverride", () => {
ChromeUtils.defineLazyGetter(lazy, "allowServerURLOverride", () => {
+
+ return true; // always override in LW
+
+ return true; // always allow this override for LW
+
if (!AppConstants.RELEASE_OR_BETA) {
// Always allow to override the server URL on Nightly/DevEdition.
return true;

View file

@ -1,6 +1,8 @@
diff --git a/uriloader/exthandler/HandlerList.sys.mjs b/uriloader/exthandler/HandlerList.sys.mjs
index e95d627..cd0096e 100644
--- a/uriloader/exthandler/HandlerList.sys.mjs
+++ b/uriloader/exthandler/HandlerList.sys.mjs
@@ -13,228 +13,7 @@ this.kHandlerList = {
@@ -9,196 +9,7 @@ export const kHandlerList = {
schemes: {
mailto: {
handlers: [
@ -28,22 +30,6 @@
- },
- },
- },
- csb: {
- schemes: {
- mailto: {
- handlers: [
- {
- name: "Poczta Interia.pl",
- uriTemplate: "http://poczta.interia.pl/mh/?mailto=%s",
- },
- {
- name: "OnetPoczta",
- uriTemplate: "http://poczta.onet.pl/napisz.html?uri=%s",
- },
- ],
- },
- },
- },
- "es-CL": {
- schemes: {
- mailto: {
@ -181,22 +167,6 @@
- },
- },
- },
- sah: {
- schemes: {
- mailto: {
- handlers: [
- {
- name: "Яндекс.Почта",
- uriTemplate: "https://mail.yandex.ru/compose?mailto=%s",
- },
- {
- name: "Mail.Ru",
- uriTemplate: "https://e.mail.ru/cgi-bin/sentmsg?mailto=%s",
- },
- ],
- },
- },
- },
- uk: {
- schemes: {
- mailto: {