forked from pool/MozillaFirefox
Accepting request 1114282 from mozilla:Factory
- Mozilla Firefox 118.0.1 MFSA 2023-44 (bsc#1215814) * CVE-2023-5217 (bmo#1855550), Heap buffer overflow in libvpx - Mozilla Firefox 118.0 MFSA 2023-41 (bsc#1215575) * CVE-2023-5168 (bmo#1846683) Out-of-bounds write in FilterNodeD2D1 * CVE-2023-5169 (bmo#1846685) Out-of-bounds write in PathOps * CVE-2023-5170 (bmo#1846686) Memory leak from a privileged process * CVE-2023-5171 (bmo#1851599) Use-after-free in Ion Compiler * CVE-2023-5172 (bmo#1852218) Memory Corruption in Ion Hints * CVE-2023-5173 (bmo#1823172) Out-of-bounds write in HTTP Alternate Services * CVE-2023-5174 (bmo#1848454) Double-free in process spawning on Windows * CVE-2023-5175 (bmo#1849704) Use-after-free of ImageBitmap during process shutdown * CVE-2023-5176 (bmo#1836353, bmo#1842674, bmo#1843824, bmo#1843962, bmo#1848890, bmo#1850180, bmo#1850983, bmo#1851195) Memory safety bugs fixed in Firefox 118, Firefox ESR 115.3, and Thunderbird 115.3 - requires NSS 3.93 - add mozilla-bmo1822730.patch - deactivated KDE integration temporarily OBS-URL: https://build.opensuse.org/request/show/1114282 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MozillaFirefox?expand=0&rev=410
This commit is contained in:
commit
3d079c76d1
@ -1,3 +1,41 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 29 06:50:26 UTC 2023 - Wolfgang Rosenauer <wr@rosenauer.org>
|
||||||
|
|
||||||
|
- Mozilla Firefox 118.0.1
|
||||||
|
MFSA 2023-44 (bsc#1215814)
|
||||||
|
* CVE-2023-5217 (bmo#1855550),
|
||||||
|
Heap buffer overflow in libvpx
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 25 06:35:49 UTC 2023 - Wolfgang Rosenauer <wr@rosenauer.org>
|
||||||
|
|
||||||
|
- Mozilla Firefox 118.0
|
||||||
|
MFSA 2023-41 (bsc#1215575)
|
||||||
|
* CVE-2023-5168 (bmo#1846683)
|
||||||
|
Out-of-bounds write in FilterNodeD2D1
|
||||||
|
* CVE-2023-5169 (bmo#1846685)
|
||||||
|
Out-of-bounds write in PathOps
|
||||||
|
* CVE-2023-5170 (bmo#1846686)
|
||||||
|
Memory leak from a privileged process
|
||||||
|
* CVE-2023-5171 (bmo#1851599)
|
||||||
|
Use-after-free in Ion Compiler
|
||||||
|
* CVE-2023-5172 (bmo#1852218)
|
||||||
|
Memory Corruption in Ion Hints
|
||||||
|
* CVE-2023-5173 (bmo#1823172)
|
||||||
|
Out-of-bounds write in HTTP Alternate Services
|
||||||
|
* CVE-2023-5174 (bmo#1848454)
|
||||||
|
Double-free in process spawning on Windows
|
||||||
|
* CVE-2023-5175 (bmo#1849704)
|
||||||
|
Use-after-free of ImageBitmap during process shutdown
|
||||||
|
* CVE-2023-5176 (bmo#1836353, bmo#1842674, bmo#1843824, bmo#1843962,
|
||||||
|
bmo#1848890, bmo#1850180, bmo#1850983, bmo#1851195)
|
||||||
|
Memory safety bugs fixed in Firefox 118, Firefox ESR 115.3,
|
||||||
|
and Thunderbird 115.3
|
||||||
|
- requires NSS 3.93
|
||||||
|
- add mozilla-bmo1822730.patch
|
||||||
|
- deactivated KDE integration temporarily
|
||||||
|
(removed mozilla-kde.patch and firefox-kde.patch for now)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 12 17:04:01 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
Tue Sep 12 17:04:01 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
@ -28,9 +28,9 @@
|
|||||||
# orig_suffix b3
|
# orig_suffix b3
|
||||||
# major 69
|
# major 69
|
||||||
# mainver %%major.99
|
# mainver %%major.99
|
||||||
%define major 117
|
%define major 118
|
||||||
%define mainver %major.0.1
|
%define mainver %major.0.1
|
||||||
%define orig_version 117.0.1
|
%define orig_version 118.0.1
|
||||||
%define orig_suffix %{nil}
|
%define orig_suffix %{nil}
|
||||||
%define update_channel release
|
%define update_channel release
|
||||||
%define branding 1
|
%define branding 1
|
||||||
@ -73,7 +73,7 @@ BuildArch: i686
|
|||||||
%define desktop_file_name %{progname}
|
%define desktop_file_name %{progname}
|
||||||
%define firefox_appid \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\}
|
%define firefox_appid \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\}
|
||||||
%define __provides_exclude ^lib.*\\.so.*$
|
%define __provides_exclude ^lib.*\\.so.*$
|
||||||
%define __requires_exclude ^(libmoz.*|liblgpllibs.*|libxul.*)$
|
%define __requires_exclude ^(libmoz.*|liblgpllibs.*|libxul.*|libgk.*)$
|
||||||
%define localize 1
|
%define localize 1
|
||||||
%ifarch %ix86 x86_64
|
%ifarch %ix86 x86_64
|
||||||
%define crashreporter 1
|
%define crashreporter 1
|
||||||
@ -114,7 +114,7 @@ BuildRequires: libiw-devel
|
|||||||
BuildRequires: libproxy-devel
|
BuildRequires: libproxy-devel
|
||||||
BuildRequires: makeinfo
|
BuildRequires: makeinfo
|
||||||
BuildRequires: mozilla-nspr-devel >= 4.35
|
BuildRequires: mozilla-nspr-devel >= 4.35
|
||||||
BuildRequires: mozilla-nss-devel >= 3.92
|
BuildRequires: mozilla-nss-devel >= 3.93
|
||||||
BuildRequires: nasm >= 2.14
|
BuildRequires: nasm >= 2.14
|
||||||
BuildRequires: nodejs >= 12.22.12
|
BuildRequires: nodejs >= 12.22.12
|
||||||
%if 0%{?sle_version} >= 120000 && 0%{?sle_version} < 150000
|
%if 0%{?sle_version} >= 120000 && 0%{?sle_version} < 150000
|
||||||
@ -209,7 +209,7 @@ Source20: https://ftp.mozilla.org/pub/%{srcname}/releases/%{version}%{orig
|
|||||||
Source21: https://ftp.mozilla.org/pub/%{srcname}/releases/%{version}%{orig_suffix}/KEY#/mozilla.keyring
|
Source21: https://ftp.mozilla.org/pub/%{srcname}/releases/%{version}%{orig_suffix}/KEY#/mozilla.keyring
|
||||||
# Gecko/Toolkit
|
# Gecko/Toolkit
|
||||||
Patch1: mozilla-nongnome-proxies.patch
|
Patch1: mozilla-nongnome-proxies.patch
|
||||||
Patch2: mozilla-kde.patch
|
#Patch2: mozilla-kde.patch
|
||||||
Patch3: mozilla-ntlm-full-path.patch
|
Patch3: mozilla-ntlm-full-path.patch
|
||||||
Patch4: mozilla-aarch64-startup-crash.patch
|
Patch4: mozilla-aarch64-startup-crash.patch
|
||||||
Patch5: mozilla-fix-aarch64-libopus.patch
|
Patch5: mozilla-fix-aarch64-libopus.patch
|
||||||
@ -228,8 +228,9 @@ Patch20: one_swizzle_to_rule_them_all.patch
|
|||||||
Patch21: svg-rendering.patch
|
Patch21: svg-rendering.patch
|
||||||
Patch22: mozilla-partial-revert-1768632.patch
|
Patch22: mozilla-partial-revert-1768632.patch
|
||||||
Patch23: mozilla-rust-disable-future-incompat.patch
|
Patch23: mozilla-rust-disable-future-incompat.patch
|
||||||
|
Patch24: mozilla-bmo1822730.patch
|
||||||
# Firefox/browser
|
# Firefox/browser
|
||||||
Patch101: firefox-kde.patch
|
#Patch101: firefox-kde.patch
|
||||||
Patch102: firefox-branded-icons.patch
|
Patch102: firefox-branded-icons.patch
|
||||||
%endif
|
%endif
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -348,11 +349,11 @@ sed -i "s|potential_python_binary = f\"python3.{i}\"|potential_python_binary = f
|
|||||||
export PYTHON3=/usr/bin/python3.9
|
export PYTHON3=/usr/bin/python3.9
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
kdehelperversion=$(cat toolkit/xre/nsKDEUtils.cpp | grep '#define KMOZILLAHELPER_VERSION' | cut -d ' ' -f 3)
|
#kdehelperversion=$(cat toolkit/xre/nsKDEUtils.cpp | grep '#define KMOZILLAHELPER_VERSION' | cut -d ' ' -f 3)
|
||||||
if test "$kdehelperversion" != %{kde_helper_version}; then
|
#if test "$kdehelperversion" != %{kde_helper_version}; then
|
||||||
echo fix kde helper version in the .spec file
|
# echo fix kde helper version in the .spec file
|
||||||
exit 1
|
# exit 1
|
||||||
fi
|
#fi
|
||||||
|
|
||||||
# When doing only_print_mozconfig, this file isn't necessarily available, so skip it
|
# When doing only_print_mozconfig, this file isn't necessarily available, so skip it
|
||||||
cp %{SOURCE4} .obsenv.sh
|
cp %{SOURCE4} .obsenv.sh
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:7ea4203b5cf9e59f80043597e2c9020291754fcab784a337586b5f5e1370c416
|
|
||||||
size 509601584
|
|
@ -1,16 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
|
|
||||||
iQIzBAABCgAdFiEErdcHlHlwDcrf3VM34207E/PZMnQFAmT/6zUACgkQ4207E/PZ
|
|
||||||
MnQICQ/8CJ26x43i1AZrHfUhvhF1nW+ZA75WNXK3yTn681tc6wYoznWDDMSy8JdR
|
|
||||||
bWGzYm1NsJeQcMUkj4qjlXYwigihfh5e6DNkWzd4bLR8HTWmhyb+1EyGx/E86W1M
|
|
||||||
n3xU0l67jQA7/ZXNdoVn6O9YVjyLiw4lLByaWe/i9+5S5TwUK9/n+7zibgflYvM3
|
|
||||||
/A6syl9OC06MFAQ7CPnUk+OrVz6BXRQKPsInKFFsSCRuzLtUozWIzxgStRija5rG
|
|
||||||
75oU3zDmJKyVAx5BJsM94l0e9LnUQKs0oqCuPdu2eHHN5QZzQyGurfMbP1sNMqRd
|
|
||||||
OmGuwNI/HgRRAYVLH4b/avEVqd3jpPcK8OyOfdBz4AnorWhNllNNx55/Vmn8jVV5
|
|
||||||
lklHoyJRYb845m9Af2iQEnPJEbeOcaO2E6w46TtiqWY+0vw499BlCjXiBEreG3oT
|
|
||||||
r883CmqGhsQa35WrYWFGx+Gay7YyTBDu3L8cXme3PQkBWpAPd4V/ykQhzJ0yXBWg
|
|
||||||
bKRAhRNH8lVKe3WgXp2xBdfWQefSq8kiWGS1JQV94FKcvP0XPzqEx8Lf5qPdJi+L
|
|
||||||
yXHFGBmOAjFeAhwWgkOP+YAjHviwoB0bid7J9hlH3z2+XaXeuQrRMG37gOfz0QZJ
|
|
||||||
ca9EXMKcqhM2Nj9HntDGSaVztwkENrx4fv6vlQiWVQPrdyDedQw=
|
|
||||||
=nEbC
|
|
||||||
-----END PGP SIGNATURE-----
|
|
3
firefox-118.0.1.source.tar.xz
Normal file
3
firefox-118.0.1.source.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a3f4da56d13605d615a740c739e3504261649d040bc473ae2ed609336d79fd95
|
||||||
|
size 516965884
|
16
firefox-118.0.1.source.tar.xz.asc
Normal file
16
firefox-118.0.1.source.tar.xz.asc
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQIzBAABCgAdFiEErdcHlHlwDcrf3VM34207E/PZMnQFAmUU6KkACgkQ4207E/PZ
|
||||||
|
MnSeHA//Z+OBeffry1qQzZnDDd7o6guO0G6Ka8t/jGB2wRzg0DoO2hiOVHLlDkcJ
|
||||||
|
0cuuASs2HoPcT8T0S3Km2hJgrL9oiMAOUCadCWbfbR3g9BxY8uuJwy82BT9fCMA5
|
||||||
|
A4lK7eFN2+t0CQ9ULu9AW9+iFhbpKRPzigD2ITeySCOY1P+I+wRm1lzo0i/cKbdU
|
||||||
|
A+S01RUzWFIG6F3ZDB3imAtJ4G/0rAgfxqfI1W991rz5JQAhOVmUnCROFKqdzOm6
|
||||||
|
7TI51Id+TgLxRSrWVff7aKGMxFTWbuiTNjwT30SwwDMrBMeuvSygE0e3tv/4nVwg
|
||||||
|
BfmxIN+ka693LBVugSH+qh+JgOYYxr7FITI81AY74U6es9rpa+Nom4uOEpqnD75B
|
||||||
|
KdIvNTllJUGInMxZ2noE9ztFkXJO/eFmuZYnMBUONo+K3pyNXhaRi/X4VPpWC+VI
|
||||||
|
etcMJ/gThDNslVndtgT206+AE7s8EWTs+Xy26wxAjCy1/O9TaDxT7WmVX7/P3df9
|
||||||
|
+ueztR9EqWMveb23PZyl48l72MnJ/55IjsNnVjs66Hs6ZfjtokYoYTYzSTbu393s
|
||||||
|
KjkZzU/24D/DtXp9vdfryikyqZTavSdEeZJpW5rSOHxFWHSq8c1T7bRVGYpN3k/i
|
||||||
|
qwO38UKUeQwR9z6d0suIlniH2FqnzQUmKEPxOldWUsWRoktL47g=
|
||||||
|
=6aDx
|
||||||
|
-----END PGP SIGNATURE-----
|
@ -1,260 +0,0 @@
|
|||||||
# HG changeset patch
|
|
||||||
# User msirringhaus@suse.de
|
|
||||||
# Date 1559300151 -7200
|
|
||||||
# Fri May 31 12:55:51 2019 +0200
|
|
||||||
# Node ID 54d41b0033b8d649d842a1f862c6fed8b9874dec
|
|
||||||
# Parent 340817025937e2c69bb1643930d7dfdf63656a7b
|
|
||||||
How to apply this patch:
|
|
||||||
1. Import and apply it
|
|
||||||
2. cp browser/base/content/browser.xul browser/base/content/browser-kde.xul
|
|
||||||
3. Find editBookmarkPanelDoneButton
|
|
||||||
4. Replace #ifndef with #ifdef in the line above (this hanges the button order from Gnome-style to KDE-style)
|
|
||||||
5. hg qrefresh
|
|
||||||
|
|
||||||
Index: firefox-115.0/browser/components/preferences/main.js
|
|
||||||
===================================================================
|
|
||||||
--- firefox-115.0.orig/browser/components/preferences/main.js
|
|
||||||
+++ firefox-115.0/browser/components/preferences/main.js
|
|
||||||
@@ -293,6 +293,13 @@ var gMainPane = {
|
|
||||||
}, backoffTimes[this._backoffIndex]);
|
|
||||||
}
|
|
||||||
|
|
||||||
+ var env = Components.classes["@mozilla.org/process/environment;1"]
|
|
||||||
+ .getService(Components.interfaces.nsIEnvironment);
|
|
||||||
+ var kde_session = 0;
|
|
||||||
+ if (env.get('KDE_FULL_SESSION') == "true") {
|
|
||||||
+ kde_session = 1;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
this.initBrowserContainers();
|
|
||||||
this.buildContentProcessCountMenuList();
|
|
||||||
|
|
||||||
@@ -1762,6 +1769,17 @@ var gMainPane = {
|
|
||||||
}
|
|
||||||
try {
|
|
||||||
shellSvc.setDefaultBrowser(true, false);
|
|
||||||
+ if (kde_session == 1) {
|
|
||||||
+ var shellObj = Components.classes["@mozilla.org/file/local;1"]
|
|
||||||
+ .createInstance(Components.interfaces.nsILocalFile);
|
|
||||||
+ shellObj.initWithPath("/usr/bin/kwriteconfig");
|
|
||||||
+ var process = Components.classes["@mozilla.org/process/util;1"]
|
|
||||||
+ .createInstance(Components.interfaces.nsIProcess);
|
|
||||||
+ process.init(shellObj);
|
|
||||||
+ var args = ["--file", "kdeglobals", "--group", "General", "--key",
|
|
||||||
+ "BrowserApplication", "firefox"];
|
|
||||||
+ process.run(false, args, args.length);
|
|
||||||
+ }
|
|
||||||
} catch (ex) {
|
|
||||||
console.error(ex);
|
|
||||||
return;
|
|
||||||
Index: firefox-115.0/browser/components/shell/moz.build
|
|
||||||
===================================================================
|
|
||||||
--- firefox-115.0.orig/browser/components/shell/moz.build
|
|
||||||
+++ firefox-115.0/browser/components/shell/moz.build
|
|
||||||
@@ -36,6 +36,8 @@ elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "gt
|
|
||||||
|
|
||||||
SOURCES += [
|
|
||||||
"nsGNOMEShellService.cpp",
|
|
||||||
+ "nsKDEShellService.cpp",
|
|
||||||
+ "nsUnixShellService.cpp",
|
|
||||||
]
|
|
||||||
if CONFIG["MOZ_ENABLE_DBUS"]:
|
|
||||||
SOURCES += [
|
|
||||||
Index: firefox-115.0/browser/components/shell/nsKDEShellService.cpp
|
|
||||||
===================================================================
|
|
||||||
--- /dev/null
|
|
||||||
+++ firefox-115.0/browser/components/shell/nsKDEShellService.cpp
|
|
||||||
@@ -0,0 +1,109 @@
|
|
||||||
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
||||||
+/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
||||||
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
||||||
+
|
|
||||||
+#include "mozilla/ArrayUtils.h"
|
|
||||||
+
|
|
||||||
+#include "nsCOMPtr.h"
|
|
||||||
+#include "nsKDEShellService.h"
|
|
||||||
+#include "nsShellService.h"
|
|
||||||
+#include "nsKDEUtils.h"
|
|
||||||
+#include "nsIPrefService.h"
|
|
||||||
+#include "nsIProcess.h"
|
|
||||||
+#include "nsIFile.h"
|
|
||||||
+#include "nsServiceManagerUtils.h"
|
|
||||||
+#include "nsComponentManagerUtils.h"
|
|
||||||
+#include "nsIMutableArray.h"
|
|
||||||
+#include "nsISupportsPrimitives.h"
|
|
||||||
+#include "nsArrayUtils.h"
|
|
||||||
+
|
|
||||||
+using namespace mozilla;
|
|
||||||
+
|
|
||||||
+nsresult
|
|
||||||
+nsKDEShellService::Init()
|
|
||||||
+{
|
|
||||||
+ if( !nsKDEUtils::kdeSupport())
|
|
||||||
+ return NS_ERROR_NOT_AVAILABLE;
|
|
||||||
+ return NS_OK;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+NS_IMPL_ISUPPORTS(nsKDEShellService, nsIGNOMEShellService, nsIShellService)
|
|
||||||
+
|
|
||||||
+NS_IMETHODIMP
|
|
||||||
+nsKDEShellService::IsDefaultBrowser(bool aForAllTypes,
|
|
||||||
+ bool* aIsDefaultBrowser)
|
|
||||||
+{
|
|
||||||
+ *aIsDefaultBrowser = false;
|
|
||||||
+
|
|
||||||
+ nsCOMPtr<nsIMutableArray> command = do_CreateInstance( NS_ARRAY_CONTRACTID );
|
|
||||||
+ if (!command)
|
|
||||||
+ return NS_ERROR_FAILURE;
|
|
||||||
+
|
|
||||||
+ nsCOMPtr<nsISupportsCString> str = do_CreateInstance( NS_SUPPORTS_CSTRING_CONTRACTID );
|
|
||||||
+ if (!str)
|
|
||||||
+ return NS_ERROR_FAILURE;
|
|
||||||
+
|
|
||||||
+ str->SetData("ISDEFAULTBROWSER"_ns);
|
|
||||||
+ command->AppendElement( str );
|
|
||||||
+
|
|
||||||
+ if( nsKDEUtils::command( command ))
|
|
||||||
+ *aIsDefaultBrowser = true;
|
|
||||||
+ return NS_OK;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+NS_IMETHODIMP
|
|
||||||
+nsKDEShellService::SetDefaultBrowser(bool aClaimAllTypes,
|
|
||||||
+ bool aForAllUsers)
|
|
||||||
+{
|
|
||||||
+ nsCOMPtr<nsIMutableArray> command = do_CreateInstance( NS_ARRAY_CONTRACTID );
|
|
||||||
+ if (!command)
|
|
||||||
+ return NS_ERROR_FAILURE;
|
|
||||||
+
|
|
||||||
+ nsCOMPtr<nsISupportsCString> cmdstr = do_CreateInstance( NS_SUPPORTS_CSTRING_CONTRACTID );
|
|
||||||
+ nsCOMPtr<nsISupportsCString> paramstr = do_CreateInstance( NS_SUPPORTS_CSTRING_CONTRACTID );
|
|
||||||
+ if (!cmdstr || !paramstr)
|
|
||||||
+ return NS_ERROR_FAILURE;
|
|
||||||
+
|
|
||||||
+ cmdstr->SetData("SETDEFAULTBROWSER"_ns);
|
|
||||||
+ command->AppendElement( cmdstr );
|
|
||||||
+
|
|
||||||
+ paramstr->SetData( aClaimAllTypes ? "ALLTYPES"_ns : "NORMAL"_ns );
|
|
||||||
+ command->AppendElement( paramstr );
|
|
||||||
+
|
|
||||||
+ return nsKDEUtils::command( command ) ? NS_OK : NS_ERROR_FAILURE;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+NS_IMETHODIMP
|
|
||||||
+nsKDEShellService::GetCanSetDesktopBackground(bool* aResult)
|
|
||||||
+{
|
|
||||||
+ *aResult = true;
|
|
||||||
+ return NS_OK;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+NS_IMETHODIMP
|
|
||||||
+nsKDEShellService::SetDesktopBackground(dom::Element* aElement,
|
|
||||||
+ int32_t aPosition,
|
|
||||||
+ const nsACString& aImageName)
|
|
||||||
+{
|
|
||||||
+ return NS_ERROR_NOT_IMPLEMENTED;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+NS_IMETHODIMP
|
|
||||||
+nsKDEShellService::GetDesktopBackgroundColor(PRUint32 *aColor)
|
|
||||||
+{
|
|
||||||
+ return NS_ERROR_NOT_IMPLEMENTED;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+NS_IMETHODIMP
|
|
||||||
+nsKDEShellService::SetDesktopBackgroundColor(PRUint32 aColor)
|
|
||||||
+{
|
|
||||||
+ return NS_ERROR_NOT_IMPLEMENTED;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+NS_IMETHODIMP
|
|
||||||
+nsKDEShellService::IsDefaultForScheme(nsTSubstring<char> const& aScheme, bool* aIsDefaultBrowser)
|
|
||||||
+{
|
|
||||||
+ return NS_ERROR_NOT_IMPLEMENTED;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
Index: firefox-115.0/browser/components/shell/nsKDEShellService.h
|
|
||||||
===================================================================
|
|
||||||
--- /dev/null
|
|
||||||
+++ firefox-115.0/browser/components/shell/nsKDEShellService.h
|
|
||||||
@@ -0,0 +1,32 @@
|
|
||||||
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
||||||
+/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
||||||
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
||||||
+
|
|
||||||
+#ifndef nskdeshellservice_h____
|
|
||||||
+#define nskdeshellservice_h____
|
|
||||||
+
|
|
||||||
+#include "nsIGNOMEShellService.h"
|
|
||||||
+#include "nsToolkitShellService.h"
|
|
||||||
+#include "nsString.h"
|
|
||||||
+#include "mozilla/Attributes.h"
|
|
||||||
+
|
|
||||||
+class nsKDEShellService final : public nsIGNOMEShellService,
|
|
||||||
+ public nsToolkitShellService
|
|
||||||
+{
|
|
||||||
+public:
|
|
||||||
+ nsKDEShellService() : mCheckedThisSession(false) { }
|
|
||||||
+
|
|
||||||
+ NS_DECL_ISUPPORTS
|
|
||||||
+ NS_DECL_NSISHELLSERVICE
|
|
||||||
+ NS_DECL_NSIGNOMESHELLSERVICE
|
|
||||||
+
|
|
||||||
+ nsresult Init();
|
|
||||||
+
|
|
||||||
+private:
|
|
||||||
+ ~nsKDEShellService() {}
|
|
||||||
+
|
|
||||||
+ bool mCheckedThisSession;
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+#endif // nskdeshellservice_h____
|
|
||||||
Index: firefox-115.0/browser/components/shell/nsUnixShellService.cpp
|
|
||||||
===================================================================
|
|
||||||
--- /dev/null
|
|
||||||
+++ firefox-115.0/browser/components/shell/nsUnixShellService.cpp
|
|
||||||
@@ -0,0 +1,22 @@
|
|
||||||
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
||||||
+/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
||||||
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
||||||
+
|
|
||||||
+
|
|
||||||
+#include "nsUnixShellService.h"
|
|
||||||
+#include "nsGNOMEShellService.h"
|
|
||||||
+#include "nsKDEShellService.h"
|
|
||||||
+#include "nsKDEUtils.h"
|
|
||||||
+#include "mozilla/ModuleUtils.h"
|
|
||||||
+
|
|
||||||
+NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsGNOMEShellService, Init)
|
|
||||||
+NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsKDEShellService, Init)
|
|
||||||
+
|
|
||||||
+NS_IMETHODIMP
|
|
||||||
+nsUnixShellServiceConstructor(REFNSIID aIID, void **aResult)
|
|
||||||
+{
|
|
||||||
+ if( nsKDEUtils::kdeSupport())
|
|
||||||
+ return nsKDEShellServiceConstructor( aIID, aResult );
|
|
||||||
+ return nsGNOMEShellServiceConstructor( aIID, aResult );
|
|
||||||
+}
|
|
||||||
Index: firefox-115.0/browser/components/shell/nsUnixShellService.h
|
|
||||||
===================================================================
|
|
||||||
--- /dev/null
|
|
||||||
+++ firefox-115.0/browser/components/shell/nsUnixShellService.h
|
|
||||||
@@ -0,0 +1,15 @@
|
|
||||||
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
||||||
+/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
||||||
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
||||||
+
|
|
||||||
+
|
|
||||||
+#ifndef nsunixshellservice_h____
|
|
||||||
+#define nsunixshellservice_h____
|
|
||||||
+
|
|
||||||
+#include "nsIGNOMEShellService.h"
|
|
||||||
+
|
|
||||||
+NS_IMETHODIMP
|
|
||||||
+nsUnixShellServiceConstructor(nsISupports *aOuter, REFNSIID aIID, void **aResult);
|
|
||||||
+
|
|
||||||
+#endif // nsunixshellservice_h____
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e83c4ccd6549bf0e8ba1d13cedc9fc8293423d35e970b5127526d558b7c54c34
|
|
||||||
size 30033556
|
|
3
l10n-118.0.1.tar.xz
Normal file
3
l10n-118.0.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:cecf0f23bdcd4ae10575451b34e575b97d957b71f38a180342d416df204202fe
|
||||||
|
size 30167788
|
52
mozilla-bmo1822730.patch
Normal file
52
mozilla-bmo1822730.patch
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
# HG changeset patch
|
||||||
|
# User Rob Krum <biggestsonicfan@gmail.com>
|
||||||
|
# Date 1695432215 25200
|
||||||
|
# Fri Sep 22 18:23:35 2023 -0700
|
||||||
|
# Node ID e6a8a9f0956d124e8de34eb4bcf09d8e17077d9d
|
||||||
|
# Parent 677cbf2e64cdcd3a93e644f781be2bdc2529ba1a
|
||||||
|
Bug 1822730 - Add basic blob protocol handling for blob URIs that contain parsable http/s protocols
|
||||||
|
|
||||||
|
diff --git a/toolkit/mozapps/downloads/DownloadLastDir.sys.mjs b/toolkit/mozapps/downloads/DownloadLastDir.sys.mjs
|
||||||
|
--- a/toolkit/mozapps/downloads/DownloadLastDir.sys.mjs
|
||||||
|
+++ b/toolkit/mozapps/downloads/DownloadLastDir.sys.mjs
|
||||||
|
@@ -221,11 +221,13 @@ export class DownloadLastDir {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Pre-processor to extract a domain name to be used with the content-prefs
|
||||||
|
- * service. This specially handles data and file URIs so that the download
|
||||||
|
- * dirs are recalled in a more consistent way:
|
||||||
|
+ * service. This specially handles data, file and blob URIs so that the
|
||||||
|
+ * download dirs are recalled in a more consistent way:
|
||||||
|
* - all file:/// URIs share the same folder
|
||||||
|
* - data: URIs share a folder per mime-type. If a mime-type is not
|
||||||
|
* specified text/plain is assumed.
|
||||||
|
+ * - blob: blob URIs are tested for http/https and the blob protocol
|
||||||
|
+ * is stripped.
|
||||||
|
* In any other case the original URL is returned as a string and ContentPrefs
|
||||||
|
* will do its usual parsing.
|
||||||
|
*
|
||||||
|
@@ -234,6 +236,9 @@ export class DownloadLastDir {
|
||||||
|
*/
|
||||||
|
#cpsGroupFromURL(url) {
|
||||||
|
if (typeof url == "string") {
|
||||||
|
+ if (url.startsWith("blob:http://") || url.startsWith("blob:https://")) {
|
||||||
|
+ url = url.replace("blob:", "");
|
||||||
|
+ }
|
||||||
|
url = new URL(url);
|
||||||
|
} else if (url instanceof Ci.nsIURI) {
|
||||||
|
url = URL.fromURI(url);
|
||||||
|
@@ -241,6 +246,14 @@ export class DownloadLastDir {
|
||||||
|
if (!URL.isInstance(url)) {
|
||||||
|
return url;
|
||||||
|
}
|
||||||
|
+ if (url.protocol == "blob:") {
|
||||||
|
+ if (
|
||||||
|
+ url.href.startsWith("blob:http://") ||
|
||||||
|
+ url.href.startsWith("blob:https://")
|
||||||
|
+ ) {
|
||||||
|
+ return url.href.replace("blob:", "");
|
||||||
|
+ }
|
||||||
|
+ }
|
||||||
|
if (url.protocol == "data:") {
|
||||||
|
return url.href.match(/^data:[^;,]*/i)[0].replace(/:$/, ":text/plain");
|
||||||
|
}
|
1778
mozilla-kde.patch
1778
mozilla-kde.patch
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,5 @@
|
|||||||
# HG changeset patch
|
# HG changeset patch
|
||||||
# Parent 505c5ac5cad0268fe81c67d39f70cbab3bff616a
|
# Parent f809af927a59e945c76f51c25b1044fb42748c24
|
||||||
|
|
||||||
diff --git a/gfx/skia/skia/include/codec/SkEncodedOrigin.h b/gfx/skia/skia/include/codec/SkEncodedOrigin.h
|
diff --git a/gfx/skia/skia/include/codec/SkEncodedOrigin.h b/gfx/skia/skia/include/codec/SkEncodedOrigin.h
|
||||||
--- a/gfx/skia/skia/include/codec/SkEncodedOrigin.h
|
--- a/gfx/skia/skia/include/codec/SkEncodedOrigin.h
|
||||||
@ -722,7 +722,7 @@ diff --git a/third_party/libwebrtc/modules/audio_processing/agc2/input_volume_st
|
|||||||
diff --git a/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_fc.cc b/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_fc.cc
|
diff --git a/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_fc.cc b/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_fc.cc
|
||||||
--- a/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_fc.cc
|
--- a/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_fc.cc
|
||||||
+++ b/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_fc.cc
|
+++ b/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_fc.cc
|
||||||
@@ -54,16 +54,18 @@ std::vector<float> PreprocessWeights(rtc
|
@@ -55,16 +55,18 @@ std::vector<float> PreprocessWeights(rtc
|
||||||
rtc::FunctionView<float(float)> GetActivationFunction(
|
rtc::FunctionView<float(float)> GetActivationFunction(
|
||||||
ActivationFunction activation_function) {
|
ActivationFunction activation_function) {
|
||||||
switch (activation_function) {
|
switch (activation_function) {
|
||||||
@ -948,12 +948,12 @@ diff --git a/third_party/libwebrtc/modules/rtp_rtcp/source/rtp_sender_audio.cc b
|
|||||||
+ return "";
|
+ return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
constexpr char kIncludeCaptureClockOffset[] =
|
|
||||||
"WebRTC-IncludeCaptureClockOffset";
|
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
RTPSenderAudio::RTPSenderAudio(Clock* clock, RTPSender* rtp_sender)
|
RTPSenderAudio::RTPSenderAudio(Clock* clock, RTPSender* rtp_sender)
|
||||||
|
: clock_(clock),
|
||||||
|
rtp_sender_(rtp_sender),
|
||||||
|
absolute_capture_time_sender_(clock) {
|
||||||
diff --git a/third_party/libwebrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc b/third_party/libwebrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc
|
diff --git a/third_party/libwebrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc b/third_party/libwebrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc
|
||||||
--- a/third_party/libwebrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc
|
--- a/third_party/libwebrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc
|
||||||
+++ b/third_party/libwebrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc
|
+++ b/third_party/libwebrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
PRODUCT="firefox"
|
PRODUCT="firefox"
|
||||||
CHANNEL="release"
|
CHANNEL="release"
|
||||||
VERSION="117.0.1"
|
VERSION="118.0.1"
|
||||||
VERSION_SUFFIX=""
|
VERSION_SUFFIX=""
|
||||||
PREV_VERSION="117.0"
|
PREV_VERSION="118.0"
|
||||||
PREV_VERSION_SUFFIX=""
|
PREV_VERSION_SUFFIX=""
|
||||||
#SKIP_LOCALES="" # Uncomment to skip l10n and compare-locales-generation
|
#SKIP_LOCALES="" # Uncomment to skip l10n and compare-locales-generation
|
||||||
RELEASE_REPO="https://hg.mozilla.org/releases/mozilla-release"
|
RELEASE_REPO="https://hg.mozilla.org/releases/mozilla-release"
|
||||||
RELEASE_TAG="e245ca2125a6eb1e2d08cc9e5824f15e1e67a566"
|
RELEASE_TAG="68e4c357d26c5a1f075a1ec0c696d4fe684ed881"
|
||||||
RELEASE_TIMESTAMP="20230912013654"
|
RELEASE_TIMESTAMP="20230927232528"
|
||||||
|
Loading…
Reference in New Issue
Block a user