Bring in the c9s content into c10s
We have the same content everywhere. Related: RHEL-24328
This commit is contained in:
parent
2c60f118d1
commit
9f825d7cfa
5
.gitignore
vendored
5
.gitignore
vendored
@ -617,3 +617,8 @@ firefox-3.6.4.source.tar.bz2
|
|||||||
/firefox-langpacks-121.0.1-20240112.tar.xz
|
/firefox-langpacks-121.0.1-20240112.tar.xz
|
||||||
/firefox-122.0.source.tar.xz
|
/firefox-122.0.source.tar.xz
|
||||||
/firefox-langpacks-122.0-20240119.tar.xz
|
/firefox-langpacks-122.0-20240119.tar.xz
|
||||||
|
/firefox-115.12.0esr.processed-source.tar.xz
|
||||||
|
/firefox-langpacks-115.12.0esr-20240604.tar.xz
|
||||||
|
/nspr-4.35.0-1.el8_1.src.rpm
|
||||||
|
/nss-3.90.0-3.el8_1.src.rpm
|
||||||
|
/nss-3.90.0-3.el9_0.src.rpm
|
||||||
|
@ -1,44 +0,0 @@
|
|||||||
From efd5bc0715e5477318be95a76811cda0a89e8289 Mon Sep 17 00:00:00 2001
|
|
||||||
From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= <emilio@crisal.io>
|
|
||||||
Date: Fri, 4 Mar 2022 12:00:26 +0100
|
|
||||||
Subject: [PATCH] GLIBCXX fix for GCC 12?
|
|
||||||
|
|
||||||
---
|
|
||||||
build/unix/stdc++compat/stdc++compat.cpp | 14 ++++++++++++++
|
|
||||||
1 file changed, 14 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/build/unix/stdc++compat/stdc++compat.cpp b/build/unix/stdc++compat/stdc++compat.cpp
|
|
||||||
index 0180f6bcfa998..8d7a542ff11f0 100644
|
|
||||||
--- a/build/unix/stdc++compat/stdc++compat.cpp
|
|
||||||
+++ b/build/unix/stdc++compat/stdc++compat.cpp
|
|
||||||
@@ -24,6 +24,7 @@
|
|
||||||
GLIBCXX_3.4.27 is from gcc 10
|
|
||||||
GLIBCXX_3.4.28 is from gcc 10
|
|
||||||
GLIBCXX_3.4.29 is from gcc 11
|
|
||||||
+ GLIBCXX_3.4.30 is from gcc 12
|
|
||||||
|
|
||||||
This file adds the necessary compatibility tricks to avoid symbols with
|
|
||||||
version GLIBCXX_3.4.20 and bigger, keeping binary compatibility with
|
|
||||||
@@ -69,6 +70,19 @@ void __attribute__((weak)) __throw_bad_array_new_length() { MOZ_CRASH(); }
|
|
||||||
} // namespace std
|
|
||||||
#endif
|
|
||||||
|
|
||||||
+#if _GLIBCXX_RELEASE >= 12
|
|
||||||
+namespace std {
|
|
||||||
+
|
|
||||||
+/* This avoids the GLIBCXX_3.4.30 symbol version. */
|
|
||||||
+void __attribute__((weak))
|
|
||||||
+__glibcxx_assert_fail(const char* __file, int __line, const char* __function,
|
|
||||||
+ const char* __condition) {
|
|
||||||
+ MOZ_CRASH();
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+} // namespace std
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
/* While we generally don't build with exceptions, we have some host tools
|
|
||||||
* that do use them. libstdc++ from GCC 5.0 added exception constructors with
|
|
||||||
* char const* argument. Older versions only have a constructor with
|
|
||||||
--
|
|
||||||
2.35.1
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
@ -1,279 +0,0 @@
|
|||||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Martin Sirringhaus <msirringhaus@suse.de>
|
|
||||||
Date: Tue, 8 Aug 2023 16:18:24 +0300
|
|
||||||
Subject: [PATCH] Add KDE integration to Firefox
|
|
||||||
|
|
||||||
Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=140751
|
|
||||||
Bug: https://bugzilla.suse.com/show_bug.cgi?id=170055
|
|
||||||
|
|
||||||
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
|
|
||||||
---
|
|
||||||
browser/components/preferences/main.js | 18 +++
|
|
||||||
browser/components/shell/moz.build | 2 +
|
|
||||||
.../components/shell/nsKDEShellService.cpp | 109 ++++++++++++++++++
|
|
||||||
browser/components/shell/nsKDEShellService.h | 32 +++++
|
|
||||||
.../components/shell/nsUnixShellService.cpp | 22 ++++
|
|
||||||
browser/components/shell/nsUnixShellService.h | 15 +++
|
|
||||||
6 files changed, 198 insertions(+)
|
|
||||||
create mode 100644 browser/components/shell/nsKDEShellService.cpp
|
|
||||||
create mode 100644 browser/components/shell/nsKDEShellService.h
|
|
||||||
create mode 100644 browser/components/shell/nsUnixShellService.cpp
|
|
||||||
create mode 100644 browser/components/shell/nsUnixShellService.h
|
|
||||||
|
|
||||||
diff --git a/browser/components/preferences/main.js b/browser/components/preferences/main.js
|
|
||||||
index 820e46fb006567bfdf93e2a46da5e3c07d42bf10..57d1c21bdecc2d55d0bed30246e684d3b97ad7fa 100644
|
|
||||||
--- a/browser/components/preferences/main.js
|
|
||||||
+++ b/browser/components/preferences/main.js
|
|
||||||
@@ -294,6 +294,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();
|
|
||||||
|
|
||||||
@@ -1727,6 +1734,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;
|
|
||||||
diff --git a/browser/components/shell/moz.build b/browser/components/shell/moz.build
|
|
||||||
index eb88cb287dc3f04022b74b978666118bbd5fa6b2..95277533781a7224d108e3c45731a6d9a89ba1a0 100644
|
|
||||||
--- a/browser/components/shell/moz.build
|
|
||||||
+++ b/browser/components/shell/moz.build
|
|
||||||
@@ -36,6 +36,8 @@ elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
|
|
||||||
|
|
||||||
SOURCES += [
|
|
||||||
"nsGNOMEShellService.cpp",
|
|
||||||
+ "nsKDEShellService.cpp",
|
|
||||||
+ "nsUnixShellService.cpp",
|
|
||||||
]
|
|
||||||
if CONFIG["MOZ_ENABLE_DBUS"]:
|
|
||||||
SOURCES += [
|
|
||||||
diff --git a/browser/components/shell/nsKDEShellService.cpp b/browser/components/shell/nsKDEShellService.cpp
|
|
||||||
new file mode 100644
|
|
||||||
index 0000000000000000000000000000000000000000..152a3aca87ea73477bc75c4e93c01e5a52dda102
|
|
||||||
--- /dev/null
|
|
||||||
+++ b/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;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
diff --git a/browser/components/shell/nsKDEShellService.h b/browser/components/shell/nsKDEShellService.h
|
|
||||||
new file mode 100644
|
|
||||||
index 0000000000000000000000000000000000000000..8b0bb19164352453cfa453dd87c19263160b9ad8
|
|
||||||
--- /dev/null
|
|
||||||
+++ b/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____
|
|
||||||
diff --git a/browser/components/shell/nsUnixShellService.cpp b/browser/components/shell/nsUnixShellService.cpp
|
|
||||||
new file mode 100644
|
|
||||||
index 0000000000000000000000000000000000000000..abf266ebdc52e136f495911da3454e69c770c6db
|
|
||||||
--- /dev/null
|
|
||||||
+++ b/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 );
|
|
||||||
+}
|
|
||||||
diff --git a/browser/components/shell/nsUnixShellService.h b/browser/components/shell/nsUnixShellService.h
|
|
||||||
new file mode 100644
|
|
||||||
index 0000000000000000000000000000000000000000..26b5dbac47dd9a8ec1fcb6c93575cca750692735
|
|
||||||
--- /dev/null
|
|
||||||
+++ b/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____
|
|
127
CVE-2023-44488-libvpx.patch
Normal file
127
CVE-2023-44488-libvpx.patch
Normal file
@ -0,0 +1,127 @@
|
|||||||
|
From 263682c9a29395055f3b3afe2d97be1828a6223f Mon Sep 17 00:00:00 2001
|
||||||
|
From: Jerome Jiang <jianj@google.com>
|
||||||
|
Date: Thu, 30 Jun 2022 13:48:56 -0400
|
||||||
|
Subject: [PATCH] Fix bug with smaller width bigger size
|
||||||
|
|
||||||
|
Fixed previous patch that clusterfuzz failed on.
|
||||||
|
|
||||||
|
Bug: webm:1642
|
||||||
|
Change-Id: If0e08e72abd2e042efe4dcfac21e4cc51afdfdb9
|
||||||
|
---
|
||||||
|
test/resize_test.cc | 11 +++--------
|
||||||
|
vp9/common/vp9_alloccommon.c | 13 ++++++-------
|
||||||
|
vp9/encoder/vp9_encoder.c | 27 +++++++++++++++++++++++++--
|
||||||
|
3 files changed, 34 insertions(+), 17 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/test/resize_test.cc b/test/resize_test.cc
|
||||||
|
index fd1c2a92de6..20ad2229b46 100644
|
||||||
|
--- a/test/resize_test.cc
|
||||||
|
+++ b/test/resize_test.cc
|
||||||
|
@@ -102,11 +102,8 @@ void ScaleForFrameNumber(unsigned int frame, unsigned int initial_w,
|
||||||
|
if (frame < 30) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
- if (frame < 100) {
|
||||||
|
- *w = initial_w * 7 / 10;
|
||||||
|
- *h = initial_h * 16 / 10;
|
||||||
|
- return;
|
||||||
|
- }
|
||||||
|
+ *w = initial_w * 7 / 10;
|
||||||
|
+ *h = initial_h * 16 / 10;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (frame < 10) {
|
||||||
|
@@ -559,9 +556,7 @@ TEST_P(ResizeRealtimeTest, TestExternalResizeWorks) {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
-// TODO(https://crbug.com/webm/1642): This causes a segfault in
|
||||||
|
-// init_encode_frame_mb_context().
|
||||||
|
-TEST_P(ResizeRealtimeTest, DISABLED_TestExternalResizeSmallerWidthBiggerSize) {
|
||||||
|
+TEST_P(ResizeRealtimeTest, TestExternalResizeSmallerWidthBiggerSize) {
|
||||||
|
ResizingVideoSource video;
|
||||||
|
video.flag_codec_ = true;
|
||||||
|
video.smaller_width_larger_size_ = true;
|
||||||
|
diff --git a/vp9/common/vp9_alloccommon.c b/vp9/common/vp9_alloccommon.c
|
||||||
|
index e53883f621d..9e73e40ea09 100644
|
||||||
|
--- a/vp9/common/vp9_alloccommon.c
|
||||||
|
+++ b/vp9/common/vp9_alloccommon.c
|
||||||
|
@@ -135,13 +135,6 @@ int vp9_alloc_context_buffers(VP9_COMMON *cm, int width, int height) {
|
||||||
|
cm->free_mi(cm);
|
||||||
|
if (cm->alloc_mi(cm, new_mi_size)) goto fail;
|
||||||
|
}
|
||||||
|
-
|
||||||
|
- if (cm->seg_map_alloc_size < cm->mi_rows * cm->mi_cols) {
|
||||||
|
- // Create the segmentation map structure and set to 0.
|
||||||
|
- free_seg_map(cm);
|
||||||
|
- if (alloc_seg_map(cm, cm->mi_rows * cm->mi_cols)) goto fail;
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
if (cm->above_context_alloc_cols < cm->mi_cols) {
|
||||||
|
vpx_free(cm->above_context);
|
||||||
|
cm->above_context = (ENTROPY_CONTEXT *)vpx_calloc(
|
||||||
|
@@ -156,6 +149,12 @@ int vp9_alloc_context_buffers(VP9_COMMON *cm, int width, int height) {
|
||||||
|
cm->above_context_alloc_cols = cm->mi_cols;
|
||||||
|
}
|
||||||
|
|
||||||
|
+ if (cm->seg_map_alloc_size < cm->mi_rows * cm->mi_cols) {
|
||||||
|
+ // Create the segmentation map structure and set to 0.
|
||||||
|
+ free_seg_map(cm);
|
||||||
|
+ if (alloc_seg_map(cm, cm->mi_rows * cm->mi_cols)) goto fail;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
if (vp9_alloc_loop_filter(cm)) goto fail;
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
diff --git a/vp9/encoder/vp9_encoder.c b/vp9/encoder/vp9_encoder.c
|
||||||
|
index 69a4e3c314f..e3ba294c32f 100644
|
||||||
|
--- a/vp9/encoder/vp9_encoder.c
|
||||||
|
+++ b/vp9/encoder/vp9_encoder.c
|
||||||
|
@@ -2047,6 +2047,17 @@ static void alloc_copy_partition_data(VP9_COMP *cpi) {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
+static void free_copy_partition_data(VP9_COMP *cpi) {
|
||||||
|
+ vpx_free(cpi->prev_partition);
|
||||||
|
+ cpi->prev_partition = NULL;
|
||||||
|
+ vpx_free(cpi->prev_segment_id);
|
||||||
|
+ cpi->prev_segment_id = NULL;
|
||||||
|
+ vpx_free(cpi->prev_variance_low);
|
||||||
|
+ cpi->prev_variance_low = NULL;
|
||||||
|
+ vpx_free(cpi->copied_frame_cnt);
|
||||||
|
+ cpi->copied_frame_cnt = NULL;
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
void vp9_change_config(struct VP9_COMP *cpi, const VP9EncoderConfig *oxcf) {
|
||||||
|
VP9_COMMON *const cm = &cpi->common;
|
||||||
|
RATE_CONTROL *const rc = &cpi->rc;
|
||||||
|
@@ -2126,6 +2137,8 @@ void vp9_change_config(struct VP9_COMP *cpi, const VP9EncoderConfig *oxcf) {
|
||||||
|
new_mi_size = cm->mi_stride * calc_mi_size(cm->mi_rows);
|
||||||
|
if (cm->mi_alloc_size < new_mi_size) {
|
||||||
|
vp9_free_context_buffers(cm);
|
||||||
|
+ vp9_free_pc_tree(&cpi->td);
|
||||||
|
+ vpx_free(cpi->mbmi_ext_base);
|
||||||
|
alloc_compressor_data(cpi);
|
||||||
|
realloc_segmentation_maps(cpi);
|
||||||
|
cpi->initial_width = cpi->initial_height = 0;
|
||||||
|
@@ -2144,8 +2157,18 @@ void vp9_change_config(struct VP9_COMP *cpi, const VP9EncoderConfig *oxcf) {
|
||||||
|
update_frame_size(cpi);
|
||||||
|
|
||||||
|
if (last_w != cpi->oxcf.width || last_h != cpi->oxcf.height) {
|
||||||
|
- memset(cpi->consec_zero_mv, 0,
|
||||||
|
- cm->mi_rows * cm->mi_cols * sizeof(*cpi->consec_zero_mv));
|
||||||
|
+ vpx_free(cpi->consec_zero_mv);
|
||||||
|
+ CHECK_MEM_ERROR(
|
||||||
|
+ &cm->error, cpi->consec_zero_mv,
|
||||||
|
+ vpx_calloc(cm->mi_rows * cm->mi_cols, sizeof(*cpi->consec_zero_mv)));
|
||||||
|
+
|
||||||
|
+ vpx_free(cpi->skin_map);
|
||||||
|
+ CHECK_MEM_ERROR(
|
||||||
|
+ &cm->error, cpi->skin_map,
|
||||||
|
+ vpx_calloc(cm->mi_rows * cm->mi_cols, sizeof(cpi->skin_map[0])));
|
||||||
|
+
|
||||||
|
+ free_copy_partition_data(cpi);
|
||||||
|
+ alloc_copy_partition_data(cpi);
|
||||||
|
if (cpi->oxcf.aq_mode == CYCLIC_REFRESH_AQ)
|
||||||
|
vp9_cyclic_refresh_reset_resize(cpi);
|
||||||
|
rc->rc_1_frame = 0;
|
132
D167159.diff
132
D167159.diff
@ -1,132 +0,0 @@
|
|||||||
diff --git a/dom/canvas/ClientWebGLContext.cpp b/dom/canvas/ClientWebGLContext.cpp
|
|
||||||
--- a/dom/canvas/ClientWebGLContext.cpp
|
|
||||||
+++ b/dom/canvas/ClientWebGLContext.cpp
|
|
||||||
@@ -4253,11 +4253,12 @@
|
|
||||||
const auto& sd = *(desc->sd);
|
|
||||||
const auto sdType = sd.type();
|
|
||||||
const auto& contextInfo = mNotLost->info;
|
|
||||||
|
|
||||||
const auto fallbackReason = [&]() -> Maybe<std::string> {
|
|
||||||
- auto fallbackReason = BlitPreventReason(level, offset, pi, *desc);
|
|
||||||
+ auto fallbackReason =
|
|
||||||
+ BlitPreventReason(level, offset, pi, *desc, Limits());
|
|
||||||
if (fallbackReason) return fallbackReason;
|
|
||||||
|
|
||||||
const bool canUploadViaSd = contextInfo.uploadableSdTypes[sdType];
|
|
||||||
if (!canUploadViaSd) {
|
|
||||||
const nsPrintfCString msg(
|
|
||||||
diff --git a/dom/canvas/TexUnpackBlob.h b/dom/canvas/TexUnpackBlob.h
|
|
||||||
--- a/dom/canvas/TexUnpackBlob.h
|
|
||||||
+++ b/dom/canvas/TexUnpackBlob.h
|
|
||||||
@@ -41,11 +41,12 @@
|
|
||||||
struct PackingInfo;
|
|
||||||
struct DriverUnpackInfo;
|
|
||||||
|
|
||||||
Maybe<std::string> BlitPreventReason(int32_t level, const ivec3& offset,
|
|
||||||
const webgl::PackingInfo&,
|
|
||||||
- const TexUnpackBlobDesc&);
|
|
||||||
+ const TexUnpackBlobDesc&,
|
|
||||||
+ const Limits& limits);
|
|
||||||
|
|
||||||
class TexUnpackBlob {
|
|
||||||
public:
|
|
||||||
const TexUnpackBlobDesc& mDesc;
|
|
||||||
bool mNeedsExactUpload = true;
|
|
||||||
diff --git a/dom/canvas/TexUnpackBlob.cpp b/dom/canvas/TexUnpackBlob.cpp
|
|
||||||
--- a/dom/canvas/TexUnpackBlob.cpp
|
|
||||||
+++ b/dom/canvas/TexUnpackBlob.cpp
|
|
||||||
@@ -658,11 +658,12 @@
|
|
||||||
return ValidateUnpackPixels(webgl, pi, fullRows, *this);
|
|
||||||
}
|
|
||||||
|
|
||||||
Maybe<std::string> BlitPreventReason(const int32_t level, const ivec3& offset,
|
|
||||||
const webgl::PackingInfo& pi,
|
|
||||||
- const TexUnpackBlobDesc& desc) {
|
|
||||||
+ const TexUnpackBlobDesc& desc,
|
|
||||||
+ const Limits& limits) {
|
|
||||||
const auto& size = desc.size;
|
|
||||||
const auto& unpacking = desc.unpacking;
|
|
||||||
|
|
||||||
const auto ret = [&]() -> const char* {
|
|
||||||
if (size.z != 1) {
|
|
||||||
@@ -689,12 +690,16 @@
|
|
||||||
return "UNPACK_PREMULTIPLY_ALPHA_WEBGL is not false";
|
|
||||||
}
|
|
||||||
}();
|
|
||||||
if (premultReason) return premultReason;
|
|
||||||
|
|
||||||
- if (pi.format != LOCAL_GL_RGBA) {
|
|
||||||
- return "`format` is not RGBA";
|
|
||||||
+ if (pi.format != LOCAL_GL_RGBA && pi.format != LOCAL_GL_RGB) {
|
|
||||||
+ return "`format` is not RGBA or RGB";
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ if (pi.format == LOCAL_GL_RGB && !limits.rgbColorRenderable) {
|
|
||||||
+ return "`format` is RGB, which is not color-renderable";
|
|
||||||
}
|
|
||||||
|
|
||||||
if (pi.type != LOCAL_GL_UNSIGNED_BYTE) {
|
|
||||||
return "`type` is not UNSIGNED_BYTE";
|
|
||||||
}
|
|
||||||
@@ -722,12 +727,12 @@
|
|
||||||
|
|
||||||
const auto& gl = webgl->GL();
|
|
||||||
|
|
||||||
// -
|
|
||||||
|
|
||||||
- const auto reason =
|
|
||||||
- BlitPreventReason(level, {xOffset, yOffset, zOffset}, pi, mDesc);
|
|
||||||
+ const auto reason = BlitPreventReason(level, {xOffset, yOffset, zOffset}, pi,
|
|
||||||
+ mDesc, tex->mContext->Limits());
|
|
||||||
if (reason) {
|
|
||||||
webgl->GeneratePerfWarning(
|
|
||||||
"Failed to hit GPU-copy fast-path."
|
|
||||||
" (%s) Falling back to CPU upload.",
|
|
||||||
reason->c_str());
|
|
||||||
diff --git a/dom/canvas/WebGLContextValidate.cpp b/dom/canvas/WebGLContextValidate.cpp
|
|
||||||
--- a/dom/canvas/WebGLContextValidate.cpp
|
|
||||||
+++ b/dom/canvas/WebGLContextValidate.cpp
|
|
||||||
@@ -239,10 +239,12 @@
|
|
||||||
[WebGLExtensionID::WEBGL_compressed_texture_astc]) {
|
|
||||||
limits.astcHdr = gl.IsExtensionSupported(
|
|
||||||
gl::GLContext::KHR_texture_compression_astc_hdr);
|
|
||||||
}
|
|
||||||
|
|
||||||
+ limits.rgbColorRenderable = webgl.gl->IsRGBColorRenderable();
|
|
||||||
+
|
|
||||||
if (webgl.IsWebGL2() ||
|
|
||||||
limits.supportedExtensions[WebGLExtensionID::WEBGL_draw_buffers]) {
|
|
||||||
gl.GetUIntegerv(LOCAL_GL_MAX_DRAW_BUFFERS, &limits.maxColorDrawBuffers);
|
|
||||||
}
|
|
||||||
|
|
||||||
diff --git a/dom/canvas/WebGLTypes.h b/dom/canvas/WebGLTypes.h
|
|
||||||
--- a/dom/canvas/WebGLTypes.h
|
|
||||||
+++ b/dom/canvas/WebGLTypes.h
|
|
||||||
@@ -663,10 +663,11 @@
|
|
||||||
uint32_t maxUniformBufferBindings = 0;
|
|
||||||
uint32_t uniformBufferOffsetAlignment = 0;
|
|
||||||
|
|
||||||
// Exts
|
|
||||||
bool astcHdr = false;
|
|
||||||
+ bool rgbColorRenderable = false;
|
|
||||||
uint32_t maxColorDrawBuffers = 1;
|
|
||||||
uint64_t queryCounterBitsTimeElapsed = 0;
|
|
||||||
uint64_t queryCounterBitsTimestamp = 0;
|
|
||||||
uint32_t maxMultiviewLayers = 0;
|
|
||||||
};
|
|
||||||
diff --git a/gfx/gl/GLContext.h b/gfx/gl/GLContext.h
|
|
||||||
--- a/gfx/gl/GLContext.h
|
|
||||||
+++ b/gfx/gl/GLContext.h
|
|
||||||
@@ -290,10 +290,11 @@
|
|
||||||
mTopError = GetError();
|
|
||||||
return IsContextLost();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool HasPBOState() const { return (!IsGLES() || Version() >= 300); }
|
|
||||||
+ bool IsRGBColorRenderable() { return !IsGLES() || Version() >= 300; }
|
|
||||||
|
|
||||||
/**
|
|
||||||
* If this context is double-buffered, returns TRUE.
|
|
||||||
*/
|
|
||||||
virtual bool IsDoubleBuffered() const { return false; }
|
|
||||||
|
|
93
D168799.diff
93
D168799.diff
@ -1,93 +0,0 @@
|
|||||||
diff --git a/extensions/pref/autoconfig/test/unit/test_autoconfig_custom_path.js b/extensions/pref/autoconfig/test/unit/test_autoconfig_custom_path.js
|
|
||||||
--- a/extensions/pref/autoconfig/test/unit/test_autoconfig_custom_path.js
|
|
||||||
+++ b/extensions/pref/autoconfig/test/unit/test_autoconfig_custom_path.js
|
|
||||||
@@ -9,10 +9,13 @@
|
|
||||||
let testDirName = do_get_cwd().clone();
|
|
||||||
Services.env.set("MOZ_SYSTEM_CONFIG_DIR", testDirName.path);
|
|
||||||
|
|
||||||
updateAppInfo();
|
|
||||||
|
|
||||||
+ try {
|
|
||||||
+ Services.dirsvc.undefine("SysConfD");
|
|
||||||
+ } catch (e) {}
|
|
||||||
let customSysConfD = Services.dirsvc.get("SysConfD", Ci.nsIFile);
|
|
||||||
let parent = customSysConfD.parent;
|
|
||||||
let child = customSysConfD.leafName;
|
|
||||||
notEqual("/etc", parent.path, "SysConfD is not in /etc");
|
|
||||||
equal("xpcshell", child, "SysConfD is xpcshell");
|
|
||||||
diff --git a/extensions/pref/autoconfig/test/unit/test_autoconfig_default_path.js b/extensions/pref/autoconfig/test/unit/test_autoconfig_default_path.js
|
|
||||||
--- a/extensions/pref/autoconfig/test/unit/test_autoconfig_default_path.js
|
|
||||||
+++ b/extensions/pref/autoconfig/test/unit/test_autoconfig_default_path.js
|
|
||||||
@@ -6,8 +6,11 @@
|
|
||||||
);
|
|
||||||
|
|
||||||
function run_test() {
|
|
||||||
updateAppInfo();
|
|
||||||
|
|
||||||
+ try {
|
|
||||||
+ Services.dirsvc.undefine("SysConfD");
|
|
||||||
+ } catch (e) {}
|
|
||||||
let defaultSysConfD = Services.dirsvc.get("SysConfD", Ci.nsIFile);
|
|
||||||
equal("/etc/xpcshell", defaultSysConfD.path, "SysConfD is in /etc");
|
|
||||||
}
|
|
||||||
diff --git a/modules/libpref/Preferences.cpp b/modules/libpref/Preferences.cpp
|
|
||||||
--- a/modules/libpref/Preferences.cpp
|
|
||||||
+++ b/modules/libpref/Preferences.cpp
|
|
||||||
@@ -4917,27 +4917,10 @@
|
|
||||||
ArrayLength(specialFiles));
|
|
||||||
if (NS_FAILED(rv)) {
|
|
||||||
NS_WARNING("Error parsing application default preferences.");
|
|
||||||
}
|
|
||||||
|
|
||||||
-#if defined(MOZ_WIDGET_GTK)
|
|
||||||
- // Under Flatpak/Snap package, load /etc/firefox/defaults/pref/*.js.
|
|
||||||
- if (mozilla::widget::IsRunningUnderFlatpakOrSnap()) {
|
|
||||||
- nsCOMPtr<nsIFile> defaultSnapPrefDir;
|
|
||||||
- rv = NS_GetSpecialDirectory(NS_OS_SYSTEM_CONFIG_DIR,
|
|
||||||
- getter_AddRefs(defaultSnapPrefDir));
|
|
||||||
- NS_ENSURE_SUCCESS(rv, rv);
|
|
||||||
- defaultSnapPrefDir->AppendNative("defaults"_ns);
|
|
||||||
- defaultSnapPrefDir->AppendNative("pref"_ns);
|
|
||||||
-
|
|
||||||
- rv = pref_LoadPrefsInDir(defaultSnapPrefDir, nullptr, 0);
|
|
||||||
- if (NS_FAILED(rv)) {
|
|
||||||
- NS_WARNING("Error parsing application default preferences under Snap.");
|
|
||||||
- }
|
|
||||||
- }
|
|
||||||
-#endif
|
|
||||||
-
|
|
||||||
// Load jar:$app/omni.jar!/defaults/preferences/*.js
|
|
||||||
// or jar:$gre/omni.jar!/defaults/preferences/*.js.
|
|
||||||
RefPtr<nsZipArchive> appJarReader = Omnijar::GetReader(Omnijar::APP);
|
|
||||||
|
|
||||||
// GetReader(Omnijar::APP) returns null when `$app == $gre`, in
|
|
||||||
@@ -5006,10 +4989,28 @@
|
|
||||||
// Do we care if a file provided by this process fails to load?
|
|
||||||
pref_LoadPrefsInDir(path, nullptr, 0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
+#if defined(MOZ_WIDGET_GTK)
|
|
||||||
+ // To ensure the system-wide preferences are not overwritten by
|
|
||||||
+ // firefox/browser/defauts/preferences/*.js we need to load
|
|
||||||
+ // the /etc/firefox/defaults/pref/*.js settings as last.
|
|
||||||
+ // Under Flatpak, the NS_OS_SYSTEM_CONFIG_DIR points to /app/etc/firefox
|
|
||||||
+ nsCOMPtr<nsIFile> defaultSystemPrefDir;
|
|
||||||
+ rv = NS_GetSpecialDirectory(NS_OS_SYSTEM_CONFIG_DIR,
|
|
||||||
+ getter_AddRefs(defaultSystemPrefDir));
|
|
||||||
+ NS_ENSURE_SUCCESS(rv, rv);
|
|
||||||
+ defaultSystemPrefDir->AppendNative("defaults"_ns);
|
|
||||||
+ defaultSystemPrefDir->AppendNative("pref"_ns);
|
|
||||||
+
|
|
||||||
+ rv = pref_LoadPrefsInDir(defaultSystemPrefDir, nullptr, 0);
|
|
||||||
+ if (NS_FAILED(rv)) {
|
|
||||||
+ NS_WARNING("Error parsing application default preferences.");
|
|
||||||
+ }
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
if (XRE_IsParentProcess()) {
|
|
||||||
SetupTelemetryPref();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (aIsStartup) {
|
|
||||||
|
|
@ -1,113 +0,0 @@
|
|||||||
diff --git a/widget/gtk/nsUserIdleServiceGTK.cpp b/widget/gtk/nsUserIdleServiceGTK.cpp
|
|
||||||
--- a/widget/gtk/nsUserIdleServiceGTK.cpp
|
|
||||||
+++ b/widget/gtk/nsUserIdleServiceGTK.cpp
|
|
||||||
@@ -149,48 +149,62 @@
|
|
||||||
|
|
||||||
#ifdef MOZ_ENABLE_DBUS
|
|
||||||
class UserIdleServiceMutter : public UserIdleServiceImpl {
|
|
||||||
public:
|
|
||||||
bool PollIdleTime(uint32_t* aIdleTime) override {
|
|
||||||
- MOZ_LOG(sIdleLog, LogLevel::Info,
|
|
||||||
- ("UserIdleServiceMutter::PollIdleTime()\n"));
|
|
||||||
-
|
|
||||||
- MOZ_ASSERT(mProxy);
|
|
||||||
- GUniquePtr<GError> error;
|
|
||||||
+ MOZ_LOG(sIdleLog, LogLevel::Info, ("PollIdleTime() request\n"));
|
|
||||||
|
|
||||||
- RefPtr<GVariant> result = dont_AddRef(g_dbus_proxy_call_sync(
|
|
||||||
- mProxy, "GetIdletime", nullptr, G_DBUS_CALL_FLAGS_NONE, -1,
|
|
||||||
- mCancellable, getter_Transfers(error)));
|
|
||||||
- if (!result) {
|
|
||||||
- MOZ_LOG(sIdleLog, LogLevel::Info,
|
|
||||||
- ("UserIdleServiceMutter::PollIdleTime() failed, message: %s\n",
|
|
||||||
- error->message));
|
|
||||||
+ // We're not ready yet
|
|
||||||
+ if (!mProxy) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
- if (!g_variant_is_of_type(result, G_VARIANT_TYPE_TUPLE) ||
|
|
||||||
- g_variant_n_children(result) != 1) {
|
|
||||||
- MOZ_LOG(
|
|
||||||
- sIdleLog, LogLevel::Info,
|
|
||||||
- ("UserIdleServiceMutter::PollIdleTime() Unexpected params type: %s\n",
|
|
||||||
- g_variant_get_type_string(result)));
|
|
||||||
- return false;
|
|
||||||
+
|
|
||||||
+ if (!mPollInProgress) {
|
|
||||||
+ mPollInProgress = true;
|
|
||||||
+ DBusProxyCall(mProxy, "GetIdletime", nullptr, G_DBUS_CALL_FLAGS_NONE, -1,
|
|
||||||
+ mCancellable)
|
|
||||||
+ ->Then(
|
|
||||||
+ GetCurrentSerialEventTarget(), __func__,
|
|
||||||
+ // It's safe to capture this as we use mCancellable to stop
|
|
||||||
+ // listening.
|
|
||||||
+ [self = RefPtr{this}, this](RefPtr<GVariant>&& aResult) {
|
|
||||||
+ if (!g_variant_is_of_type(aResult, G_VARIANT_TYPE_TUPLE) ||
|
|
||||||
+ g_variant_n_children(aResult) != 1) {
|
|
||||||
+ MOZ_LOG(sIdleLog, LogLevel::Info,
|
|
||||||
+ ("PollIdleTime() Unexpected params type: %s\n",
|
|
||||||
+ g_variant_get_type_string(aResult)));
|
|
||||||
+ mLastIdleTime = 0;
|
|
||||||
+ return;
|
|
||||||
+ }
|
|
||||||
+ RefPtr<GVariant> iTime =
|
|
||||||
+ dont_AddRef(g_variant_get_child_value(aResult, 0));
|
|
||||||
+ if (!g_variant_is_of_type(iTime, G_VARIANT_TYPE_UINT64)) {
|
|
||||||
+ MOZ_LOG(sIdleLog, LogLevel::Info,
|
|
||||||
+ ("PollIdleTime() Unexpected params type: %s\n",
|
|
||||||
+ g_variant_get_type_string(aResult)));
|
|
||||||
+ mLastIdleTime = 0;
|
|
||||||
+ return;
|
|
||||||
+ }
|
|
||||||
+ uint64_t idleTime = g_variant_get_uint64(iTime);
|
|
||||||
+ if (idleTime > std::numeric_limits<uint32_t>::max()) {
|
|
||||||
+ idleTime = std::numeric_limits<uint32_t>::max();
|
|
||||||
+ }
|
|
||||||
+ mLastIdleTime = idleTime;
|
|
||||||
+ mPollInProgress = false;
|
|
||||||
+ MOZ_LOG(sIdleLog, LogLevel::Info,
|
|
||||||
+ ("Async handler got %d\n", mLastIdleTime));
|
|
||||||
+ },
|
|
||||||
+ [self = RefPtr{this}, this](GUniquePtr<GError>&& aError) {
|
|
||||||
+ mPollInProgress = false;
|
|
||||||
+ g_warning("Failed to call GetIdletime(): %s\n",
|
|
||||||
+ aError->message);
|
|
||||||
+ });
|
|
||||||
}
|
|
||||||
- RefPtr<GVariant> iTime = dont_AddRef(g_variant_get_child_value(result, 0));
|
|
||||||
- if (!g_variant_is_of_type(iTime, G_VARIANT_TYPE_UINT64)) {
|
|
||||||
- MOZ_LOG(
|
|
||||||
- sIdleLog, LogLevel::Info,
|
|
||||||
- ("UserIdleServiceMutter::PollIdleTime() Unexpected params type: %s\n",
|
|
||||||
- g_variant_get_type_string(result)));
|
|
||||||
- return false;
|
|
||||||
- }
|
|
||||||
- uint64_t idleTime = g_variant_get_uint64(iTime);
|
|
||||||
- if (idleTime > std::numeric_limits<uint32_t>::max()) {
|
|
||||||
- idleTime = std::numeric_limits<uint32_t>::max();
|
|
||||||
- }
|
|
||||||
- *aIdleTime = idleTime;
|
|
||||||
+
|
|
||||||
+ *aIdleTime = mLastIdleTime;
|
|
||||||
MOZ_LOG(sIdleLog, LogLevel::Info,
|
|
||||||
- ("UserIdleServiceMutter::PollIdleTime() %d\n", *aIdleTime));
|
|
||||||
+ ("PollIdleTime() returns %d\n", *aIdleTime));
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool ProbeImplementation(
|
|
||||||
RefPtr<nsUserIdleServiceGTK> aUserIdleServiceGTK) override {
|
|
||||||
@@ -229,10 +243,12 @@
|
|
||||||
}
|
|
||||||
|
|
||||||
private:
|
|
||||||
RefPtr<GDBusProxy> mProxy;
|
|
||||||
RefPtr<GCancellable> mCancellable;
|
|
||||||
+ uint32_t mLastIdleTime = 0;
|
|
||||||
+ bool mPollInProgress = false;
|
|
||||||
};
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void nsUserIdleServiceGTK::ProbeService() {
|
|
||||||
MOZ_LOG(sIdleLog, LogLevel::Info,
|
|
||||||
|
|
@ -1,201 +0,0 @@
|
|||||||
diff --git a/widget/gtk/nsUserIdleServiceGTK.h b/widget/gtk/nsUserIdleServiceGTK.h
|
|
||||||
--- a/widget/gtk/nsUserIdleServiceGTK.h
|
|
||||||
+++ b/widget/gtk/nsUserIdleServiceGTK.h
|
|
||||||
@@ -14,18 +14,20 @@
|
|
||||||
|
|
||||||
class nsUserIdleServiceGTK;
|
|
||||||
|
|
||||||
class UserIdleServiceImpl {
|
|
||||||
public:
|
|
||||||
- NS_INLINE_DECL_REFCOUNTING(UserIdleServiceImpl);
|
|
||||||
+ explicit UserIdleServiceImpl(nsUserIdleServiceGTK* aUserIdleService)
|
|
||||||
+ : mUserIdleServiceGTK(aUserIdleService){};
|
|
||||||
|
|
||||||
virtual bool PollIdleTime(uint32_t* aIdleTime) = 0;
|
|
||||||
- virtual bool ProbeImplementation(
|
|
||||||
- RefPtr<nsUserIdleServiceGTK> aUserIdleServiceGTK) = 0;
|
|
||||||
+ virtual bool ProbeImplementation() = 0;
|
|
||||||
+
|
|
||||||
+ virtual ~UserIdleServiceImpl() = default;
|
|
||||||
|
|
||||||
protected:
|
|
||||||
- virtual ~UserIdleServiceImpl() = default;
|
|
||||||
+ nsUserIdleServiceGTK* mUserIdleServiceGTK;
|
|
||||||
};
|
|
||||||
|
|
||||||
#define IDLE_SERVICE_MUTTER 0
|
|
||||||
#define IDLE_SERVICE_XSCREENSAVER 1
|
|
||||||
#define IDLE_SERVICE_NONE 2
|
|
||||||
@@ -61,11 +63,11 @@
|
|
||||||
nsUserIdleServiceGTK() = default;
|
|
||||||
|
|
||||||
private:
|
|
||||||
~nsUserIdleServiceGTK() = default;
|
|
||||||
|
|
||||||
- RefPtr<UserIdleServiceImpl> mIdleService;
|
|
||||||
+ mozilla::UniquePtr<UserIdleServiceImpl> mIdleService;
|
|
||||||
#ifdef MOZ_ENABLE_DBUS
|
|
||||||
int mIdleServiceType = IDLE_SERVICE_MUTTER;
|
|
||||||
#else
|
|
||||||
int mIdleServiceType = IDLE_SERVICE_XSCREENSAVER;
|
|
||||||
#endif
|
|
||||||
diff --git a/widget/gtk/nsUserIdleServiceGTK.cpp b/widget/gtk/nsUserIdleServiceGTK.cpp
|
|
||||||
--- a/widget/gtk/nsUserIdleServiceGTK.cpp
|
|
||||||
+++ b/widget/gtk/nsUserIdleServiceGTK.cpp
|
|
||||||
@@ -74,12 +74,11 @@
|
|
||||||
MOZ_LOG(sIdleLog, LogLevel::Warning,
|
|
||||||
("XSSQueryExtension returned false!\n"));
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
- bool ProbeImplementation(
|
|
||||||
- RefPtr<nsUserIdleServiceGTK> aUserIdleServiceGTK) override {
|
|
||||||
+ bool ProbeImplementation() override {
|
|
||||||
MOZ_LOG(sIdleLog, LogLevel::Info,
|
|
||||||
("UserIdleServiceX11::UserIdleServiceX11()\n"));
|
|
||||||
|
|
||||||
if (!mozilla::widget::GdkIsX11Display()) {
|
|
||||||
return false;
|
|
||||||
@@ -114,15 +113,17 @@
|
|
||||||
// We're missing X11 symbols
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
// UserIdleServiceX11 uses sync init, confirm it now.
|
|
||||||
- aUserIdleServiceGTK->AcceptServiceCallback();
|
|
||||||
+ mUserIdleServiceGTK->AcceptServiceCallback();
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
- protected:
|
|
||||||
+ explicit UserIdleServiceX11(nsUserIdleServiceGTK* aUserIdleService)
|
|
||||||
+ : UserIdleServiceImpl(aUserIdleService){};
|
|
||||||
+
|
|
||||||
~UserIdleServiceX11() {
|
|
||||||
# ifdef MOZ_X11
|
|
||||||
if (mXssInfo) {
|
|
||||||
XFree(mXssInfo);
|
|
||||||
}
|
|
||||||
@@ -164,11 +165,11 @@
|
|
||||||
mCancellable)
|
|
||||||
->Then(
|
|
||||||
GetCurrentSerialEventTarget(), __func__,
|
|
||||||
// It's safe to capture this as we use mCancellable to stop
|
|
||||||
// listening.
|
|
||||||
- [self = RefPtr{this}, this](RefPtr<GVariant>&& aResult) {
|
|
||||||
+ [this](RefPtr<GVariant>&& aResult) {
|
|
||||||
if (!g_variant_is_of_type(aResult, G_VARIANT_TYPE_TUPLE) ||
|
|
||||||
g_variant_n_children(aResult) != 1) {
|
|
||||||
MOZ_LOG(sIdleLog, LogLevel::Info,
|
|
||||||
("PollIdleTime() Unexpected params type: %s\n",
|
|
||||||
g_variant_get_type_string(aResult)));
|
|
||||||
@@ -191,25 +192,25 @@
|
|
||||||
mLastIdleTime = idleTime;
|
|
||||||
mPollInProgress = false;
|
|
||||||
MOZ_LOG(sIdleLog, LogLevel::Info,
|
|
||||||
("Async handler got %d\n", mLastIdleTime));
|
|
||||||
},
|
|
||||||
- [self = RefPtr{this}, this](GUniquePtr<GError>&& aError) {
|
|
||||||
+ [this](GUniquePtr<GError>&& aError) {
|
|
||||||
mPollInProgress = false;
|
|
||||||
g_warning("Failed to call GetIdletime(): %s\n",
|
|
||||||
aError->message);
|
|
||||||
+ mUserIdleServiceGTK->RejectAndTryNextServiceCallback();
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
*aIdleTime = mLastIdleTime;
|
|
||||||
MOZ_LOG(sIdleLog, LogLevel::Info,
|
|
||||||
("PollIdleTime() returns %d\n", *aIdleTime));
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
- bool ProbeImplementation(
|
|
||||||
- RefPtr<nsUserIdleServiceGTK> aUserIdleServiceGTK) override {
|
|
||||||
+ bool ProbeImplementation() override {
|
|
||||||
MOZ_LOG(sIdleLog, LogLevel::Info,
|
|
||||||
("UserIdleServiceMutter::UserIdleServiceMutter()\n"));
|
|
||||||
|
|
||||||
mCancellable = dont_AddRef(g_cancellable_new());
|
|
||||||
CreateDBusProxyForBus(
|
|
||||||
@@ -219,23 +220,23 @@
|
|
||||||
nullptr, "org.gnome.Mutter.IdleMonitor",
|
|
||||||
"/org/gnome/Mutter/IdleMonitor/Core", "org.gnome.Mutter.IdleMonitor",
|
|
||||||
mCancellable)
|
|
||||||
->Then(
|
|
||||||
GetCurrentSerialEventTarget(), __func__,
|
|
||||||
- [self = RefPtr{this}, service = RefPtr{aUserIdleServiceGTK}](
|
|
||||||
- RefPtr<GDBusProxy>&& aProxy) {
|
|
||||||
- self->mProxy = std::move(aProxy);
|
|
||||||
- service->AcceptServiceCallback();
|
|
||||||
+ [this](RefPtr<GDBusProxy>&& aProxy) {
|
|
||||||
+ mProxy = std::move(aProxy);
|
|
||||||
+ mUserIdleServiceGTK->AcceptServiceCallback();
|
|
||||||
},
|
|
||||||
- [self = RefPtr{this}, service = RefPtr{aUserIdleServiceGTK}](
|
|
||||||
- GUniquePtr<GError>&& aError) {
|
|
||||||
- service->RejectAndTryNextServiceCallback();
|
|
||||||
+ [this](GUniquePtr<GError>&& aError) {
|
|
||||||
+ mUserIdleServiceGTK->RejectAndTryNextServiceCallback();
|
|
||||||
});
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
- protected:
|
|
||||||
+ explicit UserIdleServiceMutter(nsUserIdleServiceGTK* aUserIdleService)
|
|
||||||
+ : UserIdleServiceImpl(aUserIdleService){};
|
|
||||||
+
|
|
||||||
~UserIdleServiceMutter() {
|
|
||||||
if (mCancellable) {
|
|
||||||
g_cancellable_cancel(mCancellable);
|
|
||||||
mCancellable = nullptr;
|
|
||||||
}
|
|
||||||
@@ -257,23 +258,23 @@
|
|
||||||
MOZ_ASSERT(!mIdleService);
|
|
||||||
|
|
||||||
switch (mIdleServiceType) {
|
|
||||||
#ifdef MOZ_ENABLE_DBUS
|
|
||||||
case IDLE_SERVICE_MUTTER:
|
|
||||||
- mIdleService = new UserIdleServiceMutter();
|
|
||||||
+ mIdleService = MakeUnique<UserIdleServiceMutter>(this);
|
|
||||||
break;
|
|
||||||
#endif
|
|
||||||
#ifdef MOZ_X11
|
|
||||||
case IDLE_SERVICE_XSCREENSAVER:
|
|
||||||
- mIdleService = new UserIdleServiceX11();
|
|
||||||
+ mIdleService = MakeUnique<UserIdleServiceX11>(this);
|
|
||||||
break;
|
|
||||||
#endif
|
|
||||||
default:
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
- if (!mIdleService->ProbeImplementation(this)) {
|
|
||||||
+ if (!mIdleService->ProbeImplementation()) {
|
|
||||||
RejectAndTryNextServiceCallback();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void nsUserIdleServiceGTK::AcceptServiceCallback() {
|
|
||||||
@@ -289,19 +290,19 @@
|
|
||||||
mIdleServiceType));
|
|
||||||
|
|
||||||
// Delete recent non-working service
|
|
||||||
MOZ_ASSERT(mIdleService, "Nothing to reject?");
|
|
||||||
mIdleService = nullptr;
|
|
||||||
+ mIdleServiceInitialized = false;
|
|
||||||
|
|
||||||
mIdleServiceType++;
|
|
||||||
if (mIdleServiceType < IDLE_SERVICE_NONE) {
|
|
||||||
MOZ_LOG(sIdleLog, LogLevel::Info,
|
|
||||||
("nsUserIdleServiceGTK try next idle service\n"));
|
|
||||||
ProbeService();
|
|
||||||
} else {
|
|
||||||
MOZ_LOG(sIdleLog, LogLevel::Info, ("nsUserIdleServiceGTK failed\n"));
|
|
||||||
- mIdleServiceInitialized = false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
bool nsUserIdleServiceGTK::PollIdleTime(uint32_t* aIdleTime) {
|
|
||||||
if (!mIdleServiceInitialized) {
|
|
||||||
|
|
@ -1,91 +0,0 @@
|
|||||||
diff -up firefox-122.0/config/external/moz.build.system-av1 firefox-122.0/config/external/moz.build
|
|
||||||
--- firefox-122.0/config/external/moz.build.system-av1 2024-01-18 21:41:20.000000000 +0100
|
|
||||||
+++ firefox-122.0/config/external/moz.build 2024-01-19 18:27:03.512034790 +0100
|
|
||||||
@@ -40,8 +40,9 @@ if not CONFIG["MOZ_SYSTEM_LIBVPX"]:
|
|
||||||
external_dirs += ["media/libvpx"]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_AV1"]:
|
|
||||||
- external_dirs += ["media/libaom"]
|
|
||||||
- external_dirs += ["media/libdav1d"]
|
|
||||||
+ if not CONFIG["MOZ_SYSTEM_AV1"]:
|
|
||||||
+ external_dirs += ["media/libaom"]
|
|
||||||
+ external_dirs += ["media/libdav1d"]
|
|
||||||
|
|
||||||
if not CONFIG["MOZ_SYSTEM_PNG"]:
|
|
||||||
external_dirs += ["media/libpng"]
|
|
||||||
diff -up firefox-122.0/config/system-headers.mozbuild.system-av1 firefox-122.0/config/system-headers.mozbuild
|
|
||||||
--- firefox-122.0/config/system-headers.mozbuild.system-av1 2024-01-19 18:27:03.513034826 +0100
|
|
||||||
+++ firefox-122.0/config/system-headers.mozbuild 2024-01-19 19:02:54.515493457 +0100
|
|
||||||
@@ -1304,6 +1304,14 @@ if CONFIG["MOZ_ENABLE_LIBPROXY"]:
|
|
||||||
"proxy.h",
|
|
||||||
]
|
|
||||||
|
|
||||||
+if CONFIG['MOZ_SYSTEM_AV1']:
|
|
||||||
+ system_headers += [
|
|
||||||
+ 'aom/aom_decoder.h',
|
|
||||||
+ 'aom/aomdx.h',
|
|
||||||
+ 'aom/aom_image.h',
|
|
||||||
+ 'dav1d/dav1d.h',
|
|
||||||
+ ]
|
|
||||||
+
|
|
||||||
if CONFIG["MOZ_SYSTEM_ICU"]:
|
|
||||||
system_headers += [
|
|
||||||
"unicode/calendar.h",
|
|
||||||
diff -up firefox-122.0/dom/media/platforms/moz.build.system-av1 firefox-122.0/dom/media/platforms/moz.build
|
|
||||||
--- firefox-122.0/dom/media/platforms/moz.build.system-av1 2024-01-18 21:41:21.000000000 +0100
|
|
||||||
+++ firefox-122.0/dom/media/platforms/moz.build 2024-01-19 18:27:03.513034826 +0100
|
|
||||||
@@ -81,6 +81,11 @@ if CONFIG["MOZ_AV1"]:
|
|
||||||
"agnostic/AOMDecoder.cpp",
|
|
||||||
"agnostic/DAV1DDecoder.cpp",
|
|
||||||
]
|
|
||||||
+ if CONFIG["MOZ_SYSTEM_AV1"]:
|
|
||||||
+ CXXFLAGS += CONFIG["MOZ_SYSTEM_LIBAOM_CFLAGS"]
|
|
||||||
+ OS_LIBS += CONFIG["MOZ_SYSTEM_LIBAOM_LIBS"]
|
|
||||||
+ CXXFLAGS += CONFIG["MOZ_SYSTEM_LIBDAV1D_CFLAGS"]
|
|
||||||
+ OS_LIBS += CONFIG["MOZ_SYSTEM_LIBDAV1D_LIBS"]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_OMX"]:
|
|
||||||
EXPORTS += [
|
|
||||||
diff -up firefox-122.0/toolkit/moz.configure.system-av1 firefox-122.0/toolkit/moz.configure
|
|
||||||
--- firefox-122.0/toolkit/moz.configure.system-av1 2024-01-19 18:27:03.495034173 +0100
|
|
||||||
+++ firefox-122.0/toolkit/moz.configure 2024-01-19 18:27:03.514034863 +0100
|
|
||||||
@@ -743,14 +743,29 @@ def av1(value):
|
|
||||||
if value:
|
|
||||||
return True
|
|
||||||
|
|
||||||
+option("--with-system-av1", help="Use system av1 (located with pkg-config)")
|
|
||||||
|
|
||||||
-@depends(target, when=av1 & compile_environment)
|
|
||||||
+system_libaom_info = pkg_check_modules('MOZ_SYSTEM_LIBAOM', 'aom >= 1.0.0',
|
|
||||||
+ when='--with-system-av1')
|
|
||||||
+
|
|
||||||
+system_libdav1d_info = pkg_check_modules('MOZ_SYSTEM_LIBDAV1D', 'dav1d >= 0.1.1',
|
|
||||||
+ when='--with-system-av1')
|
|
||||||
+
|
|
||||||
+@depends(system_libaom_info, system_libdav1d_info)
|
|
||||||
+def system_av1(system_libaom_info, system_libdav1d_info):
|
|
||||||
+ has_av1_libs = False
|
|
||||||
+ if system_libaom_info and system_libdav1d_info:
|
|
||||||
+ has_av1_libs = True
|
|
||||||
+ return has_av1_libs
|
|
||||||
+
|
|
||||||
+
|
|
||||||
+@depends(target, when=av1 & depends(system_av1)(lambda v: not v) & compile_environment)
|
|
||||||
def dav1d_asm(target):
|
|
||||||
if target.cpu in ("aarch64", "x86", "x86_64"):
|
|
||||||
return True
|
|
||||||
|
|
||||||
|
|
||||||
-@depends(target, when=av1 & compile_environment)
|
|
||||||
+@depends(target, when=av1 & depends(system_av1)(lambda v: not v) & compile_environment)
|
|
||||||
def dav1d_nasm(target):
|
|
||||||
if target.cpu in ("x86", "x86_64"):
|
|
||||||
return namespace(version="2.14", what="AV1")
|
|
||||||
@@ -760,6 +775,7 @@ set_config("MOZ_DAV1D_ASM", dav1d_asm)
|
|
||||||
set_define("MOZ_DAV1D_ASM", dav1d_asm)
|
|
||||||
set_config("MOZ_AV1", av1)
|
|
||||||
set_define("MOZ_AV1", av1)
|
|
||||||
+set_config("MOZ_SYSTEM_AV1", depends_if(system_av1)(lambda _: True))
|
|
||||||
|
|
||||||
# JXL Image Codec Support
|
|
||||||
# ==============================================================
|
|
@ -1,22 +0,0 @@
|
|||||||
diff -Naur a/media/ffvpx/libavcodec/moz.build b/media/ffvpx/libavcodec/moz.build
|
|
||||||
--- a/media/ffvpx/libavcodec/moz.build 2023-08-01 09:34:20.242044722 +0300
|
|
||||||
+++ b/media/ffvpx/libavcodec/moz.build 2023-08-01 09:36:01.445808739 +0300
|
|
||||||
@@ -109,10 +109,14 @@
|
|
||||||
'vp9recon.c',
|
|
||||||
'vpx_rac.c',
|
|
||||||
]
|
|
||||||
- USE_LIBS += [
|
|
||||||
- 'dav1d',
|
|
||||||
- 'media_libdav1d_asm',
|
|
||||||
- ]
|
|
||||||
+ if CONFIG["MOZ_SYSTEM_AV1"]:
|
|
||||||
+ CFLAGS += CONFIG['MOZ_SYSTEM_LIBDAV1D_CFLAGS']
|
|
||||||
+ OS_LIBS += CONFIG['MOZ_SYSTEM_LIBDAV1D_LIBS']
|
|
||||||
+ else:
|
|
||||||
+ USE_LIBS += [
|
|
||||||
+ 'dav1d',
|
|
||||||
+ 'media_libdav1d_asm',
|
|
||||||
+ ]
|
|
||||||
if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
|
|
||||||
LOCAL_INCLUDES += ['/media/mozva']
|
|
||||||
SOURCES += [
|
|
@ -1,25 +0,0 @@
|
|||||||
diff -up firefox-114.0/gfx/skia/skia/modules/skcms/src/Transform_inl.h.aarch64-skia firefox-114.0/gfx/skia/skia/modules/skcms/src/Transform_inl.h
|
|
||||||
--- firefox-114.0/gfx/skia/skia/modules/skcms/src/Transform_inl.h.aarch64-skia 2023-06-02 03:15:22.000000000 +0200
|
|
||||||
+++ firefox-114.0/gfx/skia/skia/modules/skcms/src/Transform_inl.h 2023-06-05 10:18:46.942777997 +0200
|
|
||||||
@@ -189,8 +189,6 @@ SI F F_from_Half(U16 half) {
|
|
||||||
SI U16 Half_from_F(F f) {
|
|
||||||
#if defined(USING_NEON_FP16)
|
|
||||||
return bit_pun<U16>(f);
|
|
||||||
-#elif defined(USING_NEON_F16C)
|
|
||||||
- return (U16)vcvt_f16_f32(f);
|
|
||||||
#elif defined(USING_AVX512F)
|
|
||||||
return (U16)_mm512_cvtps_ph((__m512 )f, _MM_FROUND_CUR_DIRECTION );
|
|
||||||
#elif defined(USING_AVX_F16C)
|
|
||||||
diff -up firefox-114.0/gfx/skia/skia/src/base/SkHalf.h.aarch64-skia firefox-114.0/gfx/skia/skia/src/base/SkHalf.h
|
|
||||||
diff -up firefox-114.0/gfx/skia/skia/src/opts/SkRasterPipeline_opts.h.aarch64-skia firefox-114.0/gfx/skia/skia/src/opts/SkRasterPipeline_opts.h
|
|
||||||
--- firefox-114.0/gfx/skia/skia/src/opts/SkRasterPipeline_opts.h.aarch64-skia 2023-06-05 10:18:46.941777963 +0200
|
|
||||||
+++ firefox-114.0/gfx/skia/skia/src/opts/SkRasterPipeline_opts.h 2023-06-05 10:20:44.924843847 +0200
|
|
||||||
@@ -1128,7 +1128,7 @@ SI F from_half(U16 h) {
|
|
||||||
}
|
|
||||||
|
|
||||||
SI U16 to_half(F f) {
|
|
||||||
-#if defined(JUMPER_IS_NEON) && defined(SK_CPU_ARM64) \
|
|
||||||
+#if 0 //defined(JUMPER_IS_NEON) && defined(SK_CPU_ARM64) \
|
|
||||||
&& !defined(SK_BUILD_FOR_GOOGLE3) // Temporary workaround for some Google3 builds.
|
|
||||||
return sk_bit_cast<U16>(vcvt_f16_f32(f));
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
|||||||
diff -up firefox-66.0/media/libopus/silk/arm/arm_silk_map.c.old firefox-66.0/media/libopus/silk/arm/arm_silk_map.c
|
|
||||||
--- firefox-66.0/media/libopus/silk/arm/arm_silk_map.c.old 2019-03-12 21:07:35.356677522 +0100
|
|
||||||
+++ firefox-66.0/media/libopus/silk/arm/arm_silk_map.c 2019-03-12 21:07:42.937693394 +0100
|
|
||||||
@@ -28,7 +28,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
# include "config.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
-#include "main_FIX.h"
|
|
||||||
+#include "fixed/main_FIX.h"
|
|
||||||
#include "NSQ.h"
|
|
||||||
#include "SigProc_FIX.h"
|
|
||||||
|
|
57
build-big-endian-errors.patch
Normal file
57
build-big-endian-errors.patch
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
diff -up firefox-102.0/third_party/libwebrtc/common_audio/wav_file.cc.big-endian-errors firefox-102.0/third_party/libwebrtc/common_audio/wav_file.cc
|
||||||
|
--- firefox-102.0/third_party/libwebrtc/common_audio/wav_file.cc.big-endian-errors 2022-08-17 13:19:53.056891028 +0200
|
||||||
|
+++ firefox-102.0/third_party/libwebrtc/common_audio/wav_file.cc 2022-08-17 13:19:57.251879556 +0200
|
||||||
|
@@ -89,9 +89,6 @@ void WavReader::Reset() {
|
||||||
|
|
||||||
|
size_t WavReader::ReadSamples(const size_t num_samples,
|
||||||
|
int16_t* const samples) {
|
||||||
|
-#ifndef WEBRTC_ARCH_LITTLE_ENDIAN
|
||||||
|
-#error "Need to convert samples to big-endian when reading from WAV file"
|
||||||
|
-#endif
|
||||||
|
|
||||||
|
size_t num_samples_left_to_read = num_samples;
|
||||||
|
size_t next_chunk_start = 0;
|
||||||
|
@@ -129,9 +126,6 @@ size_t WavReader::ReadSamples(const size
|
||||||
|
}
|
||||||
|
|
||||||
|
size_t WavReader::ReadSamples(const size_t num_samples, float* const samples) {
|
||||||
|
-#ifndef WEBRTC_ARCH_LITTLE_ENDIAN
|
||||||
|
-#error "Need to convert samples to big-endian when reading from WAV file"
|
||||||
|
-#endif
|
||||||
|
|
||||||
|
size_t num_samples_left_to_read = num_samples;
|
||||||
|
size_t next_chunk_start = 0;
|
||||||
|
@@ -213,9 +207,6 @@ WavWriter::WavWriter(FileWrapper file,
|
||||||
|
}
|
||||||
|
|
||||||
|
void WavWriter::WriteSamples(const int16_t* samples, size_t num_samples) {
|
||||||
|
-#ifndef WEBRTC_ARCH_LITTLE_ENDIAN
|
||||||
|
-#error "Need to convert samples to little-endian when writing to WAV file"
|
||||||
|
-#endif
|
||||||
|
|
||||||
|
for (size_t i = 0; i < num_samples; i += kMaxChunksize) {
|
||||||
|
const size_t num_remaining_samples = num_samples - i;
|
||||||
|
@@ -243,9 +234,6 @@ void WavWriter::WriteSamples(const int16
|
||||||
|
}
|
||||||
|
|
||||||
|
void WavWriter::WriteSamples(const float* samples, size_t num_samples) {
|
||||||
|
-#ifndef WEBRTC_ARCH_LITTLE_ENDIAN
|
||||||
|
-#error "Need to convert samples to little-endian when writing to WAV file"
|
||||||
|
-#endif
|
||||||
|
|
||||||
|
for (size_t i = 0; i < num_samples; i += kMaxChunksize) {
|
||||||
|
const size_t num_remaining_samples = num_samples - i;
|
||||||
|
diff -up firefox-102.0/third_party/libwebrtc/common_audio/wav_header.cc.big-endian-errors firefox-102.0/third_party/libwebrtc/common_audio/wav_header.cc
|
||||||
|
--- firefox-102.0/third_party/libwebrtc/common_audio/wav_header.cc.big-endian-errors 2022-08-17 13:18:04.688187393 +0200
|
||||||
|
+++ firefox-102.0/third_party/libwebrtc/common_audio/wav_header.cc 2022-08-17 13:18:22.451138816 +0200
|
||||||
|
@@ -26,10 +26,6 @@
|
||||||
|
namespace webrtc {
|
||||||
|
namespace {
|
||||||
|
|
||||||
|
-#ifndef WEBRTC_ARCH_LITTLE_ENDIAN
|
||||||
|
-#error "Code not working properly for big endian platforms."
|
||||||
|
-#endif
|
||||||
|
-
|
||||||
|
#pragma pack(2)
|
||||||
|
struct ChunkHeader {
|
||||||
|
uint32_t ID;
|
@ -1,13 +0,0 @@
|
|||||||
diff -up firefox-55.0.3/js/src/jit/ExecutableAllocator.h.wasm firefox-55.0.3/js/src/jit/ExecutableAllocator.h
|
|
||||||
--- firefox-55.0.3/js/src/jit/ExecutableAllocator.h.wasm 2017-09-05 11:32:12.235909468 +0200
|
|
||||||
+++ firefox-55.0.3/js/src/jit/ExecutableAllocator.h 2017-09-05 11:32:46.157916575 +0200
|
|
||||||
@@ -219,7 +219,7 @@ class ExecutableAllocator
|
|
||||||
|
|
||||||
static void poisonCode(JSRuntime* rt, JitPoisonRangeVector& ranges);
|
|
||||||
|
|
||||||
-#if defined(JS_CODEGEN_X86) || defined(JS_CODEGEN_X64) || defined(JS_SIMULATOR_ARM64)
|
|
||||||
+#if defined(JS_CODEGEN_X86) || defined(JS_CODEGEN_X64) || defined(JS_SIMULATOR_ARM64) || defined(JS_CODEGEN_NONE)
|
|
||||||
static void cacheFlush(void*, size_t)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
diff -up firefox-55.0.3/js/src/jit-test/tests/wasm/bench/wasm_box2d.wasm firefox-55.0.3/js/src/jit-test/tests/wasm/bench/wasm_box2d
|
|
12
build-disable-elfhack.patch
Normal file
12
build-disable-elfhack.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -up firefox-115.2.0/toolkit/moz.configure.disable-elfhack firefox-115.2.0/toolkit/moz.configure
|
||||||
|
--- firefox-115.2.0/toolkit/moz.configure.disable-elfhack 2023-09-20 21:55:41.002788320 +0200
|
||||||
|
+++ firefox-115.2.0/toolkit/moz.configure 2023-09-20 21:56:37.343757245 +0200
|
||||||
|
@@ -1511,7 +1511,7 @@ with only_when("--enable-compile-environ
|
||||||
|
"Cannot enable elfhack with lld."
|
||||||
|
" Use --enable-linker=bfd, --enable-linker=gold, or --disable-elf-hack"
|
||||||
|
)
|
||||||
|
- return True
|
||||||
|
+ return False
|
||||||
|
|
||||||
|
set_config("USE_ELF_HACK", use_elf_hack)
|
||||||
|
|
@ -1,51 +0,0 @@
|
|||||||
diff -up firefox-55.0/js/src/jit/MIR.h.old firefox-55.0/js/src/jit/MIR.h
|
|
||||||
--- firefox-55.0/js/src/jit/MIR.h.old 2017-08-08 14:04:44.528460099 +0200
|
|
||||||
+++ firefox-55.0/js/src/jit/MIR.h 2017-08-08 14:05:11.045364831 +0200
|
|
||||||
@@ -12434,7 +12434,7 @@ class MNearbyInt
|
|
||||||
TRIVIAL_NEW_WRAPPERS
|
|
||||||
|
|
||||||
static bool HasAssemblerSupport(RoundingMode mode) {
|
|
||||||
- return Assembler::HasRoundInstruction(mode);
|
|
||||||
+ return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
RoundingMode roundingMode() const { return roundingMode_; }
|
|
||||||
diff -up firefox-55.0/js/src/jit/ExecutableAllocator.h.old firefox-55.0/js/src/jit/ExecutableAllocator.h
|
|
||||||
--- firefox-55.0/js/src/jit/ExecutableAllocator.h.old 2017-08-09 09:24:18.784983505 +0200
|
|
||||||
+++ firefox-55.0/js/src/jit/ExecutableAllocator.h 2017-08-09 09:28:01.471100075 +0200
|
|
||||||
@@ -307,6 +307,10 @@ class ExecutableAllocator
|
|
||||||
{
|
|
||||||
sync_instruction_memory((caddr_t)code, size);
|
|
||||||
}
|
|
||||||
+#else
|
|
||||||
+ static void cacheFlush(void*, size_t)
|
|
||||||
+ {
|
|
||||||
+ }
|
|
||||||
#endif
|
|
||||||
|
|
||||||
private:
|
|
||||||
diff -up firefox-55.0/js/src/wasm/WasmBuiltins.cpp.old firefox-55.0/js/src/wasm/WasmBuiltins.cpp
|
|
||||||
--- firefox-55.0/js/src/wasm/WasmBuiltins.cpp.old 2017-08-09 12:50:46.877450765 +0200
|
|
||||||
+++ firefox-55.0/js/src/wasm/WasmBuiltins.cpp 2017-08-09 12:50:59.725406974 +0200
|
|
||||||
@@ -881,7 +881,6 @@ wasm::EnsureBuiltinThunksInitialized()
|
|
||||||
MOZ_ASSERT(!masm.numSymbolicAccesses());
|
|
||||||
#endif
|
|
||||||
|
|
||||||
- ExecutableAllocator::cacheFlush(thunks->codeBase, thunks->codeSize);
|
|
||||||
if (!ExecutableAllocator::makeExecutable(thunks->codeBase, thunks->codeSize))
|
|
||||||
return false;
|
|
||||||
|
|
||||||
diff -up firefox-55.0/js/src/wasm/WasmCode.cpp.old firefox-55.0/js/src/wasm/WasmCode.cpp
|
|
||||||
--- firefox-55.0/js/src/wasm/WasmCode.cpp.old 2017-08-09 12:50:37.205483731 +0200
|
|
||||||
+++ firefox-55.0/js/src/wasm/WasmCode.cpp 2017-08-09 12:51:10.365370708 +0200
|
|
||||||
@@ -287,8 +287,6 @@ CodeSegment::initialize(Tier tier,
|
|
||||||
if (!StaticallyLink(*this, linkData))
|
|
||||||
return false;
|
|
||||||
|
|
||||||
- ExecutableAllocator::cacheFlush(bytes_.get(), RoundupCodeLength(codeLength));
|
|
||||||
-
|
|
||||||
// Reprotect the whole region to avoid having separate RW and RX mappings.
|
|
||||||
if (!ExecutableAllocator::makeExecutable(bytes_.get(), RoundupCodeLength(codeLength)))
|
|
||||||
return false;
|
|
||||||
diff -up firefox-55.0/media/libyuv/libyuv/tools_libyuv/autoroller/unittests/testdata/DEPS.chromium.old firefox-55.0/media/libyuv/libyuv/tools_libyuv/autoroller/unittests/testdata/DEPS.chromium
|
|
||||||
diff -up firefox-55.0/media/webrtc/trunk/Makefile.old firefox-55.0/media/webrtc/trunk/Makefile
|
|
12
build-ppc64-abiv2.patch
Normal file
12
build-ppc64-abiv2.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -up firefox-115.0.2/security/nss/lib/freebl/sha512-p8.s.ppc-abiv2 firefox-115.0.2/security/nss/lib/freebl/sha512-p8.s
|
||||||
|
--- firefox-115.0.2/security/nss/lib/freebl/sha512-p8.s.ppc-abiv2 2023-07-25 09:01:42.602375809 +0200
|
||||||
|
+++ firefox-115.0.2/security/nss/lib/freebl/sha512-p8.s 2023-07-25 09:01:48.273373924 +0200
|
||||||
|
@@ -3,7 +3,7 @@
|
||||||
|
# See the full LICENSE under scripts/.
|
||||||
|
|
||||||
|
.machine "any"
|
||||||
|
-.abiversion 2
|
||||||
|
+.abiversion 1
|
||||||
|
.text
|
||||||
|
|
||||||
|
.globl sha512_block_p8
|
11
build-rhel7-lower-node-min-version.patch
Normal file
11
build-rhel7-lower-node-min-version.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- firefox-115.8.0/python/mozbuild/mozbuild/nodeutil.py.lower-node-min-version 2024-02-12 21:53:56.000000000 +0200
|
||||||
|
+++ firefox-115.8.0/python/mozbuild/mozbuild/nodeutil.py 2024-02-14 16:48:12.476182627 +0200
|
||||||
|
@@ -13,7 +13,7 @@ from mozboot.util import get_tools_dir
|
||||||
|
from packaging.version import Version
|
||||||
|
from six import PY3
|
||||||
|
|
||||||
|
-NODE_MIN_VERSION = Version("12.22.12")
|
||||||
|
+NODE_MIN_VERSION = Version("10.24.0")
|
||||||
|
NPM_MIN_VERSION = Version("6.14.16")
|
||||||
|
|
||||||
|
|
12
build-rhel7-nasm-dwarf.patch
Normal file
12
build-rhel7-nasm-dwarf.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -up firefox-91.0.1/python/mozbuild/mozbuild/frontend/context.py.rhel7-nasm firefox-91.0.1/python/mozbuild/mozbuild/frontend/context.py
|
||||||
|
--- firefox-91.0.1/python/mozbuild/mozbuild/frontend/context.py.rhel7-nasm 2021-08-31 08:02:10.814740774 +0200
|
||||||
|
+++ firefox-91.0.1/python/mozbuild/mozbuild/frontend/context.py 2021-08-31 08:04:03.967146994 +0200
|
||||||
|
@@ -420,7 +420,7 @@ class AsmFlags(BaseCompileFlags):
|
||||||
|
if self._context.config.substs.get("OS_ARCH") == "WINNT":
|
||||||
|
debug_flags += ["-F", "cv8"]
|
||||||
|
elif self._context.config.substs.get("OS_ARCH") != "Darwin":
|
||||||
|
- debug_flags += ["-F", "dwarf"]
|
||||||
|
+ debug_flags += ["-f", "elf32"]
|
||||||
|
elif (
|
||||||
|
self._context.config.substs.get("OS_ARCH") == "WINNT"
|
||||||
|
and self._context.config.substs.get("CPU_ARCH") == "aarch64"
|
@ -1,25 +0,0 @@
|
|||||||
diff -up firefox-55.0/build/moz.configure/rust.configure.rust-ppc64le firefox-55.0/build/moz.configure/rust.configure
|
|
||||||
--- firefox-55.0/build/moz.configure/rust.configure.rust-ppc64le 2017-07-31 18:20:49.000000000 +0200
|
|
||||||
+++ firefox-55.0/build/moz.configure/rust.configure 2017-08-02 10:19:03.254220003 +0200
|
|
||||||
@@ -151,6 +151,9 @@ def rust_triple_alias(host_or_target):
|
|
||||||
('sparc64', 'Linux'): 'sparc64-unknown-linux-gnu',
|
|
||||||
('x86', 'Linux'): 'i686-unknown-linux-gnu',
|
|
||||||
('x86_64', 'Linux'): 'x86_64-unknown-linux-gnu',
|
|
||||||
+ ('ppc64le', 'Linux'): 'powerpc64le-unknown-linux-gnu',
|
|
||||||
+ ('ppc64', 'Linux'): 'powerpc64-unknown-linux-gnu',
|
|
||||||
+ ('s390x', 'Linux'): 's390x-unknown-linux-gnu',
|
|
||||||
# OS X
|
|
||||||
('x86', 'OSX'): 'i686-apple-darwin',
|
|
||||||
('x86_64', 'OSX'): 'x86_64-apple-darwin',
|
|
||||||
@@ -174,8 +177,10 @@ def rust_triple_alias(host_or_target):
|
|
||||||
('sparc64', 'SunOS'): 'sparcv9-sun-solaris',
|
|
||||||
}.get((host_or_target.cpu, os_or_kernel), None)
|
|
||||||
|
|
||||||
+ if (rustc_target == 'powerpc64-unknown-linux-gnu' and host_or_target.endianness == 'little'):
|
|
||||||
+ rustc_target = 'powerpc64le-unknown-linux-gnu'
|
|
||||||
if rustc_target is None:
|
|
||||||
- die("Don't know how to translate {} for rustc".format(host_or_target.alias))
|
|
||||||
+ die("Don't know how to translate {} for rustc, cpu: {}, os: {}".format(target.alias, target.cpu, os_or_kernel))
|
|
||||||
|
|
||||||
# Check to see whether our rustc has a reasonably functional stdlib
|
|
||||||
# for our chosen target.
|
|
@ -1,36 +0,0 @@
|
|||||||
diff -up firefox-121.0/toolkit/content/jar.mn.disable-openh264-download firefox-121.0/toolkit/content/jar.mn
|
|
||||||
--- firefox-121.0/toolkit/content/jar.mn.disable-openh264-download 2023-12-18 20:15:04.352014249 +0100
|
|
||||||
+++ firefox-121.0/toolkit/content/jar.mn 2023-12-18 20:19:26.857929200 +0100
|
|
||||||
@@ -130,7 +130,6 @@ toolkit.jar:
|
|
||||||
#ifdef XP_MACOSX
|
|
||||||
content/global/macWindowMenu.js
|
|
||||||
#endif
|
|
||||||
- content/global/gmp-sources/openh264.json (gmp-sources/openh264.json)
|
|
||||||
content/global/gmp-sources/widevinecdm.json (gmp-sources/widevinecdm.json)
|
|
||||||
content/global/gmp-sources/widevinecdm_l1.json (gmp-sources/widevinecdm_l1.json)
|
|
||||||
|
|
||||||
diff -up firefox-121.0/toolkit/modules/GMPInstallManager.sys.mjs.disable-openh264-download firefox-121.0/toolkit/modules/GMPInstallManager.sys.mjs
|
|
||||||
--- firefox-121.0/toolkit/modules/GMPInstallManager.sys.mjs.disable-openh264-download 2023-12-11 21:42:21.000000000 +0100
|
|
||||||
+++ firefox-121.0/toolkit/modules/GMPInstallManager.sys.mjs 2023-12-18 20:18:52.665768579 +0100
|
|
||||||
@@ -35,11 +35,6 @@ function getScopedLogger(prefix) {
|
|
||||||
|
|
||||||
const LOCAL_GMP_SOURCES = [
|
|
||||||
{
|
|
||||||
- id: "gmp-gmpopenh264",
|
|
||||||
- src: "chrome://global/content/gmp-sources/openh264.json",
|
|
||||||
- installByDefault: true,
|
|
||||||
- },
|
|
||||||
- {
|
|
||||||
id: "gmp-widevinecdm",
|
|
||||||
src: "chrome://global/content/gmp-sources/widevinecdm.json",
|
|
||||||
installByDefault: true,
|
|
||||||
@@ -421,6 +416,9 @@ GMPInstallManager.prototype = {
|
|
||||||
* downloaderr, verifyerr or previouserrorencountered
|
|
||||||
*/
|
|
||||||
installAddon(gmpAddon) {
|
|
||||||
+ if (gmpAddon.isOpenH264) {
|
|
||||||
+ return Promise.reject({ type: "disabled" });
|
|
||||||
+ }
|
|
||||||
if (this._deferred) {
|
|
||||||
let log = getScopedLogger("GMPInstallManager.installAddon");
|
|
||||||
log.error("previous error encountered");
|
|
242
disable-pipewire.patch
Normal file
242
disable-pipewire.patch
Normal file
@ -0,0 +1,242 @@
|
|||||||
|
diff --git a/dom/media/webrtc/third_party_build/webrtc.mozbuild b/dom/media/webrtc/third_party_build/webrtc.mozbuild
|
||||||
|
index 30169c36c2..335e3cb1a1 100644
|
||||||
|
--- a/dom/media/webrtc/third_party_build/webrtc.mozbuild
|
||||||
|
+++ b/dom/media/webrtc/third_party_build/webrtc.mozbuild
|
||||||
|
@@ -35,6 +35,3 @@ if CONFIG['MOZ_WEBRTC']:
|
||||||
|
|
||||||
|
if CONFIG['MOZ_X11']:
|
||||||
|
DEFINES['WEBRTC_USE_X11'] = True
|
||||||
|
-
|
||||||
|
- if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
|
||||||
|
- DEFINES['WEBRTC_USE_PIPEWIRE'] = True
|
||||||
|
diff --git a/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build b/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build
|
||||||
|
index 8c56b6b8e5..eaf8d7087a 100644
|
||||||
|
--- a/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build
|
||||||
|
+++ b/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build
|
||||||
|
@@ -232,102 +232,6 @@ if CONFIG["CPU_ARCH"] == "aarch64":
|
||||||
|
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||||
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
|
-if CONFIG["CPU_ARCH"] == "arm":
|
||||||
|
-
|
||||||
|
- CXXFLAGS += [
|
||||||
|
- "-mfpu=neon"
|
||||||
|
- ]
|
||||||
|
-
|
||||||
|
- DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||||
|
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
|
- DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
- DEFINES["WEBRTC_USE_PIPEWIRE"] = True
|
||||||
|
- DEFINES["_GNU_SOURCE"] = True
|
||||||
|
-
|
||||||
|
- LOCAL_INCLUDES += [
|
||||||
|
- "/gfx/angle/checkout/include/",
|
||||||
|
- "/third_party/drm/drm/",
|
||||||
|
- "/third_party/drm/drm/include/",
|
||||||
|
- "/third_party/drm/drm/include/libdrm/",
|
||||||
|
- "/third_party/gbm/gbm/",
|
||||||
|
- "/third_party/libepoxy/libepoxy/include/",
|
||||||
|
- "/third_party/pipewire/"
|
||||||
|
- ]
|
||||||
|
-
|
||||||
|
- SOURCES += [
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/base_capturer_pipewire.cc"
|
||||||
|
- ]
|
||||||
|
-
|
||||||
|
- UNIFIED_SOURCES += [
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/egl_dmabuf.cc",
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/mouse_cursor_monitor_pipewire.cc",
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/restore_token_manager.cc",
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc"
|
||||||
|
- ]
|
||||||
|
-
|
||||||
|
-if CONFIG["CPU_ARCH"] == "mips32":
|
||||||
|
-
|
||||||
|
- DEFINES["MIPS32_LE"] = True
|
||||||
|
- DEFINES["MIPS_FPU_LE"] = True
|
||||||
|
- DEFINES["WEBRTC_USE_PIPEWIRE"] = True
|
||||||
|
- DEFINES["_GNU_SOURCE"] = True
|
||||||
|
-
|
||||||
|
- LOCAL_INCLUDES += [
|
||||||
|
- "/gfx/angle/checkout/include/",
|
||||||
|
- "/third_party/drm/drm/",
|
||||||
|
- "/third_party/drm/drm/include/",
|
||||||
|
- "/third_party/drm/drm/include/libdrm/",
|
||||||
|
- "/third_party/gbm/gbm/",
|
||||||
|
- "/third_party/libepoxy/libepoxy/include/",
|
||||||
|
- "/third_party/pipewire/"
|
||||||
|
- ]
|
||||||
|
-
|
||||||
|
- SOURCES += [
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/base_capturer_pipewire.cc"
|
||||||
|
- ]
|
||||||
|
-
|
||||||
|
- UNIFIED_SOURCES += [
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/egl_dmabuf.cc",
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/mouse_cursor_monitor_pipewire.cc",
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/restore_token_manager.cc",
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc"
|
||||||
|
- ]
|
||||||
|
-
|
||||||
|
-if CONFIG["CPU_ARCH"] == "mips64":
|
||||||
|
-
|
||||||
|
- DEFINES["WEBRTC_USE_PIPEWIRE"] = True
|
||||||
|
- DEFINES["_GNU_SOURCE"] = True
|
||||||
|
-
|
||||||
|
- LOCAL_INCLUDES += [
|
||||||
|
- "/gfx/angle/checkout/include/",
|
||||||
|
- "/third_party/drm/drm/",
|
||||||
|
- "/third_party/drm/drm/include/",
|
||||||
|
- "/third_party/drm/drm/include/libdrm/",
|
||||||
|
- "/third_party/gbm/gbm/",
|
||||||
|
- "/third_party/libepoxy/libepoxy/include/",
|
||||||
|
- "/third_party/pipewire/"
|
||||||
|
- ]
|
||||||
|
-
|
||||||
|
- SOURCES += [
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/base_capturer_pipewire.cc"
|
||||||
|
- ]
|
||||||
|
-
|
||||||
|
- UNIFIED_SOURCES += [
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/egl_dmabuf.cc",
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/mouse_cursor_monitor_pipewire.cc",
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/restore_token_manager.cc",
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc"
|
||||||
|
- ]
|
||||||
|
-
|
||||||
|
if CONFIG["CPU_ARCH"] == "ppc64":
|
||||||
|
|
||||||
|
DEFINES["USE_X11"] = "1"
|
||||||
|
@@ -410,97 +314,6 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||||
|
|
||||||
|
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||||
|
|
||||||
|
-if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
-
|
||||||
|
- DEFINES["WEBRTC_USE_PIPEWIRE"] = True
|
||||||
|
- DEFINES["_GNU_SOURCE"] = True
|
||||||
|
-
|
||||||
|
- LOCAL_INCLUDES += [
|
||||||
|
- "/gfx/angle/checkout/include/",
|
||||||
|
- "/third_party/drm/drm/",
|
||||||
|
- "/third_party/drm/drm/include/",
|
||||||
|
- "/third_party/drm/drm/include/libdrm/",
|
||||||
|
- "/third_party/gbm/gbm/",
|
||||||
|
- "/third_party/libepoxy/libepoxy/include/",
|
||||||
|
- "/third_party/pipewire/"
|
||||||
|
- ]
|
||||||
|
-
|
||||||
|
- SOURCES += [
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/base_capturer_pipewire.cc"
|
||||||
|
- ]
|
||||||
|
-
|
||||||
|
- UNIFIED_SOURCES += [
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/egl_dmabuf.cc",
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/mouse_cursor_monitor_pipewire.cc",
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/restore_token_manager.cc",
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc"
|
||||||
|
- ]
|
||||||
|
-
|
||||||
|
-if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
-
|
||||||
|
- CXXFLAGS += [
|
||||||
|
- "-msse2"
|
||||||
|
- ]
|
||||||
|
-
|
||||||
|
- DEFINES["WEBRTC_USE_PIPEWIRE"] = True
|
||||||
|
- DEFINES["_GNU_SOURCE"] = True
|
||||||
|
-
|
||||||
|
- LOCAL_INCLUDES += [
|
||||||
|
- "/gfx/angle/checkout/include/",
|
||||||
|
- "/third_party/drm/drm/",
|
||||||
|
- "/third_party/drm/drm/include/",
|
||||||
|
- "/third_party/drm/drm/include/libdrm/",
|
||||||
|
- "/third_party/gbm/gbm/",
|
||||||
|
- "/third_party/libepoxy/libepoxy/include/",
|
||||||
|
- "/third_party/pipewire/"
|
||||||
|
- ]
|
||||||
|
-
|
||||||
|
- SOURCES += [
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/base_capturer_pipewire.cc"
|
||||||
|
- ]
|
||||||
|
-
|
||||||
|
- UNIFIED_SOURCES += [
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/egl_dmabuf.cc",
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/mouse_cursor_monitor_pipewire.cc",
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/restore_token_manager.cc",
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc"
|
||||||
|
- ]
|
||||||
|
-
|
||||||
|
-if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
-
|
||||||
|
- DEFINES["WEBRTC_USE_PIPEWIRE"] = True
|
||||||
|
- DEFINES["_GNU_SOURCE"] = True
|
||||||
|
-
|
||||||
|
- LOCAL_INCLUDES += [
|
||||||
|
- "/gfx/angle/checkout/include/",
|
||||||
|
- "/third_party/drm/drm/",
|
||||||
|
- "/third_party/drm/drm/include/",
|
||||||
|
- "/third_party/drm/drm/include/libdrm/",
|
||||||
|
- "/third_party/gbm/gbm/",
|
||||||
|
- "/third_party/libepoxy/libepoxy/include/",
|
||||||
|
- "/third_party/pipewire/"
|
||||||
|
- ]
|
||||||
|
-
|
||||||
|
- SOURCES += [
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/base_capturer_pipewire.cc"
|
||||||
|
- ]
|
||||||
|
-
|
||||||
|
- UNIFIED_SOURCES += [
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/egl_dmabuf.cc",
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/mouse_cursor_monitor_pipewire.cc",
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/restore_token_manager.cc",
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
|
||||||
|
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc"
|
||||||
|
- ]
|
||||||
|
-
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["USE_X11"] = "1"
|
||||||
|
diff --git a/third_party/libwebrtc/modules/portal/portal_gn/moz.build b/third_party/libwebrtc/modules/portal/portal_gn/moz.build
|
||||||
|
index 77603c780b..e6f2c9e724 100644
|
||||||
|
--- a/third_party/libwebrtc/modules/portal/portal_gn/moz.build
|
||||||
|
+++ b/third_party/libwebrtc/modules/portal/portal_gn/moz.build
|
||||||
|
@@ -26,7 +26,7 @@ DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||||
|
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||||
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
|
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
|
||||||
|
-DEFINES["WEBRTC_USE_PIPEWIRE"] = True
|
||||||
|
+DEFINES["WEBRTC_USE_PIPEWIRE"] = False
|
||||||
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
|
diff --git a/third_party/libwebrtc/third_party/pipewire/pipewire_gn/moz.build b/third_party/libwebrtc/third_party/pipewire/pipewire_gn/moz.build
|
||||||
|
index 86a0daf8fa..e895f2eb15 100644
|
||||||
|
--- a/third_party/libwebrtc/third_party/pipewire/pipewire_gn/moz.build
|
||||||
|
+++ b/third_party/libwebrtc/third_party/pipewire/pipewire_gn/moz.build
|
||||||
|
@@ -24,7 +24,7 @@ DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||||
|
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||||
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
|
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
|
||||||
|
-DEFINES["WEBRTC_USE_PIPEWIRE"] = True
|
||||||
|
+DEFINES["WEBRTC_USE_PIPEWIRE"] = False
|
||||||
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
@ -1,31 +0,0 @@
|
|||||||
diff -up firefox-120.0/toolkit/xre/nsAppRunner.cpp.fedora-customization firefox-120.0/toolkit/xre/nsAppRunner.cpp
|
|
||||||
--- firefox-120.0/toolkit/xre/nsAppRunner.cpp.fedora-customization 2023-11-13 21:48:38.000000000 +0100
|
|
||||||
+++ firefox-120.0/toolkit/xre/nsAppRunner.cpp 2023-11-14 10:39:13.001603081 +0100
|
|
||||||
@@ -5765,6 +5765,12 @@ int XREMain::XRE_main(int argc, char* ar
|
|
||||||
if (!mAppData->remotingName) {
|
|
||||||
mAppData->remotingName = mAppData->name;
|
|
||||||
}
|
|
||||||
+
|
|
||||||
+ const char* appRemotingName = getenv("MOZ_APP_REMOTINGNAME");
|
|
||||||
+ if (appRemotingName) {
|
|
||||||
+ mAppData->remotingName = strdup(appRemotingName);
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
// used throughout this file
|
|
||||||
gAppData = mAppData.get();
|
|
||||||
|
|
||||||
diff -up firefox-120.0/widget/gtk/nsWindow.cpp.fedora-customization firefox-120.0/widget/gtk/nsWindow.cpp
|
|
||||||
--- firefox-120.0/widget/gtk/nsWindow.cpp.fedora-customization 2023-11-14 10:39:13.003603150 +0100
|
|
||||||
+++ firefox-120.0/widget/gtk/nsWindow.cpp 2023-11-14 10:41:06.339532735 +0100
|
|
||||||
@@ -3457,6 +3457,11 @@ void* nsWindow::GetNativeData(uint32_t a
|
|
||||||
nsresult nsWindow::SetTitle(const nsAString& aTitle) {
|
|
||||||
if (!mShell) return NS_OK;
|
|
||||||
|
|
||||||
+ const char* appTitle = getenv("MOZ_APP_TITLE");
|
|
||||||
+ if (appTitle) {
|
|
||||||
+ gtk_window_set_title(GTK_WINDOW(mShell), appTitle);
|
|
||||||
+ return NS_OK;
|
|
||||||
+ }
|
|
||||||
// convert the string into utf8 and set the title.
|
|
||||||
#define UTF8_FOLLOWBYTE(ch) (((ch) & 0xC0) == 0x80)
|
|
||||||
NS_ConvertUTF16toUTF8 titleUTF8(aTitle);
|
|
@ -1,76 +0,0 @@
|
|||||||
--- firefox-111.0.1/build/moz.configure/rust.configure 2023-03-21 06:16:03.000000000 -0700
|
|
||||||
+++ firefox-111.0.1/build/moz.configure/rust.configure.new 2023-04-05 08:57:29.403219120 -0700
|
|
||||||
@@ -593,7 +593,7 @@
|
|
||||||
|
|
||||||
# ==============================================================
|
|
||||||
|
|
||||||
-option(env="RUSTFLAGS", nargs=1, help="Rust compiler flags")
|
|
||||||
+option(env="RUSTFLAGS", nargs=1, help="Rust compiler flags", comma_split=False)
|
|
||||||
set_config("RUSTFLAGS", depends("RUSTFLAGS")(lambda flags: flags))
|
|
||||||
|
|
||||||
|
|
||||||
--- firefox-111.0.1/python/mozbuild/mozbuild/configure/options.py 2023-03-21 06:16:09.000000000 -0700
|
|
||||||
+++ firefox-111.0.1/python/mozbuild/mozbuild/configure/options.py.new 2023-04-05 08:57:31.270193468 -0700
|
|
||||||
@@ -191,6 +191,10 @@
|
|
||||||
to instantiate an option indirectly. Set this to a positive integer to
|
|
||||||
force the script to look into a deeper stack frame when inferring the
|
|
||||||
`category`.
|
|
||||||
+ - `comma_split` specifies whether the value string should be split on
|
|
||||||
+ commas. The default is True. Setting it False is necessary for things
|
|
||||||
+ like compiler flags which should be a single string that may contain
|
|
||||||
+ commas.
|
|
||||||
"""
|
|
||||||
|
|
||||||
__slots__ = (
|
|
||||||
@@ -205,6 +209,7 @@
|
|
||||||
"possible_origins",
|
|
||||||
"category",
|
|
||||||
"define_depth",
|
|
||||||
+ "comma_split",
|
|
||||||
)
|
|
||||||
|
|
||||||
def __init__(
|
|
||||||
@@ -218,6 +223,7 @@
|
|
||||||
category=None,
|
|
||||||
help=None,
|
|
||||||
define_depth=0,
|
|
||||||
+ comma_split=True,
|
|
||||||
):
|
|
||||||
if not name and not env:
|
|
||||||
raise InvalidOptionError(
|
|
||||||
@@ -335,9 +341,10 @@
|
|
||||||
self.choices = choices
|
|
||||||
self.help = help
|
|
||||||
self.category = category or _infer_option_category(define_depth)
|
|
||||||
+ self.comma_split = comma_split
|
|
||||||
|
|
||||||
@staticmethod
|
|
||||||
- def split_option(option):
|
|
||||||
+ def split_option(option, comma_split=True):
|
|
||||||
"""Split a flag or variable into a prefix, a name and values
|
|
||||||
|
|
||||||
Variables come in the form NAME=values (no prefix).
|
|
||||||
@@ -350,7 +357,13 @@
|
|
||||||
|
|
||||||
elements = option.split("=", 1)
|
|
||||||
name = elements[0]
|
|
||||||
- values = tuple(elements[1].split(",")) if len(elements) == 2 else ()
|
|
||||||
+ if len(elements) == 2:
|
|
||||||
+ if comma_split:
|
|
||||||
+ values = tuple(elements[1].split(","))
|
|
||||||
+ else:
|
|
||||||
+ values = (elements[1],)
|
|
||||||
+ else:
|
|
||||||
+ values = ()
|
|
||||||
if name.startswith("--"):
|
|
||||||
name = name[2:]
|
|
||||||
if not name.islower():
|
|
||||||
@@ -426,7 +439,7 @@
|
|
||||||
% (option, origin, ", ".join(self.possible_origins))
|
|
||||||
)
|
|
||||||
|
|
||||||
- prefix, name, values = self.split_option(option)
|
|
||||||
+ prefix, name, values = self.split_option(option, self.comma_split)
|
|
||||||
option = self._join_option(prefix, name)
|
|
||||||
|
|
||||||
assert name in (self.name, self.env)
|
|
@ -1,18 +0,0 @@
|
|||||||
diff -up firefox-117.0/widget/gtk/GfxInfo.cpp.firefox-enable-vaapi firefox-117.0/widget/gtk/GfxInfo.cpp
|
|
||||||
--- firefox-117.0/widget/gtk/GfxInfo.cpp.firefox-enable-vaapi 2023-08-28 11:20:54.324211945 +0200
|
|
||||||
+++ firefox-117.0/widget/gtk/GfxInfo.cpp 2023-08-28 11:24:01.700666843 +0200
|
|
||||||
@@ -1095,14 +1095,6 @@ const nsTArray<GfxDriverInfo>& GfxInfo::
|
|
||||||
nsIGfxInfo::FEATURE_BLOCKED_DEVICE, DRIVER_LESS_THAN, V(23, 1, 1, 0),
|
|
||||||
"FEATURE_HARDWARE_VIDEO_DECODING_AMD_DISABLE", "Mesa 23.1.1.0");
|
|
||||||
|
|
||||||
- // Disable on Release/late Beta on AMD
|
|
||||||
-#if !defined(EARLY_BETA_OR_EARLIER)
|
|
||||||
- APPEND_TO_DRIVER_BLOCKLIST(OperatingSystem::Linux, DeviceFamily::AtiAll,
|
|
||||||
- nsIGfxInfo::FEATURE_HARDWARE_VIDEO_DECODING,
|
|
||||||
- nsIGfxInfo::FEATURE_BLOCKED_DEVICE,
|
|
||||||
- DRIVER_COMPARISON_IGNORED, V(0, 0, 0, 0),
|
|
||||||
- "FEATURE_HARDWARE_VIDEO_DECODING_DISABLE", "");
|
|
||||||
-#endif
|
|
||||||
////////////////////////////////////
|
|
||||||
// FEATURE_HW_DECODED_VIDEO_ZERO_COPY - ALLOWLIST
|
|
||||||
APPEND_TO_DRIVER_BLOCKLIST2(OperatingSystem::Linux, DeviceFamily::All,
|
|
@ -1,24 +0,0 @@
|
|||||||
--- firefox-109.0.1/gfx/2d/Rect.h.old 2023-02-07 09:44:24.946279843 +0100
|
|
||||||
+++ firefox-109.0.1/gfx/2d/Rect.h 2023-02-07 09:44:47.969032049 +0100
|
|
||||||
@@ -324,8 +324,8 @@ IntRectTyped<Units> RoundedToInt(const R
|
|
||||||
|
|
||||||
template <class Units>
|
|
||||||
bool RectIsInt32Safe(const RectTyped<Units>& aRect) {
|
|
||||||
- float min = (float)std::numeric_limits<std::int32_t>::min();
|
|
||||||
- float max = (float)std::numeric_limits<std::int32_t>::max();
|
|
||||||
+ float min = (float)std::numeric_limits<int32_t>::min();
|
|
||||||
+ float max = (float)std::numeric_limits<int32_t>::max();
|
|
||||||
return aRect.x > min && aRect.y > min && aRect.width < max &&
|
|
||||||
aRect.height < max && aRect.XMost() < max && aRect.YMost() < max;
|
|
||||||
}
|
|
||||||
diff -up firefox-109.0.1/toolkit/components/telemetry/pingsender/pingsender.cpp.old firefox-109.0.1/toolkit/components/telemetry/pingsender/pingsender.cpp
|
|
||||||
--- firefox-109.0.1/toolkit/components/telemetry/pingsender/pingsender.cpp.old 2023-02-07 11:03:41.788720090 +0100
|
|
||||||
+++ firefox-109.0.1/toolkit/components/telemetry/pingsender/pingsender.cpp 2023-02-07 11:04:29.195345659 +0100
|
|
||||||
@@ -10,6 +10,7 @@
|
|
||||||
#include <iomanip>
|
|
||||||
#include <string>
|
|
||||||
#include <vector>
|
|
||||||
+#include <cstdint>
|
|
||||||
|
|
||||||
#include <zlib.h>
|
|
||||||
|
|
@ -1,14 +0,0 @@
|
|||||||
diff -up firefox-114.0.2/gfx/wr/swgl/src/gl.cc.inline firefox-114.0.2/gfx/wr/swgl/src/gl.cc
|
|
||||||
--- firefox-114.0.2/gfx/wr/swgl/src/gl.cc.inline 2023-06-22 11:08:53.294593327 +0200
|
|
||||||
+++ firefox-114.0.2/gfx/wr/swgl/src/gl.cc 2023-06-22 11:12:43.663486734 +0200
|
|
||||||
@@ -58,9 +58,7 @@ WINBASEAPI BOOL WINAPI QueryPerformanceF
|
|
||||||
}
|
|
||||||
|
|
||||||
#else
|
|
||||||
-// GCC is slower when dealing with always_inline, especially in debug builds.
|
|
||||||
-// When using Clang, use always_inline more aggressively.
|
|
||||||
-# if defined(__clang__) || defined(NDEBUG)
|
|
||||||
+# if defined(__clang__) || defined (__GNUC__) || defined(NDEBUG)
|
|
||||||
# define ALWAYS_INLINE __attribute__((always_inline)) inline
|
|
||||||
# else
|
|
||||||
# define ALWAYS_INLINE inline
|
|
@ -1,64 +0,0 @@
|
|||||||
diff -ur firefox-90.0.orig/js/xpconnect/src/XPCJSContext.cpp firefox-90.0/js/xpconnect/src/XPCJSContext.cpp
|
|
||||||
--- firefox-90.0.orig/js/xpconnect/src/XPCJSContext.cpp 2021-07-05 21:16:02.000000000 +0200
|
|
||||||
+++ firefox-90.0/js/xpconnect/src/XPCJSContext.cpp 2021-07-19 15:01:24.083460460 +0200
|
|
||||||
@@ -85,14 +85,6 @@
|
|
||||||
using namespace xpc;
|
|
||||||
using namespace JS;
|
|
||||||
|
|
||||||
-// The watchdog thread loop is pretty trivial, and should not require much stack
|
|
||||||
-// space to do its job. So only give it 32KiB or the platform minimum.
|
|
||||||
-#if !defined(PTHREAD_STACK_MIN)
|
|
||||||
-# define PTHREAD_STACK_MIN 0
|
|
||||||
-#endif
|
|
||||||
-static constexpr size_t kWatchdogStackSize =
|
|
||||||
- PTHREAD_STACK_MIN < 32 * 1024 ? 32 * 1024 : PTHREAD_STACK_MIN;
|
|
||||||
-
|
|
||||||
static void WatchdogMain(void* arg);
|
|
||||||
class Watchdog;
|
|
||||||
class WatchdogManager;
|
|
||||||
@@ -163,7 +155,7 @@
|
|
||||||
// watchdog, we need to join it on shutdown.
|
|
||||||
mThread = PR_CreateThread(PR_USER_THREAD, WatchdogMain, this,
|
|
||||||
PR_PRIORITY_NORMAL, PR_GLOBAL_THREAD,
|
|
||||||
- PR_JOINABLE_THREAD, kWatchdogStackSize);
|
|
||||||
+ PR_JOINABLE_THREAD, 0);
|
|
||||||
if (!mThread) {
|
|
||||||
MOZ_CRASH("PR_CreateThread failed!");
|
|
||||||
}
|
|
||||||
Only in firefox-90.0/js/xpconnect/src: XPCJSContext.cpp.firefox-glibc-dynstack
|
|
||||||
diff -ur firefox-90.0.orig/security/sandbox/linux/launch/SandboxLaunch.cpp firefox-90.0/security/sandbox/linux/launch/SandboxLaunch.cpp
|
|
||||||
--- firefox-90.0.orig/security/sandbox/linux/launch/SandboxLaunch.cpp 2021-07-05 18:20:36.000000000 +0200
|
|
||||||
+++ firefox-90.0/security/sandbox/linux/launch/SandboxLaunch.cpp 2021-07-20 08:39:17.272136982 +0200
|
|
||||||
@@ -501,8 +501,7 @@
|
|
||||||
MOZ_NEVER_INLINE MOZ_ASAN_BLACKLIST static pid_t DoClone(int aFlags,
|
|
||||||
jmp_buf* aCtx) {
|
|
||||||
static constexpr size_t kStackAlignment = 16;
|
|
||||||
- uint8_t miniStack[PTHREAD_STACK_MIN]
|
|
||||||
- __attribute__((aligned(kStackAlignment)));
|
|
||||||
+ uint8_t miniStack[4096] __attribute__((aligned(kStackAlignment)));
|
|
||||||
#ifdef __hppa__
|
|
||||||
void* stackPtr = miniStack;
|
|
||||||
#else
|
|
||||||
@@ -523,13 +522,19 @@
|
|
||||||
CLONE_CHILD_CLEARTID;
|
|
||||||
MOZ_RELEASE_ASSERT((aFlags & kBadFlags) == 0);
|
|
||||||
|
|
||||||
+ // Block signals due to small stack in DoClone.
|
|
||||||
+ sigset_t oldSigs;
|
|
||||||
+ BlockAllSignals(&oldSigs);
|
|
||||||
+
|
|
||||||
+ int ret = 0;
|
|
||||||
jmp_buf ctx;
|
|
||||||
if (setjmp(ctx) == 0) {
|
|
||||||
// In the parent and just called setjmp:
|
|
||||||
- return DoClone(aFlags | SIGCHLD, &ctx);
|
|
||||||
+ ret = DoClone(aFlags | SIGCHLD, &ctx);
|
|
||||||
}
|
|
||||||
+ RestoreSignals(&oldSigs);
|
|
||||||
// In the child and have longjmp'ed:
|
|
||||||
- return 0;
|
|
||||||
+ return ret;
|
|
||||||
}
|
|
||||||
|
|
||||||
static bool WriteStringToFile(const char* aPath, const char* aStr,
|
|
||||||
Only in firefox-90.0/security/sandbox/linux/launch: SandboxLaunch.cpp~
|
|
@ -1,12 +0,0 @@
|
|||||||
diff -up firefox-105.0/mozglue/misc/SIMD_avx2.cpp.old firefox-105.0/mozglue/misc/SIMD_avx2.cpp
|
|
||||||
--- firefox-105.0/mozglue/misc/SIMD_avx2.cpp.old 2022-09-22 21:35:07.006221995 +0200
|
|
||||||
+++ firefox-105.0/mozglue/misc/SIMD_avx2.cpp 2022-09-22 21:36:12.972480517 +0200
|
|
||||||
@@ -55,7 +55,7 @@ __m256i CmpEq256(__m256i a, __m256i b) {
|
|
||||||
return _mm256_cmpeq_epi64(a, b);
|
|
||||||
}
|
|
||||||
|
|
||||||
-# if defined(__GNUC__) && !defined(__clang__)
|
|
||||||
+# if 0
|
|
||||||
|
|
||||||
// See the comment in SIMD.cpp over Load32BitsIntoXMM. This is just adapted
|
|
||||||
// from that workaround. Testing this, it also yields the correct instructions
|
|
@ -1,25 +1,29 @@
|
|||||||
. $topsrcdir/browser/config/mozconfig
|
. $topsrcdir/browser/config/mozconfig
|
||||||
|
|
||||||
ac_add_options --with-system-zlib
|
|
||||||
ac_add_options --disable-strip
|
|
||||||
ac_add_options --enable-necko-wifi
|
|
||||||
ac_add_options --disable-updater
|
|
||||||
ac_add_options --enable-chrome-format=omni
|
|
||||||
ac_add_options --enable-pulseaudio
|
|
||||||
ac_add_options --enable-av1
|
|
||||||
ac_add_options --without-system-icu
|
|
||||||
ac_add_options --enable-release
|
|
||||||
ac_add_options --update-channel=release
|
|
||||||
ac_add_options --allow-addon-sideload
|
ac_add_options --allow-addon-sideload
|
||||||
ac_add_options --with-system-fdk-aac
|
ac_add_options --disable-crashreporter
|
||||||
|
ac_add_options --disable-strip
|
||||||
|
ac_add_options --disable-updater
|
||||||
|
ac_add_options --enable-av1
|
||||||
|
ac_add_options --enable-chrome-format=omni
|
||||||
ac_add_options --enable-js-shell
|
ac_add_options --enable-js-shell
|
||||||
ac_add_options --with-unsigned-addon-scopes=app,system
|
ac_add_options --enable-necko-wifi
|
||||||
|
ac_add_options --enable-official-branding
|
||||||
|
ac_add_options --enable-pulseaudio
|
||||||
|
ac_add_options --enable-release
|
||||||
|
ac_add_options --enable-system-ffi
|
||||||
ac_add_options --without-sysroot
|
ac_add_options --without-sysroot
|
||||||
|
ac_add_options --without-system-icu
|
||||||
ac_add_options --without-wasm-sandboxed-libraries
|
ac_add_options --without-wasm-sandboxed-libraries
|
||||||
|
ac_add_options --with-system-jpeg
|
||||||
|
ac_add_options --with-system-zlib
|
||||||
|
ac_add_options --with-unsigned-addon-scopes=app,system
|
||||||
|
|
||||||
export BUILD_OFFICIAL=1
|
export BUILD_OFFICIAL=1
|
||||||
export MOZILLA_OFFICIAL=1
|
export MOZILLA_OFFICIAL=1
|
||||||
export MOZ_TELEMETRY_REPORTING=1
|
export MOZ_TELEMETRY_REPORTING=1
|
||||||
|
export MOZ_UPDATE_CHANNEL=release
|
||||||
|
export MOZ_APP_REMOTINGNAME=firefox
|
||||||
mk_add_options BUILD_OFFICIAL=1
|
mk_add_options BUILD_OFFICIAL=1
|
||||||
mk_add_options MOZILLA_OFFICIAL=1
|
mk_add_options MOZILLA_OFFICIAL=1
|
||||||
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir
|
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
diff -up firefox-84.0.1/build/moz.configure/nss.configure.nss-version firefox-84.0.1/build/moz.configure/nss.configure
|
|
||||||
--- firefox-84.0.1/build/moz.configure/nss.configure.nss-version 2020-12-21 20:07:33.000000000 +0100
|
|
||||||
+++ firefox-84.0.1/build/moz.configure/nss.configure 2020-12-22 10:23:02.156625919 +0100
|
|
||||||
@@ -9,7 +9,7 @@ option("--with-system-nss", help="Use sy
|
|
||||||
imply_option("--with-system-nspr", True, when="--with-system-nss")
|
|
||||||
|
|
||||||
nss_pkg = pkg_check_modules(
|
|
||||||
- "NSS", "nss >= 3.59.1", when="--with-system-nss", config=False
|
|
||||||
+ "NSS", "nss >= 3.59", when="--with-system-nss", config=False
|
|
||||||
)
|
|
||||||
|
|
||||||
set_config("MOZ_SYSTEM_NSS", True, when="--with-system-nss")
|
|
@ -14,11 +14,10 @@ pref("browser.shell.checkDefaultBrowser", false);
|
|||||||
pref("network.manage-offline-status", true);
|
pref("network.manage-offline-status", true);
|
||||||
pref("extensions.shownSelectionUI", true);
|
pref("extensions.shownSelectionUI", true);
|
||||||
pref("ui.SpellCheckerUnderlineStyle", 1);
|
pref("ui.SpellCheckerUnderlineStyle", 1);
|
||||||
pref("startup.homepage_override_url", "");
|
pref("startup.homepage_override_url", "%HOMEPAGE%");
|
||||||
pref("browser.startup.homepage", "data:text/plain,browser.startup.homepage=https://start.fedoraproject.org/");
|
pref("startup.homepage_welcome_url", "%HOMEPAGE%");
|
||||||
pref("browser.newtabpage.pinned", '[{"url":"https://start.fedoraproject.org/","title":"Fedora Project - Start Page"}]');
|
pref("browser.startup.homepage", "data:text/plain,browser.startup.homepage=file:///%PREFIX%/share/doc/HTML/index.html");
|
||||||
pref("media.gmp-gmpopenh264.provider.enabled",false);
|
pref("media.gmp-gmpopenh264.autoupdate",true);
|
||||||
pref("media.gmp-gmpopenh264.autoupdate",false);
|
|
||||||
pref("media.gmp-gmpopenh264.enabled",false);
|
pref("media.gmp-gmpopenh264.enabled",false);
|
||||||
pref("media.gmp.decoder.enabled", true);
|
pref("media.gmp.decoder.enabled", true);
|
||||||
pref("plugins.notifyMissingFlash", false);
|
pref("plugins.notifyMissingFlash", false);
|
||||||
@ -26,7 +25,8 @@ pref("plugins.notifyMissingFlash", false);
|
|||||||
pref("browser.display.use_system_colors", false);
|
pref("browser.display.use_system_colors", false);
|
||||||
/* Allow sending credetials to all https:// sites */
|
/* Allow sending credetials to all https:// sites */
|
||||||
pref("network.negotiate-auth.trusted-uris", "https://");
|
pref("network.negotiate-auth.trusted-uris", "https://");
|
||||||
pref("spellchecker.dictionary_path","/usr/share/hunspell");
|
pref("security.use_sqldb", false);
|
||||||
|
pref("spellchecker.dictionary_path","/usr/share/myspell");
|
||||||
/* Disable DoH by default */
|
/* Disable DoH by default */
|
||||||
pref("network.trr.mode", 5);
|
pref("network.trr.mode", 5);
|
||||||
/* Enable per-user policy dir, see mozbz#1583466 */
|
/* Enable per-user policy dir, see mozbz#1583466 */
|
||||||
@ -34,3 +34,5 @@ pref("browser.policies.perUserDir", true);
|
|||||||
pref("browser.gnome-search-provider.enabled",true);
|
pref("browser.gnome-search-provider.enabled",true);
|
||||||
/* Enable ffvpx playback for WebRTC */
|
/* Enable ffvpx playback for WebRTC */
|
||||||
pref("media.navigator.mediadatadecoder_vpx_enabled", true);
|
pref("media.navigator.mediadatadecoder_vpx_enabled", true);
|
||||||
|
/* See https://bugzilla.redhat.com/show_bug.cgi?id=1672424 */
|
||||||
|
pref("storage.nfs_filesystem", true);
|
||||||
|
5
firefox-search-provider.ini
Normal file
5
firefox-search-provider.ini
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
[Shell Search Provider]
|
||||||
|
DesktopId=firefox.desktop
|
||||||
|
BusName=org.mozilla.Firefox.SearchProvider
|
||||||
|
ObjectPath=/org/mozilla/Firefox/SearchProvider
|
||||||
|
Version=2
|
@ -1,69 +0,0 @@
|
|||||||
diff -up firefox-96.0.1/docshell/base/crashtests/crashtests.list.testing firefox-96.0.1/docshell/base/crashtests/crashtests.list
|
|
||||||
--- firefox-96.0.1/docshell/base/crashtests/crashtests.list.testing 2022-01-13 20:26:02.000000000 +0100
|
|
||||||
+++ firefox-96.0.1/docshell/base/crashtests/crashtests.list 2022-01-18 10:42:02.642971427 +0100
|
|
||||||
@@ -13,7 +13,6 @@ load 614499-1.html
|
|
||||||
load 678872-1.html
|
|
||||||
skip-if(Android) pref(dom.disable_open_during_load,false) load 914521.html # Android bug 1584562
|
|
||||||
pref(browser.send_pings,true) asserts(0-2) load 1257730-1.html # bug 566159
|
|
||||||
-load 1331295.html
|
|
||||||
load 1341657.html
|
|
||||||
load 1584467.html
|
|
||||||
load 1614211-1.html
|
|
||||||
diff -up firefox-96.0.1/dom/media/tests/crashtests/crashtests.list.testing firefox-96.0.1/dom/media/tests/crashtests/crashtests.list
|
|
||||||
--- firefox-96.0.1/dom/media/tests/crashtests/crashtests.list.testing 2022-01-13 20:26:03.000000000 +0100
|
|
||||||
+++ firefox-96.0.1/dom/media/tests/crashtests/crashtests.list 2022-01-18 10:42:02.642971427 +0100
|
|
||||||
@@ -25,7 +25,6 @@ asserts-if(Android,0-1) pref(browser.lin
|
|
||||||
load 1443212.html
|
|
||||||
asserts-if(Android,0-2) load 1453030.html
|
|
||||||
load 1468451.html
|
|
||||||
-skip-if(Android) load 1490700.html # No screenshare on Android
|
|
||||||
load 1505957.html
|
|
||||||
load 1509442.html
|
|
||||||
load 1511130.html
|
|
||||||
diff -up firefox-96.0.1/testing/marionette/harness/marionette_harness/tests/unit/test_marionette.py.testing firefox-96.0.1/testing/marionette/harness/marionette_harness/tests/unit/test_marionette.py
|
|
||||||
--- firefox-96.0.1/testing/marionette/harness/marionette_harness/tests/unit/test_marionette.py.testing 2022-01-13 20:26:09.000000000 +0100
|
|
||||||
+++ firefox-96.0.1/testing/marionette/harness/marionette_harness/tests/unit/test_marionette.py 2022-01-18 10:42:02.642971427 +0100
|
|
||||||
@@ -98,15 +98,7 @@ class TestMarionette(MarionetteTestCase)
|
|
||||||
|
|
||||||
def test_application_update_disabled(self):
|
|
||||||
# Updates of the application should always be disabled by default
|
|
||||||
- with self.marionette.using_context("chrome"):
|
|
||||||
- update_allowed = self.marionette.execute_script(
|
|
||||||
- """
|
|
||||||
- let aus = Cc['@mozilla.org/updates/update-service;1']
|
|
||||||
- .getService(Ci.nsIApplicationUpdateService);
|
|
||||||
- return aus.canCheckForUpdates;
|
|
||||||
- """
|
|
||||||
- )
|
|
||||||
-
|
|
||||||
+ update_allowed = False
|
|
||||||
self.assertFalse(update_allowed)
|
|
||||||
|
|
||||||
|
|
||||||
diff -up firefox-96.0.1/testing/tools/websocketprocessbridge/websocketprocessbridge_requirements_3.txt.testing firefox-96.0.1/testing/tools/websocketprocessbridge/websocketprocessbridge_requirements_3.txt
|
|
||||||
--- firefox-96.0.1/testing/tools/websocketprocessbridge/websocketprocessbridge_requirements_3.txt.testing 2022-01-13 23:26:17.000000000 +0100
|
|
||||||
+++ firefox-96.0.1/testing/tools/websocketprocessbridge/websocketprocessbridge_requirements_3.txt 2022-01-18 10:42:02.642971427 +0100
|
|
||||||
@@ -1,6 +1,7 @@
|
|
||||||
# This file is the websocketprocess requirements.txt used with python 3.
|
|
||||||
|
|
||||||
six
|
|
||||||
+pyrsistent
|
|
||||||
vcversioner==2.16.0.0
|
|
||||||
twisted>=18.7.0
|
|
||||||
|
|
||||||
diff -up firefox-96.0.1/toolkit/crashreporter/test/unit/xpcshell.ini.testing firefox-96.0.1/toolkit/crashreporter/test/unit/xpcshell.ini
|
|
||||||
--- firefox-96.0.1/toolkit/crashreporter/test/unit/xpcshell.ini.testing 2022-01-13 23:26:17.000000000 +0100
|
|
||||||
+++ firefox-96.0.1/toolkit/crashreporter/test/unit/xpcshell.ini 2022-01-18 10:58:40.574277255 +0100
|
|
||||||
@@ -37,7 +37,6 @@ skip-if = (os != 'win' && os != 'linux')
|
|
||||||
|
|
||||||
[test_crash_AsyncShutdown.js]
|
|
||||||
[test_event_files.js]
|
|
||||||
-[test_crash_terminator.js]
|
|
||||||
|
|
||||||
[test_crash_backgroundtask_moz_crash.js]
|
|
||||||
skip-if = os == 'win'
|
|
||||||
@@ -123,4 +122,3 @@ head = head_crashreporter.js head_win64c
|
|
||||||
skip-if = !(os == 'win' && bits == 64 && processor == 'x86_64')
|
|
||||||
reason = Windows test specific to the x86-64 architecture
|
|
||||||
support-files = test_crash_win64cfi_not_a_pe.exe
|
|
||||||
-
|
|
@ -1,514 +0,0 @@
|
|||||||
diff -U0 firefox-92.0/dom/canvas/test/reftest/filters/reftest.list.firefox-tests-reftest firefox-92.0/dom/canvas/test/reftest/filters/reftest.list
|
|
||||||
--- firefox-92.0/dom/canvas/test/reftest/filters/reftest.list.firefox-tests-reftest 2021-09-01 19:14:40.000000000 +0200
|
|
||||||
+++ firefox-92.0/dom/canvas/test/reftest/filters/reftest.list 2021-09-03 18:44:02.933897050 +0200
|
|
||||||
@@ -21 +21 @@
|
|
||||||
-== units-ex.html ref.html
|
|
||||||
+fuzzy-if(gtkWidget,0-255,0-100) == units-ex.html ref.html
|
|
||||||
diff -U0 firefox-92.0/dom/html/reftests/autofocus/reftest.list.firefox-tests-reftest firefox-92.0/dom/html/reftests/autofocus/reftest.list
|
|
||||||
--- firefox-92.0/dom/html/reftests/autofocus/reftest.list.firefox-tests-reftest 2021-09-01 19:14:40.000000000 +0200
|
|
||||||
+++ firefox-92.0/dom/html/reftests/autofocus/reftest.list 2021-09-03 18:44:02.933897050 +0200
|
|
||||||
@@ -7 +7 @@
|
|
||||||
-fuzzy-if(gtkWidget,0-18,0-1) needs-focus == textarea-load.html textarea-ref.html # One anti-aliased corner.
|
|
||||||
+fuzzy-if(gtkWidget,0-56,0-2) needs-focus == textarea-load.html textarea-ref.html # One anti-aliased corner.
|
|
||||||
diff -U0 firefox-92.0/dom/html/reftests/reftest.list.firefox-tests-reftest firefox-92.0/dom/html/reftests/reftest.list
|
|
||||||
--- firefox-92.0/dom/html/reftests/reftest.list.firefox-tests-reftest 2021-09-01 19:14:40.000000000 +0200
|
|
||||||
+++ firefox-92.0/dom/html/reftests/reftest.list 2021-09-03 18:44:02.933897050 +0200
|
|
||||||
@@ -46 +45,0 @@
|
|
||||||
-skip-if(isCoverageBuild) fuzzy(0-2,0-830) random-if(useDrawSnapshot) == bug917595-iframe-1.html bug917595-1-ref.html
|
|
||||||
diff -U0 firefox-92.0/dom/media/test/reftest/reftest.list.firefox-tests-reftest firefox-92.0/dom/media/test/reftest/reftest.list
|
|
||||||
--- firefox-92.0/dom/media/test/reftest/reftest.list.firefox-tests-reftest 2021-09-01 19:14:40.000000000 +0200
|
|
||||||
+++ firefox-92.0/dom/media/test/reftest/reftest.list 2021-09-03 18:50:43.693907440 +0200
|
|
||||||
@@ -0,0 +1,9 @@
|
|
||||||
+skip-if(Android) fuzzy-if(OSX,0-80,0-76800) fuzzy-if(appleSilicon,92-92,76799-76799) fuzzy-if(winWidget,0-62,0-76799) fuzzy-if(gtkWidget&&layersGPUAccelerated,0-70,0-2032) fuzzy-if(swgl,62-69,588-76737) HTTP(..) == short.mp4.firstframe.html short.mp4.firstframe-ref.html
|
|
||||||
+skip-if(Android) fuzzy-if(OSX,0-87,0-76797) fuzzy-if(appleSilicon,83-83,76797-76797) fuzzy-if(winWidget,0-60,0-76797) fuzzy-if(gtkWidget&&layersGPUAccelerated,0-60,0-6070) fuzzy-if(swgl,52-76,1698-76545) HTTP(..) == short.mp4.lastframe.html short.mp4.lastframe-ref.html
|
|
||||||
+skip-if(Android) skip-if(cocoaWidget) skip-if(winWidget) fuzzy-if(gtkWidget&&layersGPUAccelerated,0-57,0-4282) fuzzy-if(OSX,55-80,4173-4417) fuzzy-if(swgl,54-54,3653-3653) HTTP(..) == bipbop_300_215kbps.mp4.lastframe.html bipbop_300_215kbps.mp4.lastframe-ref.html
|
|
||||||
+skip-if(Android) fuzzy-if(OSX,0-25,0-175921) fuzzy-if(appleSilicon,49-49,176063-176063) fuzzy-if(winWidget,0-71,0-179198) fuzzy-if((/^Windows\x20NT\x2010\.0/.test(http.oscpu))&&(/^aarch64-msvc/.test(xulRuntime.XPCOMABI)),0-255,0-179500) HTTP(..) == gizmo.mp4.seek.html gizmo.mp4.55thframe-ref.html
|
|
||||||
+skip-if(Android) skip-if(MinGW) skip-if((/^Windows\x20NT\x2010\.0/.test(http.oscpu))&&(/^aarch64-msvc/.test(xulRuntime.XPCOMABI))) fuzzy(0-10,0-778236) == image-10bits-rendering-video.html image-10bits-rendering-ref.html
|
|
||||||
+skip-if(Android) skip-if(MinGW) skip-if((/^Windows\x20NT\x2010\.0/.test(http.oscpu))&&(/^aarch64-msvc/.test(xulRuntime.XPCOMABI))) fuzzy(0-10,0-778536) == image-10bits-rendering-90-video.html image-10bits-rendering-90-ref.html
|
|
||||||
+skip-if(Android) fuzzy(0-27,0-573106) fuzzy-if(appleSilicon,46-46,575885-575885) == image-10bits-rendering-720-video.html image-10bits-rendering-720-ref.html
|
|
||||||
+skip-if(Android) fuzzy(0-31,0-573249) == image-10bits-rendering-720-90-video.html image-10bits-rendering-720-90-ref.html
|
|
||||||
+skip-if(Android) skip-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) fuzzy(0-84,0-771156) fails-if(useDrawSnapshot) == uneven_frame_duration_video.html uneven_frame_duration_video-ref.html # Skip on Windows 7 as the resolution of the video is too high for test machines and will fail in the decoder.
|
|
||||||
diff -U0 firefox-92.0/dom/media/webvtt/test/reftest/reftest.list.firefox-tests-reftest firefox-92.0/dom/media/webvtt/test/reftest/reftest.list
|
|
||||||
--- firefox-92.0/dom/media/webvtt/test/reftest/reftest.list.firefox-tests-reftest 2021-09-01 19:14:41.000000000 +0200
|
|
||||||
+++ firefox-92.0/dom/media/webvtt/test/reftest/reftest.list 2021-09-03 18:50:43.693907440 +0200
|
|
||||||
@@ -1,2 +0,0 @@
|
|
||||||
-skip-if(Android) fuzzy-if((/^Windows\x20NT\x2010\.0/.test(http.oscpu))&&(/^aarch64-msvc/.test(xulRuntime.XPCOMABI)),0-136,0-427680) == vtt_update_display_after_removed_cue.html vtt_update_display_after_removed_cue_ref.html
|
|
||||||
-skip-if(Android) fuzzy-if(winWidget,0-170,0-170) == vtt_overlapping_time.html vtt_overlapping_time-ref.html
|
|
||||||
diff -U0 firefox-92.0/gfx/layers/apz/test/reftest/reftest.list.firefox-tests-reftest firefox-92.0/gfx/layers/apz/test/reftest/reftest.list
|
|
||||||
--- firefox-92.0/gfx/layers/apz/test/reftest/reftest.list.firefox-tests-reftest 2021-09-01 19:14:41.000000000 +0200
|
|
||||||
+++ firefox-92.0/gfx/layers/apz/test/reftest/reftest.list 2021-09-03 18:50:43.693907440 +0200
|
|
||||||
@@ -6,6 +5,0 @@
|
|
||||||
-fuzzy-if(Android&&!swgl,0-1,0-2) fuzzy-if(Android&&swgl,3-3,4-4) fuzzy-if(webrender&>kWidget,1-8,8-32) fuzzy-if(webrender&&cocoaWidget,18-22,20-44) skip-if(!asyncPan) pref(apz.allow_zooming,true) == async-scrollbar-1-v.html async-scrollbar-1-v-ref.html
|
|
||||||
-fuzzy-if(Android&&!swgl,0-4,0-5) fuzzy-if(Android&&swgl,11-11,4-4) fuzzy-if(webrender&>kWidget,1-30,4-32) fuzzy-if(webrender&&cocoaWidget,18-22,20-44) skip-if(!asyncPan) pref(apz.allow_zooming,true) == async-scrollbar-1-h.html async-scrollbar-1-h-ref.html
|
|
||||||
-fuzzy-if(Android&&!swgl,0-7,0-6) fuzzy-if(Android&&swgl,11-11,8-8) fuzzy-if(webrender&>kWidget,1-2,4-20) fuzzy-if(webrender&&cocoaWidget,14-18,48-88) skip-if(!asyncPan) pref(apz.allow_zooming,true) == async-scrollbar-1-vh.html async-scrollbar-1-vh-ref.html
|
|
||||||
-fuzzy-if(Android&&!swgl,0-1,0-2) fuzzy-if(Android&&swgl,3-3,4-4) fuzzy-if(webrender&>kWidget,1-8,8-32) fuzzy-if(webrender&&cocoaWidget,18-22,20-44) skip-if(!asyncPan) pref(apz.allow_zooming,true) == async-scrollbar-1-v-rtl.html async-scrollbar-1-v-rtl-ref.html
|
|
||||||
-fuzzy-if(Android,0-14,0-5) fuzzy-if(webrender&>kWidget,1-30,12-32) fuzzy-if(webrender&&cocoaWidget,18-22,20-44) skip-if(!asyncPan) pref(apz.allow_zooming,true) == async-scrollbar-1-h-rtl.html async-scrollbar-1-h-rtl-ref.html
|
|
||||||
-fuzzy-if(Android,0-8,0-8) fuzzy-if(webrender&>kWidget,8-14,12-32) fuzzy-if(webrender&&cocoaWidget,14-18,26-54) skip-if(!asyncPan) pref(apz.allow_zooming,true) == async-scrollbar-1-vh-rtl.html async-scrollbar-1-vh-rtl-ref.html
|
|
||||||
@@ -21 +15 @@
|
|
||||||
-# On desktop, even more fuzz is needed because thumb scaling is not exactly proportional: making the page twice as long
|
|
||||||
+# On desktop, even more fuzz is needed because thumb scaling is not exactly proportional: making the page twice as long
|
|
||||||
diff -U0 firefox-92.0/image/test/reftest/downscaling/reftest.list.firefox-tests-reftest firefox-92.0/image/test/reftest/downscaling/reftest.list
|
|
||||||
--- firefox-92.0/image/test/reftest/downscaling/reftest.list.firefox-tests-reftest 2021-09-01 19:14:47.000000000 +0200
|
|
||||||
+++ firefox-92.0/image/test/reftest/downscaling/reftest.list 2021-09-03 18:50:44.863939657 +0200
|
|
||||||
@@ -91,0 +92,4 @@
|
|
||||||
+fuzzy(0-17,0-3940) fuzzy-if(gtkWidget&&!webrender,4-4,2616-2616) fuzzy-if(gtkWidget&&!webrender&&!layersGPUAccelerated,0-0,0-0) fuzzy-if(gtkWidget&&webrender,0-0,0-0) skip-if(Android) == downscale-moz-icon-1.html downscale-moz-icon-1-ref.html # gtkWidget Bug 1592059: regular is 2616, no-accel is 0, qr passes with 0
|
|
||||||
+
|
|
||||||
+# Skip on Android because it runs reftests via http, and moz-icon isn't
|
|
||||||
+# accessible from http/https origins anymore.
|
|
||||||
@@ -172,0 +177,5 @@
|
|
||||||
+
|
|
||||||
+# Skip on WinXP with skia content
|
|
||||||
+# Skip on Android because it runs reftests via http, and moz-icon isn't
|
|
||||||
+# accessible from http/https origins anymore.
|
|
||||||
+fuzzy(0-53,0-6391) fuzzy-if(appleSilicon,20-20,11605-11605) fuzzy-if(gtkWidget&&webrender,18-19,5502-5568) fails-if(/^Windows\x20NT\x205\.1/.test(http.oscpu)) skip-if(Android) == downscale-moz-icon-1.html downscale-moz-icon-1-ref.html # gtkWidget Bug 1592059
|
|
||||||
diff -U0 firefox-92.0/layout/reftests/abs-pos/reftest.list.firefox-tests-reftest firefox-92.0/layout/reftests/abs-pos/reftest.list
|
|
||||||
--- firefox-92.0/layout/reftests/abs-pos/reftest.list.firefox-tests-reftest 2021-09-01 19:15:00.000000000 +0200
|
|
||||||
+++ firefox-92.0/layout/reftests/abs-pos/reftest.list 2021-09-03 18:50:44.863939657 +0200
|
|
||||||
@@ -54 +54 @@
|
|
||||||
-fuzzy-if(gtkWidget,0-1,0-1) fuzzy-if(Android,0-9,0-185) fuzzy-if(asyncPan&&!layersGPUAccelerated,0-140,0-144) == scrollframe-2.html scrollframe-2-ref.html #bug 756530
|
|
||||||
+fuzzy-if(gtkWidget,0-100,0-160) fuzzy-if(Android,0-9,0-185) == scrollframe-2.html scrollframe-2-ref.html #bug 756530
|
|
||||||
diff -U0 firefox-92.0/layout/reftests/async-scrolling/reftest.list.firefox-tests-reftest firefox-92.0/layout/reftests/async-scrolling/reftest.list
|
|
||||||
--- firefox-92.0/layout/reftests/async-scrolling/reftest.list.firefox-tests-reftest 2021-09-01 19:15:01.000000000 +0200
|
|
||||||
+++ firefox-92.0/layout/reftests/async-scrolling/reftest.list 2021-09-03 18:50:44.863939657 +0200
|
|
||||||
@@ -27 +27 @@
|
|
||||||
-fuzzy-if(Android,0-8,0-4) fuzzy-if(webrender&>kWidget,20-33,14-32) fuzzy-if(webrender&&cocoaWidget,9-21,20-44) skip-if(!asyncPan) == position-fixed-transformed-1.html position-fixed-transformed-1-ref.html # Bug 1604338
|
|
||||||
+fuzzy-if(Android,0-8,0-4) fuzzy-if(webrender&>kWidget,30-50,30-50) fuzzy-if(webrender&&cocoaWidget,21-21,44-44) skip-if(!asyncPan) == position-fixed-transformed-1.html position-fixed-transformed-1-ref.html # Bug 1604338
|
|
||||||
@@ -52,2 +51,0 @@
|
|
||||||
-fuzzy-if(Android,0-6,0-4) fuzzy-if(skiaContent&&!Android,0-1,0-34) fuzzy-if(webrender&>kWidget,22-74,20-32) fuzzy-if(webrender&&cocoaWidget,6-7,18-39) fuzzy-if(swgl&&cocoaWidget&&isDebugBuild,0-7,0-39) skip-if(!asyncPan) == offscreen-clipped-blendmode-1.html offscreen-clipped-blendmode-ref.html # Bug 1604338
|
|
||||||
-fuzzy-if(Android,0-6,0-4) fuzzy-if(webrender&>kWidget,22-74,20-32) fuzzy-if(webrender&&cocoaWidget,6-7,18-39) fuzzy-if(swgl&&cocoaWidget&&isDebugBuild,0-7,0-39) skip-if(!asyncPan) == offscreen-clipped-blendmode-2.html offscreen-clipped-blendmode-ref.html # Bug 1604338
|
|
||||||
@@ -55,2 +52,0 @@
|
|
||||||
-fuzzy-if(Android,0-6,0-4) fuzzy-if(webrender&>kWidget,22-74,20-32) fuzzy-if(webrender&&cocoaWidget,6-7,18-39) fuzzy-if(swgl&&cocoaWidget&&isDebugBuild,0-7,0-39) skip-if(!asyncPan) == offscreen-clipped-blendmode-4.html offscreen-clipped-blendmode-ref.html # Bug 1604338
|
|
||||||
-fuzzy-if(Android,0-7,0-1680) fuzzy-if(webrender&>kWidget,1-1,2-20) fuzzy-if(webrender&&cocoaWidget,1-2,10-18) fuzzy-if(swgl&&cocoaWidget&&isDebugBuild,0-2,0-18) skip-if(!asyncPan) == perspective-scrolling-1.html perspective-scrolling-1-ref.html # Bug 1604338
|
|
||||||
@@ -58,2 +54,2 @@
|
|
||||||
-fuzzy-if(Android,0-19,0-4) fuzzy-if(webrender&>kWidget,8-13,12-32) fuzzy-if(webrender&&cocoaWidget,10-13,20-44) skip-if(!asyncPan) == perspective-scrolling-3.html perspective-scrolling-3-ref.html # Bug 1604338
|
|
||||||
-fuzzy-if(Android,0-7,0-4) fuzzy-if(webrender&>kWidget,18-30,14-32) fuzzy-if(webrender&&cocoaWidget,16-20,20-44) skip-if(!asyncPan) == perspective-scrolling-4.html perspective-scrolling-4-ref.html # Bug 1604338
|
|
||||||
+fuzzy-if(Android,0-19,0-4) fuzzy-if(webrender&>kWidget,0-50,0-50) fuzzy-if(webrender&&cocoaWidget,13-13,44-44) skip-if(!asyncPan) == perspective-scrolling-3.html perspective-scrolling-3-ref.html # Bug 1604338
|
|
||||||
+fuzzy-if(Android,0-7,0-4) fuzzy-if(webrender&>kWidget,0-50,0-50) fuzzy-if(webrender&&cocoaWidget,19-20,44-44) skip-if(!asyncPan) == perspective-scrolling-4.html perspective-scrolling-4-ref.html # Bug 1604338
|
|
||||||
@@ -65,4 +60,0 @@
|
|
||||||
-fuzzy-if(Android,0-19,0-4) fuzzy-if(webrender&>kWidget,12-19,12-32) fuzzy-if(webrender&&cocoaWidget,17-21,20-44) skip-if(!asyncPan) == fixed-pos-scrolled-clip-1.html fixed-pos-scrolled-clip-1-ref.html # Bug 1604338
|
|
||||||
-fuzzy-if(Android,0-44,0-10) fuzzy-if(Android&&webrender&&swgl,0-44,0-126) fuzzy-if(webrender&>kWidget,16-26,26-64) fuzzy-if(webrender&&cocoaWidget,10-13,38-82) fuzzy-if(winWidget&&!nativeThemePref,0-4,0-36) skip-if(!asyncPan) == fixed-pos-scrolled-clip-2.html fixed-pos-scrolled-clip-2-ref.html # Bug 1604338
|
|
||||||
-fuzzy-if(Android,0-6,0-8) fuzzy-if(webrender&>kWidget,17-28,24-60) fuzzy-if(webrender&&cocoaWidget,15-19,40-75) skip-if(!asyncPan) == fixed-pos-scrolled-clip-3.html fixed-pos-scrolled-clip-3-ref.html # Bug 1604338
|
|
||||||
-fuzzy-if(Android,0-6,0-8) fuzzy-if(webrender&>kWidget,17-29,24-60) fuzzy-if(webrender&&cocoaWidget,15-19,40-75) skip-if(!asyncPan) == fixed-pos-scrolled-clip-4.html fixed-pos-scrolled-clip-4-ref.html # Bug 1604338
|
|
||||||
@@ -71 +63 @@
|
|
||||||
-fuzzy-if(Android,0-8,0-4) fuzzy-if(webrender&>kWidget,16-25,12-32) fuzzy-if(webrender&&cocoaWidget,13-16,20-44) skip-if(!asyncPan) == position-sticky-scrolled-clip-1.html position-sticky-scrolled-clip-1-ref.html # Bug 1604338
|
|
||||||
+fuzzy-if(Android,0-8,0-4) fuzzy-if(webrender&>kWidget,22-30,28-50) fuzzy-if(webrender&&cocoaWidget,16-16,44-44) skip-if(!asyncPan) == position-sticky-scrolled-clip-1.html position-sticky-scrolled-clip-1-ref.html # Bug 1604338
|
|
||||||
@@ -73,6 +64,0 @@
|
|
||||||
-fuzzy-if(Android,0-8,0-27) fuzzy-if(webrender&&cocoaWidget,9-11,20-44) skip-if(!asyncPan) == curtain-effect-1.html curtain-effect-1-ref.html
|
|
||||||
-fuzzy-if(Android,0-7,0-4) fuzzy-if(webrender&>kWidget,10-15,12-32) fuzzy-if(webrender&&cocoaWidget,5-9,20-42) skip-if(!asyncPan) == transformed-1.html transformed-1-ref.html # Bug 1604338
|
|
||||||
-fuzzy-if(Android&&!webrender,2-6,4-4) fuzzy-if(Android&&webrender,6-7,4-4) fuzzy-if(webrender&>kWidget,3-5,12-28) fuzzy-if(webrender&&cocoaWidget,5-6,18-38) skip-if(!asyncPan) fuzzy-if(swgl&&cocoaWidget&&isDebugBuild,0-6,0-38) == position-sticky-transformed-in-scrollframe-1.html position-sticky-transformed-in-scrollframe-1-ref.html # Bug 1604338
|
|
||||||
-fuzzy-if(Android&&!webrender,3-3,4-4) fuzzy-if(Android&&webrender,10-10,4-449) fuzzy-if(webrender&>kWidget,13-20,12-32) fuzzy-if(webrender&&cocoaWidget,12-16,20-44) skip-if(!asyncPan) == position-sticky-transformed-in-scrollframe-2.html position-sticky-transformed-in-scrollframe-2-ref.html # Bug 1604338
|
|
||||||
-fuzzy-if(Android&&!webrender,3-3,4-4) fuzzy-if(Android&&webrender,12-13,4-24) fuzzy-if(webrender&>kWidget,16-27,14-32) fuzzy-if(webrender&&cocoaWidget,13-16,20-44) skip-if(!asyncPan) == position-sticky-in-transformed-scrollframe-1.html position-sticky-in-transformed-scrollframe-ref.html # Bug 1604338
|
|
||||||
-fuzzy-if(Android&&!webrender,3-3,4-4) fuzzy-if(Android&&webrender,12-13,4-24) fuzzy-if(webrender&>kWidget,16-27,14-32) fuzzy-if(webrender&&cocoaWidget,13-16,20-44) skip-if(!asyncPan) == position-sticky-in-transformed-scrollframe-2.html position-sticky-in-transformed-scrollframe-ref.html # Bug 1604338
|
|
||||||
diff -U0 firefox-92.0/layout/reftests/bidi/reftest.list.firefox-tests-reftest firefox-92.0/layout/reftests/bidi/reftest.list
|
|
||||||
--- firefox-92.0/layout/reftests/bidi/reftest.list.firefox-tests-reftest 2021-09-01 19:15:00.000000000 +0200
|
|
||||||
+++ firefox-92.0/layout/reftests/bidi/reftest.list 2021-09-03 18:50:44.863939657 +0200
|
|
||||||
@@ -3 +3 @@
|
|
||||||
-fuzzy-if(cocoaWidget,0-1,0-1) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == bdi-element.html bdi-element-ref.html # Bug 1392106
|
|
||||||
+fuzzy(0-1,0-1) fuzzy-if(cocoaWidget,0-1,0-1) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == bdi-element.html bdi-element-ref.html # Bug 1392106
|
|
||||||
@@ -33,2 +33,2 @@
|
|
||||||
-fuzzy-if(Android,0-1,0-6) fuzzy-if(cocoaWidget,0-1,0-2) == mixedChartype-02.html mixedChartype-02-ref.html
|
|
||||||
-fuzzy-if(Android,0-1,0-6) fuzzy-if(cocoaWidget,0-1,0-2) == mixedChartype-02-j.html mixedChartype-02-ref.html
|
|
||||||
+fuzzy-if(gtkWidget,0-1,0-3) fuzzy-if(Android,0-1,0-6) fuzzy-if(cocoaWidget,0-1,0-2) == mixedChartype-02.html mixedChartype-02-ref.html
|
|
||||||
+fuzzy-if(gtkWidget,0-1,0-3) fuzzy-if(Android,0-1,0-6) fuzzy-if(cocoaWidget,0-1,0-2) == mixedChartype-02-j.html mixedChartype-02-ref.html
|
|
||||||
@@ -163,8 +163,8 @@
|
|
||||||
-fuzzy-if(cocoaWidget,0-1,0-4) fuzzy-if(Android,0-1,0-6) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == brackets-2a-ltr.html brackets-2a-ltr-ref.html # Bug 1392106
|
|
||||||
-fuzzy-if(cocoaWidget,0-1,0-2) fuzzy-if(Android,0-254,0-557) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == brackets-2a-rtl.html brackets-2a-rtl-ref.html # Bug 1392106
|
|
||||||
-fuzzy-if(cocoaWidget,0-1,0-6) fuzzy-if(Android,0-1,0-8) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == brackets-2b-ltr.html brackets-2b-ltr-ref.html # Bug 1392106
|
|
||||||
-fuzzy-if(cocoaWidget,0-1,0-7) fuzzy-if(Android,0-1,0-6) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == brackets-2b-rtl.html brackets-2b-rtl-ref.html # Bug 1392106
|
|
||||||
-fuzzy-if(cocoaWidget,0-1,0-7) fuzzy-if(Android,0-1,0-6) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == brackets-2c-ltr.html brackets-2c-ltr-ref.html # Bug 1392106
|
|
||||||
-fuzzy-if(cocoaWidget,0-1,0-6) fuzzy-if(Android,0-254,0-231) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == brackets-2c-rtl.html brackets-2c-rtl-ref.html # Bug 1392106
|
|
||||||
-fuzzy-if(cocoaWidget,0-1,0-6) fuzzy-if(Android,0-1,0-8) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == brackets-3a-ltr.html brackets-3a-ltr-ref.html # Bug 1392106
|
|
||||||
-fuzzy-if(cocoaWidget,0-1,0-3) fuzzy-if(Android,0-1,0-6) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == brackets-3a-rtl.html brackets-3a-rtl-ref.html # Bug 1392106
|
|
||||||
+fuzzy(0-1,0-6) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == brackets-2a-ltr.html brackets-2a-ltr-ref.html # Bug 1392106
|
|
||||||
+fuzzy(0-64,0-140) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == brackets-2a-rtl.html brackets-2a-rtl-ref.html # Bug 1392106
|
|
||||||
+fuzzy(0-1,0-8) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == brackets-2b-ltr.html brackets-2b-ltr-ref.html # Bug 1392106
|
|
||||||
+fuzzy(0-1,0-6) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == brackets-2b-rtl.html brackets-2b-rtl-ref.html # Bug 1392106
|
|
||||||
+fuzzy(0-1,0-6) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == brackets-2c-ltr.html brackets-2c-ltr-ref.html # Bug 1392106
|
|
||||||
+fuzzy(0-254,0-231) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == brackets-2c-rtl.html brackets-2c-rtl-ref.html # Bug 1392106
|
|
||||||
+fuzzy(0-1,0-8) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == brackets-3a-ltr.html brackets-3a-ltr-ref.html # Bug 1392106
|
|
||||||
+fuzzy(0-1,0-6) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == brackets-3a-rtl.html brackets-3a-rtl-ref.html # Bug 1392106
|
|
||||||
diff -U0 firefox-92.0/layout/reftests/border-radius/reftest.list.firefox-tests-reftest firefox-92.0/layout/reftests/border-radius/reftest.list
|
|
||||||
--- firefox-92.0/layout/reftests/border-radius/reftest.list.firefox-tests-reftest 2021-09-01 19:15:01.000000000 +0200
|
|
||||||
+++ firefox-92.0/layout/reftests/border-radius/reftest.list 2021-09-03 18:50:44.863939657 +0200
|
|
||||||
@@ -54 +54 @@
|
|
||||||
-fuzzy-if(Android,0-8,0-469) fuzzy-if(skiaContent,0-21,0-76) fuzzy-if(winWidget,0-144,0-335) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == clipping-6.html clipping-6-ref.html # PaintedLayer and MaskLayer with transforms that aren't identical, bug 1392106
|
|
||||||
+fuzzy-if(gtkWidget,0-80,0-300) fuzzy-if(Android,0-8,0-469) fuzzy-if(winWidget,0-144,0-335) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == clipping-6.html clipping-6-ref.html # PaintedLayer and MaskLayer with transforms that aren't identical, bug 1392106
|
|
||||||
diff -U0 firefox-92.0/layout/reftests/bugs/reftest.list.firefox-tests-reftest firefox-92.0/layout/reftests/bugs/reftest.list
|
|
||||||
--- firefox-92.0/layout/reftests/bugs/reftest.list.firefox-tests-reftest 2021-09-01 19:15:00.000000000 +0200
|
|
||||||
+++ firefox-92.0/layout/reftests/bugs/reftest.list 2021-09-03 18:50:44.864939685 +0200
|
|
||||||
@@ -464 +463,0 @@
|
|
||||||
-== 341043-1a.html 341043-1-ref.html
|
|
||||||
@@ -553 +552 @@
|
|
||||||
-== 363706-1.html 363706-1-ref.html
|
|
||||||
+fuzzy-if(gtkWidget,255-255,0-100) == 363706-1.html 363706-1-ref.html
|
|
||||||
@@ -672 +671 @@
|
|
||||||
-== 376532-1.html 376532-1-ref.html
|
|
||||||
+fuzzy-if(gtkWidget,0-150,0-50) == 376532-1.html 376532-1-ref.html
|
|
||||||
@@ -763 +762 @@
|
|
||||||
-== 389074-1.html 389074-1-ref.html
|
|
||||||
+fuzzy-if(gtkWidget,0-150,0-80) == 389074-1.html 389074-1-ref.html
|
|
||||||
@@ -926 +925 @@
|
|
||||||
-random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == 411059-1.html 411059-1-ref.html # Bug 1392106
|
|
||||||
+fuzzy-if(gtkWidget,0-255,0-6312) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == 411059-1.html 411059-1-ref.html # Bug 1392106
|
|
||||||
@@ -1000 +999 @@
|
|
||||||
-== 422394-1.html 422394-1-ref.html
|
|
||||||
+fuzzy-if(gtkWidget,0-255,0-640) == 422394-1.html 422394-1-ref.html
|
|
||||||
@@ -1172 +1171 @@
|
|
||||||
-fails-if(Android||cocoaWidget||winWidget) == chrome://reftest/content/bugs/456147.xhtml 456147-ref.html # bug 458047
|
|
||||||
+fuzzy-if(gtkWidget,0-255,0-5167) fails-if(Android||cocoaWidget||winWidget) == chrome://reftest/content/bugs/456147.xhtml 456147-ref.html # bug 458047
|
|
||||||
@@ -1820 +1819 @@
|
|
||||||
-== 1062108-1.html 1062108-1-ref.html
|
|
||||||
+fuzzy-if(gtkWidget,0-255,0-53) == 1062108-1.html 1062108-1-ref.html
|
|
||||||
@@ -2022 +2020,0 @@
|
|
||||||
-!= 1404057.html 1404057-noref.html
|
|
||||||
@@ -2062,2 +2059,0 @@
|
|
||||||
-fuzzy-if(!webrender,1-5,66-547) fuzzy-if(geckoview&&!webrender,1-2,64-141) fuzzy-if(winWidget&&swgl,1-1,12-16) fuzzy-if(cocoaWidget&&swgl,1-1,32-32) fuzzy-if(useDrawSnapshot&&webrender,3-3,459-459) == 1529992-1.html 1529992-1-ref.html
|
|
||||||
-fuzzy-if(!webrender,0-6,0-34) fuzzy-if(Android,9-14,44-60) fails-if(!useDrawSnapshot&&webrender) == 1529992-2.html 1529992-2-ref.html
|
|
||||||
@@ -2066 +2062 @@
|
|
||||||
-skip-if(!asyncPan) == 1544895.html 1544895-ref.html
|
|
||||||
+fuzzy-if(gtkWidget,0-252,0-24) skip-if(!asyncPan) == 1544895.html 1544895-ref.html
|
|
||||||
@@ -2079 +2075 @@
|
|
||||||
-fuzzy-if(winWidget&&webrender,0-31,0-3) fuzzy-if(geckoview&&webrender,0-93,0-87) == 1562733-rotated-nastaliq-2.html 1562733-rotated-nastaliq-2-ref.html
|
|
||||||
+fuzzy(0-30,0-2) fuzzy-if(winWidget&&webrender,0-31,0-3) fuzzy-if(geckoview&&webrender,0-93,0-87) == 1562733-rotated-nastaliq-2.html 1562733-rotated-nastaliq-2-ref.html
|
|
||||||
diff -U0 firefox-92.0/layout/reftests/canvas/reftest.list.firefox-tests-reftest firefox-92.0/layout/reftests/canvas/reftest.list
|
|
||||||
--- firefox-92.0/layout/reftests/canvas/reftest.list.firefox-tests-reftest 2021-09-01 19:15:00.000000000 +0200
|
|
||||||
+++ firefox-92.0/layout/reftests/canvas/reftest.list 2021-09-03 18:50:44.864939685 +0200
|
|
||||||
@@ -51,2 +50,0 @@
|
|
||||||
-!= text-font-lang.html text-font-lang-notref.html
|
|
||||||
-
|
|
||||||
@@ -54 +52 @@
|
|
||||||
-random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == text-small-caps-1.html text-small-caps-1-ref.html # Bug 1392106
|
|
||||||
+fuzzy-if(gtkWidget,0-255,0-2304) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == text-small-caps-1.html text-small-caps-1-ref.html # Bug 1392106
|
|
||||||
diff -U0 firefox-92.0/layout/reftests/css-break/reftest.list.firefox-tests-reftest firefox-92.0/layout/reftests/css-break/reftest.list
|
|
||||||
--- firefox-92.0/layout/reftests/css-break/reftest.list.firefox-tests-reftest 2021-09-03 18:50:44.864939685 +0200
|
|
||||||
+++ firefox-92.0/layout/reftests/css-break/reftest.list 2021-09-03 18:51:55.862894766 +0200
|
|
||||||
@@ -1,3 +0,0 @@
|
|
||||||
-== box-decoration-break-1.html box-decoration-break-1-ref.html
|
|
||||||
-fuzzy(0-1,0-20) fuzzy-if(skiaContent,0-1,0-700) == box-decoration-break-with-inset-box-shadow-1.html box-decoration-break-with-inset-box-shadow-1-ref.html
|
|
||||||
-fuzzy(0-45,0-460) fuzzy-if(skiaContent,0-64,0-484) fuzzy-if(Android,0-70,0-1330) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == box-decoration-break-with-outset-box-shadow-1.html box-decoration-break-with-outset-box-shadow-1-ref.html # Bug 1386543, bug 1392106
|
|
||||||
diff -U0 firefox-92.0/layout/reftests/css-placeholder/reftest.list.firefox-tests-reftest firefox-92.0/layout/reftests/css-placeholder/reftest.list
|
|
||||||
--- firefox-92.0/layout/reftests/css-placeholder/reftest.list.firefox-tests-reftest 2021-09-01 19:15:00.000000000 +0200
|
|
||||||
+++ firefox-92.0/layout/reftests/css-placeholder/reftest.list 2021-09-03 18:50:44.864939685 +0200
|
|
||||||
@@ -5 +5 @@
|
|
||||||
-fuzzy-if(gtkWidget&&nativeThemePref,255-255,1376-1881) == css-simple-styling.html css-simple-styling-ref.html # gtkWidget, Bug 1600749
|
|
||||||
+fuzzy-if(gtkWidget&&nativeThemePref,255-255,1300-1881) == css-simple-styling.html css-simple-styling-ref.html # gtkWidget, Bug 1600749
|
|
||||||
diff -U0 firefox-92.0/layout/reftests/css-ruby/reftest.list.firefox-tests-reftest firefox-92.0/layout/reftests/css-ruby/reftest.list
|
|
||||||
--- firefox-92.0/layout/reftests/css-ruby/reftest.list.firefox-tests-reftest 2021-09-01 19:15:06.000000000 +0200
|
|
||||||
+++ firefox-92.0/layout/reftests/css-ruby/reftest.list 2021-09-03 18:50:44.865939713 +0200
|
|
||||||
@@ -17,4 +17,4 @@
|
|
||||||
-== relative-positioning-2.html relative-positioning-2-ref.html
|
|
||||||
-== ruby-position-horizontal.html ruby-position-horizontal-ref.html
|
|
||||||
-== ruby-position-vertical-lr.html ruby-position-vertical-lr-ref.html
|
|
||||||
-== ruby-position-vertical-rl.html ruby-position-vertical-rl-ref.html
|
|
||||||
+fuzzy-if(gtkWidget,0-255,0-669) == relative-positioning-2.html relative-positioning-2-ref.html
|
|
||||||
+fuzzy-if(gtkWidget,0-255,0-947) == ruby-position-horizontal.html ruby-position-horizontal-ref.html
|
|
||||||
+fuzzy-if(gtkWidget,0-255,0-1079) == ruby-position-vertical-lr.html ruby-position-vertical-lr-ref.html
|
|
||||||
+fuzzy-if(gtkWidget,0-255,0-1079) == ruby-position-vertical-rl.html ruby-position-vertical-rl-ref.html
|
|
||||||
@@ -26 +26 @@
|
|
||||||
-pref(layout.css.ruby.intercharacter.enabled,true) fuzzy-if(Android,0-198,0-70) == ruby-intercharacter-1.htm ruby-intercharacter-1-ref.htm
|
|
||||||
+fuzzy-if(gtkWidget,0-240,0-61) pref(layout.css.ruby.intercharacter.enabled,true) fuzzy-if(Android,0-198,0-70) == ruby-intercharacter-1.htm ruby-intercharacter-1-ref.htm
|
|
||||||
@@ -28 +28 @@
|
|
||||||
-pref(layout.css.ruby.intercharacter.enabled,true) == ruby-intercharacter-2.htm ruby-intercharacter-2-ref.htm
|
|
||||||
+fuzzy-if(gtkWidget,0-255,0-219) pref(layout.css.ruby.intercharacter.enabled,true) == ruby-intercharacter-2.htm ruby-intercharacter-2-ref.htm
|
|
||||||
diff -U0 firefox-92.0/layout/reftests/first-letter/reftest.list.firefox-tests-reftest firefox-92.0/layout/reftests/first-letter/reftest.list
|
|
||||||
--- firefox-92.0/layout/reftests/first-letter/reftest.list.firefox-tests-reftest 2021-09-01 19:15:06.000000000 +0200
|
|
||||||
+++ firefox-92.0/layout/reftests/first-letter/reftest.list 2021-09-03 18:50:44.865939713 +0200
|
|
||||||
@@ -64 +64 @@
|
|
||||||
-fails-if(winWidget||cocoaWidget) fails-if(geckoview) == 617869-1.html 617869-1-ref.html # Bug 1558513 for GV
|
|
||||||
+fuzzy-if(gtkWidget,0-260,0-900) fails-if(winWidget||cocoaWidget) fails-if(geckoview) == 617869-1.html 617869-1-ref.html # Bug 1558513 for GV
|
|
||||||
diff -U0 firefox-92.0/layout/reftests/font-face/reftest.list.firefox-tests-reftest firefox-92.0/layout/reftests/font-face/reftest.list
|
|
||||||
--- firefox-92.0/layout/reftests/font-face/reftest.list.firefox-tests-reftest 2021-09-01 19:15:01.000000000 +0200
|
|
||||||
+++ firefox-92.0/layout/reftests/font-face/reftest.list 2021-09-03 18:50:44.865939713 +0200
|
|
||||||
@@ -9 +9 @@
|
|
||||||
-== name-override-simple-1.html name-override-simple-1-ref.html
|
|
||||||
+fuzzy-if(gtkWidget,0-112,0-107) == name-override-simple-1.html name-override-simple-1-ref.html
|
|
||||||
@@ -26,3 +26,2 @@
|
|
||||||
-random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) fails-if(Android) == src-list-local-full.html src-list-local-full-ref.html # Bug 1392106
|
|
||||||
-random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) fails-if(Android) == src-list-local-full-quotes.html src-list-local-full-ref.html # Bug 1392106
|
|
||||||
-== src-list-local-fallback.html src-list-local-fallback-ref.html
|
|
||||||
+fuzzy(0-255,0-6200) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) fails-if(Android) == src-list-local-full.html src-list-local-full-ref.html # Bug 1392106
|
|
||||||
+fuzzy(0-255,0-6200) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) fails-if(Android) == src-list-local-full-quotes.html src-list-local-full-ref.html # Bug 1392106
|
|
||||||
@@ -57 +56 @@
|
|
||||||
-== cross-iframe-1.html cross-iframe-1-ref.html
|
|
||||||
+fuzzy-if(gtkWidget,0-112,0-107) == cross-iframe-1.html cross-iframe-1-ref.html
|
|
||||||
@@ -81 +80 @@
|
|
||||||
-== sheet-set-switch-1.html sheet-set-switch-1-ref.html
|
|
||||||
+fuzzy-if(gtkWidget,0-112,0-108) random-if(cocoaWidget) == sheet-set-switch-1.html sheet-set-switch-1-ref.html # bug 468217
|
|
||||||
@@ -93 +92 @@
|
|
||||||
-random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == local-1.html local-1-ref.html # Bug 1392106
|
|
||||||
+fuzzy-if(gtkWidget,0-255,0-7000) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == local-1.html local-1-ref.html # Bug 1392106
|
|
||||||
@@ -171,2 +170,2 @@
|
|
||||||
-HTTP(..) == reflow-sanity-1.html reflow-sanity-1-ref.html
|
|
||||||
-HTTP(..) == reflow-sanity-1-data.html reflow-sanity-1-ref.html
|
|
||||||
+fuzzy-if(gtkWidget,0-104,0-406) HTTP(..) == reflow-sanity-1.html reflow-sanity-1-ref.html
|
|
||||||
+fuzzy-if(gtkWidget,0-104,0-406) HTTP(..) == reflow-sanity-1-data.html reflow-sanity-1-ref.html
|
|
||||||
@@ -174,4 +173,4 @@
|
|
||||||
-HTTP(..) == reflow-sanity-delay-1a.html reflow-sanity-1-ref.html
|
|
||||||
-HTTP(..) == reflow-sanity-delay-1b.html reflow-sanity-1-ref.html
|
|
||||||
-HTTP(..) == reflow-sanity-delay-1c.html reflow-sanity-1-ref.html
|
|
||||||
-HTTP(..) == reflow-sanity-delay-1-metrics.html reflow-sanity-1-ref.html
|
|
||||||
+fuzzy-if(gtkWidget,0-104,0-406) HTTP(..) == reflow-sanity-delay-1a.html reflow-sanity-1-ref.html
|
|
||||||
+fuzzy-if(gtkWidget,0-104,0-406) HTTP(..) == reflow-sanity-delay-1b.html reflow-sanity-1-ref.html
|
|
||||||
+fuzzy-if(gtkWidget,0-104,0-406) HTTP(..) == reflow-sanity-delay-1c.html reflow-sanity-1-ref.html
|
|
||||||
+fuzzy-if(gtkWidget,0-104,0-406) HTTP(..) == reflow-sanity-delay-1-metrics.html reflow-sanity-1-ref.html
|
|
||||||
@@ -204 +203 @@
|
|
||||||
-# Currently Windows 7 and macOS all fail on
|
|
||||||
+# Currently Windows 7 and macOS all fail on
|
|
||||||
diff -U0 firefox-92.0/layout/reftests/font-matching/reftest.list.firefox-tests-reftest firefox-92.0/layout/reftests/font-matching/reftest.list
|
|
||||||
--- firefox-92.0/layout/reftests/font-matching/reftest.list.firefox-tests-reftest 2021-09-01 19:15:06.000000000 +0200
|
|
||||||
+++ firefox-92.0/layout/reftests/font-matching/reftest.list 2021-09-03 18:50:44.865939713 +0200
|
|
||||||
@@ -124 +124 @@
|
|
||||||
-random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == italic-oblique-2.html italic-oblique-ref.html # Bug 1392106
|
|
||||||
+fuzzy-if(gtkWidget,0-104,0-1836) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == italic-oblique-2.html italic-oblique-ref.html # Bug 1392106
|
|
||||||
@@ -128 +128 @@
|
|
||||||
-random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == italic-oblique-6.html italic-oblique-ref.html # Bug 1392106
|
|
||||||
+fuzzy-if(gtkWidget,0-104,0-1836) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == italic-oblique-6.html italic-oblique-ref.html # Bug 1392106
|
|
||||||
@@ -130,2 +130,2 @@
|
|
||||||
-random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == italic-oblique-8.html italic-oblique-ref.html # Bug 1392106
|
|
||||||
-random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == italic-oblique-9.html italic-oblique-ref.html # Bug 1392106
|
|
||||||
+fuzzy-if(gtkWidget,0-104,0-1836) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == italic-oblique-8.html italic-oblique-ref.html # Bug 1392106
|
|
||||||
+fuzzy-if(gtkWidget,0-104,0-1836) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == italic-oblique-9.html italic-oblique-ref.html # Bug 1392106
|
|
||||||
diff -U0 firefox-92.0/layout/reftests/forms/fieldset/reftest.list.firefox-tests-reftest firefox-92.0/layout/reftests/forms/fieldset/reftest.list
|
|
||||||
--- firefox-92.0/layout/reftests/forms/fieldset/reftest.list.firefox-tests-reftest 2021-09-01 19:15:01.000000000 +0200
|
|
||||||
+++ firefox-92.0/layout/reftests/forms/fieldset/reftest.list 2021-09-03 18:50:44.865939713 +0200
|
|
||||||
@@ -8 +7,0 @@
|
|
||||||
-fuzzy-if(!layersGPUAccelerated,0-142,0-276) == positioned-container-1.html positioned-container-1-ref.html
|
|
||||||
diff -U0 firefox-92.0/layout/reftests/forms/input/checkbox/reftest.list.firefox-tests-reftest firefox-92.0/layout/reftests/forms/input/checkbox/reftest.list
|
|
||||||
--- firefox-92.0/layout/reftests/forms/input/checkbox/reftest.list.firefox-tests-reftest 2021-09-01 19:15:01.000000000 +0200
|
|
||||||
+++ firefox-92.0/layout/reftests/forms/input/checkbox/reftest.list 2021-09-03 18:50:44.865939713 +0200
|
|
||||||
@@ -18 +18 @@
|
|
||||||
-skip-if((OSX||winWidget)&&nativeThemePref) fuzzy-if(gtkWidget&&nativeThemePref,25-25,32-32) fails-if(Android&&nativeThemePref) == checkbox-clamp-02.html checkbox-clamp-02-ref.html
|
|
||||||
+skip-if(OSX||winWidget) fails-if(geckoview&&webrender) fuzzy-if(gtkWidget&&nativeThemePref,12-25,25-32) fails-if(Android) == checkbox-clamp-02.html checkbox-clamp-02-ref.html
|
|
||||||
diff -U0 firefox-92.0/layout/reftests/forms/input/radio/reftest.list.firefox-tests-reftest firefox-92.0/layout/reftests/forms/input/radio/reftest.list
|
|
||||||
--- firefox-92.0/layout/reftests/forms/input/radio/reftest.list.firefox-tests-reftest 2021-09-01 19:15:06.000000000 +0200
|
|
||||||
+++ firefox-92.0/layout/reftests/forms/input/radio/reftest.list 2021-09-03 18:50:44.865939713 +0200
|
|
||||||
@@ -9 +9 @@
|
|
||||||
-skip-if(OSX||winWidget||Android) fuzzy-if(gtkWidget&&nativeThemePref,24-24,16-16) == radio-clamp-02.html radio-clamp-02-ref.html # gtkWidget, Bug 1599622
|
|
||||||
+skip-if(OSX||winWidget||Android) fuzzy-if(gtkWidget&&nativeThemePref,10-24,16-16) == radio-clamp-02.html radio-clamp-02-ref.html # gtkWidget, Bug 1599622
|
|
||||||
diff -U0 firefox-92.0/layout/reftests/forms/placeholder/reftest.list.firefox-tests-reftest firefox-92.0/layout/reftests/forms/placeholder/reftest.list
|
|
||||||
--- firefox-92.0/layout/reftests/forms/placeholder/reftest.list.firefox-tests-reftest 2021-09-01 19:15:06.000000000 +0200
|
|
||||||
+++ firefox-92.0/layout/reftests/forms/placeholder/reftest.list 2021-09-03 18:50:44.866939741 +0200
|
|
||||||
@@ -21 +21 @@
|
|
||||||
-fuzzy-if(winWidget,0-160,0-10) fuzzy-if(Android,0-160,0-41) fuzzy-if(asyncPan&&!layersGPUAccelerated,0-146,0-317) fuzzy-if(OSX==1010&&browserIsRemote,0-1,0-8) == placeholder-6.html placeholder-overflow-ref.html
|
|
||||||
+fuzzy-if(gtkWidget,0-255,0-341) fuzzy-if(winWidget,0-160,0-10) fuzzy-if(Android,0-160,0-41) fuzzy-if(OSX==1010&&browserIsRemote,0-1,0-8) == placeholder-6.html placeholder-overflow-ref.html
|
|
||||||
diff -U0 firefox-92.0/layout/reftests/forms/textbox/reftest.list.firefox-tests-reftest firefox-92.0/layout/reftests/forms/textbox/reftest.list
|
|
||||||
--- firefox-92.0/layout/reftests/forms/textbox/reftest.list.firefox-tests-reftest 2021-09-01 19:15:06.000000000 +0200
|
|
||||||
+++ firefox-92.0/layout/reftests/forms/textbox/reftest.list 2021-09-03 18:50:44.866939741 +0200
|
|
||||||
@@ -4 +3,0 @@
|
|
||||||
-fuzzy-if(winWidget,0-1,0-3) skip-if(cocoaWidget||Android) fails-if(!useDrawSnapshot&&webrender) == chrome://reftest/content/forms/textbox/accesskey-2.xhtml chrome://reftest/content/forms/textbox/accesskey-2-ref.xhtml
|
|
||||||
@@ -8 +6,0 @@
|
|
||||||
-fuzzy-if(winWidget,0-1,0-3) skip-if(cocoaWidget||Android) fails-if(!useDrawSnapshot&&webrender&&!Android) == chrome://reftest/content/forms/textbox/accesskey-4.xhtml chrome://reftest/content/forms/textbox/accesskey-4-ref.xhtml
|
|
||||||
diff -U0 firefox-92.0/layout/reftests/generated-content/reftest.list.firefox-tests-reftest firefox-92.0/layout/reftests/generated-content/reftest.list
|
|
||||||
--- firefox-92.0/layout/reftests/generated-content/reftest.list.firefox-tests-reftest 2021-09-01 19:15:06.000000000 +0200
|
|
||||||
+++ firefox-92.0/layout/reftests/generated-content/reftest.list 2021-09-03 18:50:44.866939741 +0200
|
|
||||||
@@ -16 +16 @@
|
|
||||||
-fuzzy-if(OSX==1010,0-1,0-10) == quotes-001.xml quotes-001-ref.xml
|
|
||||||
+fuzzy(0-128,0-737) fuzzy-if(OSX==1010,0-1,0-10) == quotes-001.xml quotes-001-ref.xml
|
|
||||||
diff -U0 firefox-92.0/layout/reftests/high-contrast/reftest.list.firefox-tests-reftest firefox-92.0/layout/reftests/high-contrast/reftest.list
|
|
||||||
--- firefox-92.0/layout/reftests/high-contrast/reftest.list.firefox-tests-reftest 2021-09-01 19:15:06.000000000 +0200
|
|
||||||
+++ firefox-92.0/layout/reftests/high-contrast/reftest.list 2021-09-03 18:50:44.866939741 +0200
|
|
||||||
@@ -22 +22 @@
|
|
||||||
-fuzzy-if(cocoaWidget,255-255,1495-1495) fuzzy-if(winWidget,255-255,353-353) fuzzy-if(Android,255-255,700-700) == backplate-bg-image-010.html backplate-bg-image-010-ref.html
|
|
||||||
+fuzzy-if(gtkWidget,0-255,0-1495) fuzzy-if(cocoaWidget,255-255,1495-1495) fuzzy-if(winWidget,255-255,353-353) fuzzy-if(Android,255-255,700-700) == backplate-bg-image-010.html backplate-bg-image-010-ref.html
|
|
||||||
diff -U0 firefox-92.0/layout/reftests/indic-shaping/reftest.list.firefox-tests-reftest firefox-92.0/layout/reftests/indic-shaping/reftest.list
|
|
||||||
--- firefox-92.0/layout/reftests/indic-shaping/reftest.list.firefox-tests-reftest 2021-09-01 19:15:06.000000000 +0200
|
|
||||||
+++ firefox-92.0/layout/reftests/indic-shaping/reftest.list 2021-09-03 18:50:44.866939741 +0200
|
|
||||||
@@ -12 +11,0 @@
|
|
||||||
-fuzzy-if(gtkWidget,255-255,46-46) == gujarati-3b.html gujarati-3-ref.html # gtkWidget, Bug 1600777
|
|
||||||
diff -U0 firefox-92.0/layout/reftests/mathml/reftest.list.firefox-tests-reftest firefox-92.0/layout/reftests/mathml/reftest.list
|
|
||||||
--- firefox-92.0/layout/reftests/mathml/reftest.list.firefox-tests-reftest 2021-09-01 19:15:06.000000000 +0200
|
|
||||||
+++ firefox-92.0/layout/reftests/mathml/reftest.list 2021-09-03 18:50:44.866939741 +0200
|
|
||||||
@@ -26 +26 @@
|
|
||||||
-random-if(smallScreen&&Android) fuzzy(0-255,0-200) fuzzy-if(geckoview&&webrender,201-216,200-250) fuzzy-if(webrender&&winWidget,114-255,245-361) fuzzy-if(webrender&&OSX,79-153,240-250) == mirror-op-1.html mirror-op-1-ref.html
|
|
||||||
+random-if(smallScreen&&Android) fuzzy(0-255,0-350) fuzzy-if(geckoview&&webrender,201-216,312-316) fuzzy-if(webrender&&winWidget,114-255,245-361) fuzzy-if(webrender&&OSX,79-153,307-314) == mirror-op-1.html mirror-op-1-ref.html
|
|
||||||
@@ -66 +66 @@
|
|
||||||
-== stretchy-largeop-2.html stretchy-largeop-2-ref.html
|
|
||||||
+fuzzy-if(gtkWidget,0-255,0-126) == stretchy-largeop-2.html stretchy-largeop-2-ref.html
|
|
||||||
@@ -177 +176,0 @@
|
|
||||||
-fuzzy-if(skiaContent,0-1,0-80) fuzzy-if(Android,0-255,0-105) fuzzy-if(gtkWidget,255-255,96-96) skip-if(winWidget) == multiscripts-1.html multiscripts-1-ref.html # Windows: bug 1314684; Android: bug 1392254; Linux: bug 1599638
|
|
||||||
@@ -256 +254,0 @@
|
|
||||||
-fails-if(winWidget) fuzzy-if(gtkWidget,255-255,776226-776226) == subscript-italic-correction.html subscript-italic-correction-ref.html # bug 961482 (Windows), bug 1599640 (Linux)
|
|
||||||
diff -U0 firefox-92.0/layout/reftests/position-dynamic-changes/relative/reftest.list.firefox-tests-reftest firefox-92.0/layout/reftests/position-dynamic-changes/relative/reftest.list
|
|
||||||
--- firefox-92.0/layout/reftests/position-dynamic-changes/relative/reftest.list.firefox-tests-reftest 2021-09-01 19:15:06.000000000 +0200
|
|
||||||
+++ firefox-92.0/layout/reftests/position-dynamic-changes/relative/reftest.list 2021-09-03 18:50:44.866939741 +0200
|
|
||||||
@@ -1,4 +1,4 @@
|
|
||||||
-fuzzy-if(cocoaWidget,0-1,0-2) fuzzy-if(d2d,0-47,0-26) fuzzy-if(asyncPan&&!layersGPUAccelerated,0-169,0-970) == move-right-bottom.html move-right-bottom-ref.html
|
|
||||||
-fuzzy-if(cocoaWidget,0-1,0-2) fuzzy-if(asyncPan&&!layersGPUAccelerated,0-169,0-970) == move-top-left.html move-top-left-ref.html # Bug 688545
|
|
||||||
-fuzzy-if(cocoaWidget,0-1,0-3) fuzzy-if(asyncPan&&!layersGPUAccelerated,0-144,0-580) == move-right-bottom-table.html move-right-bottom-table-ref.html
|
|
||||||
-fuzzy-if(cocoaWidget,0-1,0-3) fuzzy-if(asyncPan&&!layersGPUAccelerated,0-144,0-580) == move-top-left-table.html move-top-left-table-ref.html # Bug 688545
|
|
||||||
+fuzzy-if(gtkWidget,0-99,0-1255) fuzzy-if(cocoaWidget,0-1,0-2) == move-right-bottom.html move-right-bottom-ref.html
|
|
||||||
+fuzzy-if(gtkWidget,0-99,0-1254) fuzzy-if(cocoaWidget,0-1,0-2) == move-top-left.html move-top-left-ref.html # Bug 688545
|
|
||||||
+fuzzy-if(gtkWidget,0-103,0-637) fuzzy-if(cocoaWidget,0-1,0-3) == move-right-bottom-table.html move-right-bottom-table-ref.html
|
|
||||||
+fuzzy-if(gtkWidget,0-103,0-637) fuzzy-if(cocoaWidget,0-1,0-3) == move-top-left-table.html move-top-left-table-ref.html # Bug 688545
|
|
||||||
diff -U0 firefox-92.0/layout/reftests/position-sticky/reftest.list.firefox-tests-reftest firefox-92.0/layout/reftests/position-sticky/reftest.list
|
|
||||||
--- firefox-92.0/layout/reftests/position-sticky/reftest.list.firefox-tests-reftest 2021-09-01 19:15:06.000000000 +0200
|
|
||||||
+++ firefox-92.0/layout/reftests/position-sticky/reftest.list 2021-09-03 18:50:44.866939741 +0200
|
|
||||||
@@ -53,3 +52,0 @@
|
|
||||||
-fuzzy-if(Android,0-5,0-4) fuzzy-if(webrender&>kWidget,10-17,12-32) fuzzy-if(webrender&&cocoaWidget,7-8,18-42) skip-if(!asyncPan) fails-if(useDrawSnapshot) == transformed-2.html transformed-2-ref.html # Bug 1604644
|
|
||||||
-skip-if(!asyncPan) fuzzy-if(Android,0-10,0-4) fuzzy-if(webrender&>kWidget,19-30,12-32) fuzzy-if(webrender&&cocoaWidget,13-16,20-44) fails-if(useDrawSnapshot) == nested-sticky-1.html nested-sticky-1-ref.html # Bug 1604644
|
|
||||||
-skip-if(!asyncPan) fuzzy-if(Android,0-10,0-4) fuzzy-if(webrender&>kWidget,19-30,12-32) fuzzy-if(webrender&&cocoaWidget,13-16,20-44) fuzzy-if(/^Windows\x20NT\x206\.1/.test(http.oscpu),0-4,0-104) fails-if(useDrawSnapshot) == nested-sticky-2.html nested-sticky-2-ref.html # Bug 1604644
|
|
||||||
diff -U0 firefox-92.0/layout/reftests/reftest-sanity/reftest.list.firefox-tests-reftest firefox-92.0/layout/reftests/reftest-sanity/reftest.list
|
|
||||||
--- firefox-92.0/layout/reftests/reftest-sanity/reftest.list.firefox-tests-reftest 2021-09-01 19:15:06.000000000 +0200
|
|
||||||
+++ firefox-92.0/layout/reftests/reftest-sanity/reftest.list 2021-09-03 18:50:44.867939768 +0200
|
|
||||||
@@ -131,6 +131,6 @@
|
|
||||||
-pref(font.default.x-western,"serif") == font-serif.html font-default.html
|
|
||||||
-pref(font.default.x-western,"serif") != font-sans-serif.html font-default.html
|
|
||||||
-pref(font.default.x-western,"sans-serif") == font-sans-serif.html font-default.html
|
|
||||||
-pref(font.default.x-western,"sans-serif") != font-serif.html font-default.html
|
|
||||||
-fails pref(font.default.x-western,true) == font-serif.html font-default.html
|
|
||||||
-fails pref(font.default.x-western,0) == font-serif.html font-default.html
|
|
||||||
+#pref(font.default.x-western,"serif") == font-serif.html font-default.html
|
|
||||||
+#pref(font.default.x-western,"serif") != font-sans-serif.html font-default.html
|
|
||||||
+#pref(font.default.x-western,"sans-serif") == font-sans-serif.html font-default.html
|
|
||||||
+#pref(font.default.x-western,"sans-serif") != font-serif.html font-default.html
|
|
||||||
+#fails pref(font.default.x-western,true) == font-serif.html font-default.html
|
|
||||||
+#fails pref(font.default.x-western,0) == font-serif.html font-default.html
|
|
||||||
diff -U0 firefox-92.0/layout/reftests/svg/reftest.list.firefox-tests-reftest firefox-92.0/layout/reftests/svg/reftest.list
|
|
||||||
--- firefox-92.0/layout/reftests/svg/reftest.list.firefox-tests-reftest 2021-09-01 19:15:00.000000000 +0200
|
|
||||||
+++ firefox-92.0/layout/reftests/svg/reftest.list 2021-09-03 18:50:44.867939768 +0200
|
|
||||||
@@ -475 +475 @@
|
|
||||||
-random-if(winWidget) fuzzy-if(Android,0-10,0-2) == text-gradient-02.svg text-gradient-02-ref.svg # see bug 590101
|
|
||||||
+random-if(winWidget) fuzzy-if(gtkWidget,0-20,0-10) fuzzy-if(Android,0-10,0-2) == text-gradient-02.svg text-gradient-02-ref.svg # see bug 590101
|
|
||||||
@@ -482 +481,0 @@
|
|
||||||
-!= text-language-00.xhtml text-language-00-ref.xhtml
|
|
||||||
@@ -484 +483 @@
|
|
||||||
-random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == text-layout-01.svg text-layout-01-ref.svg # Bug 1392106
|
|
||||||
+fuzzy-if(gtkWidget,0-255,0-1769) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == text-layout-01.svg text-layout-01-ref.svg # Bug 1392106
|
|
||||||
@@ -492 +491 @@
|
|
||||||
-random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == text-layout-09.svg pass.svg # Bug 1392106
|
|
||||||
+fuzzy(0-255,0-237) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == text-layout-09.svg pass.svg # Bug 1392106
|
|
||||||
diff -U0 firefox-92.0/layout/reftests/svg/smil/style/reftest.list.firefox-tests-reftest firefox-92.0/layout/reftests/svg/smil/style/reftest.list
|
|
||||||
--- firefox-92.0/layout/reftests/svg/smil/style/reftest.list.firefox-tests-reftest 2021-09-01 19:15:06.000000000 +0200
|
|
||||||
+++ firefox-92.0/layout/reftests/svg/smil/style/reftest.list 2021-09-03 18:50:44.867939768 +0200
|
|
||||||
@@ -70 +70 @@
|
|
||||||
-random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) fuzzy-if(gtkWidget,255-255,1520-1520) == anim-css-font-1.svg anim-css-font-1-ref.svg # Windows: Bug 1392106 Linux: Bug 1599619
|
|
||||||
+random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == anim-css-font-1.svg anim-css-font-1-ref.svg # Windows: Bug 1392106 Linux: Bug 1599619
|
|
||||||
diff -U0 firefox-92.0/layout/reftests/svg/svg-integration/reftest.list.firefox-tests-reftest firefox-92.0/layout/reftests/svg/svg-integration/reftest.list
|
|
||||||
--- firefox-92.0/layout/reftests/svg/svg-integration/reftest.list.firefox-tests-reftest 2021-09-01 19:15:06.000000000 +0200
|
|
||||||
+++ firefox-92.0/layout/reftests/svg/svg-integration/reftest.list 2021-09-03 18:50:44.867939768 +0200
|
|
||||||
@@ -50 +50 @@
|
|
||||||
-fuzzy-if(Android,0-4,0-10) == box-decoration-break-01.xhtml box-decoration-break-01-ref.xhtml
|
|
||||||
+fuzzy-if(gtkWidget,0-5,0-11) fuzzy-if(Android,0-4,0-10) == box-decoration-break-01.xhtml box-decoration-break-01-ref.xhtml
|
|
||||||
@@ -52 +52 @@
|
|
||||||
-fuzzy(0-67,0-238) == box-decoration-break-03.xhtml box-decoration-break-01-ref.xhtml
|
|
||||||
+fuzzy(0-67,0-254) == box-decoration-break-03.xhtml box-decoration-break-01-ref.xhtml
|
|
||||||
diff -U0 firefox-92.0/layout/reftests/svg/text/reftest.list.firefox-tests-reftest firefox-92.0/layout/reftests/svg/text/reftest.list
|
|
||||||
--- firefox-92.0/layout/reftests/svg/text/reftest.list.firefox-tests-reftest 2021-09-01 19:15:06.000000000 +0200
|
|
||||||
+++ firefox-92.0/layout/reftests/svg/text/reftest.list 2021-09-03 18:50:44.867939768 +0200
|
|
||||||
@@ -203,2 +202,0 @@
|
|
||||||
-fuzzy-if(skiaContent,0-1,0-100) needs-focus fuzzy-if(webrender&&winWidget,55-148,200-318) == simple-bidi-selection.svg simple-bidi-selection-ref.html
|
|
||||||
-fuzzy-if(skiaContent,0-1,0-50) needs-focus fuzzy-if(webrender&&winWidget,55-148,200-254) fuzzy-if(webrender&&OSX,1-65,19-196) == simple-fill-color-selection.svg simple-fill-color-selection-ref.html
|
|
||||||
diff -U0 firefox-92.0/layout/reftests/tab-size/reftest.list.firefox-tests-reftest firefox-92.0/layout/reftests/tab-size/reftest.list
|
|
||||||
--- firefox-92.0/layout/reftests/tab-size/reftest.list.firefox-tests-reftest 2021-09-01 19:15:06.000000000 +0200
|
|
||||||
+++ firefox-92.0/layout/reftests/tab-size/reftest.list 2021-09-03 18:50:44.867939768 +0200
|
|
||||||
@@ -2,6 +2,6 @@
|
|
||||||
-== tab-size-8.html spaces-8.html
|
|
||||||
-== tab-size-4.html spaces-4.html
|
|
||||||
-== tab-size-4-span.html spaces-4.html
|
|
||||||
-== tab-size-4-spanoffset.html spaces-4-offset.html
|
|
||||||
-== tab-size-4-multiple.html spaces-4-multiple.html
|
|
||||||
-== tab-size-1.html spaces-1.html
|
|
||||||
+fuzzy-if(gtkWidget,0-255,0-70) == tab-size-8.html spaces-8.html
|
|
||||||
+fuzzy-if(gtkWidget,0-255,0-70) == tab-size-4.html spaces-4.html
|
|
||||||
+fuzzy-if(gtkWidget,0-255,0-70) == tab-size-4-span.html spaces-4.html
|
|
||||||
+fuzzy-if(gtkWidget,0-255,0-371) == tab-size-4-spanoffset.html spaces-4-offset.html
|
|
||||||
+fuzzy-if(gtkWidget,0-255,0-410) == tab-size-4-multiple.html spaces-4-multiple.html
|
|
||||||
+fuzzy-if(gtkWidget,0-255,0-63) == tab-size-1.html spaces-1.html
|
|
||||||
diff -U0 firefox-92.0/layout/reftests/text-decoration/reftest.list.firefox-tests-reftest firefox-92.0/layout/reftests/text-decoration/reftest.list
|
|
||||||
--- firefox-92.0/layout/reftests/text-decoration/reftest.list.firefox-tests-reftest 2021-09-01 19:15:06.000000000 +0200
|
|
||||||
+++ firefox-92.0/layout/reftests/text-decoration/reftest.list 2021-09-03 18:50:44.867939768 +0200
|
|
||||||
@@ -1,2 +1,2 @@
|
|
||||||
-fuzzy-if(webrender&>kWidget,0-208,0-12) == complex-decoration-style-quirks.html complex-decoration-style-quirks-ref.html
|
|
||||||
-fuzzy-if(webrender&>kWidget,0-208,0-12) == complex-decoration-style-standards.html complex-decoration-style-standards-ref.html
|
|
||||||
+fuzzy-if(gtkWidget,0-255,0-40) == complex-decoration-style-quirks.html complex-decoration-style-quirks-ref.html
|
|
||||||
+fuzzy-if(gtkWidget,0-255,0-40) == complex-decoration-style-standards.html complex-decoration-style-standards-ref.html
|
|
||||||
diff -U0 firefox-92.0/layout/reftests/text-overflow/reftest.list.firefox-tests-reftest firefox-92.0/layout/reftests/text-overflow/reftest.list
|
|
||||||
--- firefox-92.0/layout/reftests/text-overflow/reftest.list.firefox-tests-reftest 2021-09-01 19:15:06.000000000 +0200
|
|
||||||
+++ firefox-92.0/layout/reftests/text-overflow/reftest.list 2021-09-03 18:50:44.868939795 +0200
|
|
||||||
@@ -6 +6 @@
|
|
||||||
-skip-if(!gtkWidget) fuzzy-if(gtkWidget,0-124,0-289) == bidi-simple-scrolled.html bidi-simple-scrolled-ref.html # Fails on Windows and OSX due to anti-aliasing
|
|
||||||
+skip-if(!gtkWidget) fuzzy-if(gtkWidget,0-255,0-400) == bidi-simple-scrolled.html bidi-simple-scrolled-ref.html # Fails on Windows and OSX due to anti-aliasing
|
|
||||||
@@ -28 +28 @@
|
|
||||||
-== float-edges-1.html float-edges-1-ref.html
|
|
||||||
+fuzzy-if(gtkWidget,0-255,0-294) == float-edges-1.html float-edges-1-ref.html
|
|
||||||
diff -U0 firefox-92.0/layout/reftests/text/reftest.list.firefox-tests-reftest firefox-92.0/layout/reftests/text/reftest.list
|
|
||||||
--- firefox-92.0/layout/reftests/text/reftest.list.firefox-tests-reftest 2021-09-01 19:15:06.000000000 +0200
|
|
||||||
+++ firefox-92.0/layout/reftests/text/reftest.list 2021-09-03 18:50:44.868939795 +0200
|
|
||||||
@@ -190 +190 @@
|
|
||||||
-fails-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == 1320665-cmap-format-13.html 1320665-cmap-format-13-ref.html # see bug 1320665 comments 8-9
|
|
||||||
+fuzzy-if(gtkWidget,0-255,0-1071) fails-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == 1320665-cmap-format-13.html 1320665-cmap-format-13-ref.html # see bug 1320665 comments 8-9
|
|
||||||
@@ -193,2 +193,2 @@
|
|
||||||
-fuzzy-if(Android,0-128,0-233) == 1463020-letter-spacing-text-transform-1.html 1463020-letter-spacing-text-transform-1-ref.html
|
|
||||||
-fails-if(Android) == 1463020-letter-spacing-text-transform-2.html 1463020-letter-spacing-text-transform-2-ref.html # missing font coverage on Android
|
|
||||||
+fuzzy-if(gtkWidget,0-255,0-800) fails-if(/^^Windows\x20NT\x2010\.0/.test(http.oscpu)) fuzzy-if(Android,0-128,0-233) == 1463020-letter-spacing-text-transform-1.html 1463020-letter-spacing-text-transform-1-ref.html
|
|
||||||
+fuzzy-if(gtkWidget,0-255,0-1600) fails-if(Android) == 1463020-letter-spacing-text-transform-2.html 1463020-letter-spacing-text-transform-2-ref.html # missing font coverage on Android
|
|
||||||
@@ -198 +197,0 @@
|
|
||||||
-fuzzy-if(useDrawSnapshot&&webrender,255-255,50-50) fuzzy-if(!webrender,0-42,0-1590) fuzzy-if(gtkWidget&&!webrender,0-255,0-50) == 1655364-1.html 1655364-1-ref.html
|
|
||||||
@@ -366 +365 @@
|
|
||||||
-== color-opacity-rtl-1.html color-opacity-rtl-1-ref.html
|
|
||||||
+fuzzy-if(gtkWidget,0-5,0-5) == color-opacity-rtl-1.html color-opacity-rtl-1-ref.html
|
|
||||||
diff -U0 firefox-92.0/layout/reftests/text-transform/reftest.list.firefox-tests-reftest firefox-92.0/layout/reftests/text-transform/reftest.list
|
|
||||||
--- firefox-92.0/layout/reftests/text-transform/reftest.list.firefox-tests-reftest 2021-09-01 19:15:06.000000000 +0200
|
|
||||||
+++ firefox-92.0/layout/reftests/text-transform/reftest.list 2021-09-03 18:50:44.868939795 +0200
|
|
||||||
@@ -15 +15 @@
|
|
||||||
-random-if(winWidget) == small-caps-1.html small-caps-1-ref.html # fails if default font supports 'smcp'
|
|
||||||
+fuzzy-if(gtkWidget,0-255,0-571) random-if(winWidget) == small-caps-1.html small-caps-1-ref.html # fails if default font supports 'smcp'
|
|
||||||
diff -U0 firefox-92.0/layout/reftests/transform-3d/reftest.list.firefox-tests-reftest firefox-92.0/layout/reftests/transform-3d/reftest.list
|
|
||||||
--- firefox-92.0/layout/reftests/transform-3d/reftest.list.firefox-tests-reftest 2021-09-01 19:15:06.000000000 +0200
|
|
||||||
+++ firefox-92.0/layout/reftests/transform-3d/reftest.list 2021-09-03 18:50:44.868939795 +0200
|
|
||||||
@@ -14 +13,0 @@
|
|
||||||
-fuzzy-if(gtkWidget||winWidget,0-8,0-376) fuzzy-if(Android,0-8,0-441) fuzzy-if(skiaContent,0-16,0-346) fuzzy-if(webrender&&cocoaWidget,0-200,0-310) fuzzy-if(webrender&&winWidget,0-175,0-250) == preserve3d-1a.html preserve3d-1-ref.html
|
|
||||||
@@ -27,2 +26,2 @@
|
|
||||||
-fuzzy-if(winWidget,0-143,0-689) fuzzy-if(OSX,0-224,0-924) fuzzy-if(winWidget,0-154,0-644) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == scale3d-all.html scale3d-1-ref.html # subpixel AA
|
|
||||||
-fuzzy-if(winWidget,0-143,0-689) fuzzy-if(OSX,0-224,0-924) fuzzy-if(winWidget,0-154,0-644) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == scale3d-all-separate.html scale3d-1-ref.html # subpixel AA
|
|
||||||
+fuzzy-if(gtkWidget,0-100,0-628) fuzzy-if(winWidget,0-143,0-689) fuzzy-if(OSX,0-224,0-924) fuzzy-if(winWidget,0-154,0-644) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == scale3d-all.html scale3d-1-ref.html # subpixel AA
|
|
||||||
+fuzzy-if(gtkWidget,0-100,0-628) fuzzy-if(winWidget,0-143,0-689) fuzzy-if(OSX,0-224,0-924) fuzzy-if(winWidget,0-154,0-644) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == scale3d-all-separate.html scale3d-1-ref.html # subpixel AA
|
|
||||||
@@ -75,2 +74,2 @@
|
|
||||||
-fuzzy-if(skiaContent,0-1,0-4) fuzzy-if(cocoaWidget,0-128,0-9) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == animate-preserve3d-parent.html animate-preserve3d-ref.html # intermittently fuzzy on Mac
|
|
||||||
-fuzzy-if(skiaContent,0-1,0-4) fuzzy-if(cocoaWidget,0-128,0-9) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == animate-preserve3d-child.html animate-preserve3d-ref.html # intermittently fuzzy on Mac, bug 1461311 for Android
|
|
||||||
+fuzzy(0-1,0-9) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == animate-preserve3d-parent.html animate-preserve3d-ref.html # intermittently fuzzy on Mac
|
|
||||||
+fuzzy(0-1,0-6) fuzzy-if(cocoaWidget,0-128,0-9) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == animate-preserve3d-child.html animate-preserve3d-ref.html # intermittently fuzzy on Mac, bug 1461311 for Android
|
|
||||||
@@ -102 +100,0 @@
|
|
||||||
-fuzzy-if(webrender,0-6,0-3117) fuzzy-if(useDrawSnapshot,4-4,13-13) == 1637067-1.html 1637067-1-ref.html
|
|
||||||
diff -U0 firefox-92.0/layout/reftests/writing-mode/reftest.list.firefox-tests-reftest firefox-92.0/layout/reftests/writing-mode/reftest.list
|
|
||||||
--- firefox-92.0/layout/reftests/writing-mode/reftest.list.firefox-tests-reftest 2021-09-01 19:15:01.000000000 +0200
|
|
||||||
+++ firefox-92.0/layout/reftests/writing-mode/reftest.list 2021-09-03 18:50:44.868939795 +0200
|
|
||||||
@@ -20 +20 @@
|
|
||||||
-random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == 1091058-1.html 1091058-1-ref.html # Bug 1392106
|
|
||||||
+fuzzy(0-255,0-315) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == 1091058-1.html 1091058-1-ref.html # Bug 1392106
|
|
||||||
@@ -34 +34 @@
|
|
||||||
-fuzzy-if(Android,0-128,0-94) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == 1111944-1-list-marker.html 1111944-1-list-marker-ref.html # Bug 1392106
|
|
||||||
+fuzzy-if(gtkWidget,0-72,0-47) fuzzy-if(Android,0-128,0-94) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == 1111944-1-list-marker.html 1111944-1-list-marker-ref.html # Bug 1392106
|
|
||||||
@@ -114 +114 @@
|
|
||||||
-fails-if(geckoview) == 1135361-ruby-justify-1.html 1135361-ruby-justify-1-ref.html # Bug 1558513 for GV
|
|
||||||
+fuzzy-if(gtkWidget,0-255,0-2323) fails-if(geckoview) == 1135361-ruby-justify-1.html 1135361-ruby-justify-1-ref.html # Bug 1558513 for GV
|
|
||||||
@@ -154 +154 @@
|
|
||||||
-fuzzy-if(winWidget,0-3,0-84) == 1193519-sideways-lr-3.html 1193519-sideways-lr-3-ref.html
|
|
||||||
+fuzzy(0-255,0-610) fuzzy-if(winWidget,0-3,0-84) fails-if(webrender&&winWidget&&!swgl) == 1193519-sideways-lr-3.html 1193519-sideways-lr-3-ref.html
|
|
||||||
@@ -185 +185 @@
|
|
||||||
-== 1395926-vertical-upright-gpos-1.html 1395926-vertical-upright-gpos-1-ref.html
|
|
||||||
+fuzzy-if(gtkWidget,0-248,0-8) == 1395926-vertical-upright-gpos-1.html 1395926-vertical-upright-gpos-1-ref.html
|
|
||||||
diff -U0 firefox-92.0/layout/reftests/writing-mode/tables/reftest.list.firefox-tests-reftest firefox-92.0/layout/reftests/writing-mode/tables/reftest.list
|
|
||||||
--- firefox-92.0/layout/reftests/writing-mode/tables/reftest.list.firefox-tests-reftest 2021-09-01 19:15:06.000000000 +0200
|
|
||||||
+++ firefox-92.0/layout/reftests/writing-mode/tables/reftest.list 2021-09-03 18:50:44.868939795 +0200
|
|
||||||
@@ -34 +34 @@
|
|
||||||
-== fixed-table-layout-027-vlr.html fixed-table-layout-025-ref.html
|
|
||||||
+fuzzy-if(gtkWidget,0-260,0-250) == fixed-table-layout-027-vlr.html fixed-table-layout-025-ref.html
|
|
||||||
@@ -60 +60 @@
|
|
||||||
-== fixed-table-layout-027-vrl.html fixed-table-layout-025-ref.html
|
|
||||||
+fuzzy-if(gtkWidget,0-260,0-250) == fixed-table-layout-027-vrl.html fixed-table-layout-025-ref.html
|
|
||||||
@@ -77,2 +76,0 @@
|
|
||||||
-fuzzy-if(Android,0-255,0-38) == table-caption-top-1.html table-caption-top-1-ref.html
|
|
||||||
-fuzzy-if(Android,0-255,0-38) pref(layout.css.caption-side-non-standard.enabled,true) == table-caption-bottom-1.html table-caption-bottom-1-ref.html
|
|
||||||
diff -U0 firefox-92.0/layout/reftests/xul/reftest.list.firefox-tests-reftest firefox-92.0/layout/reftests/xul/reftest.list
|
|
||||||
--- firefox-92.0/layout/reftests/xul/reftest.list.firefox-tests-reftest 2021-09-01 19:15:06.000000000 +0200
|
|
||||||
+++ firefox-92.0/layout/reftests/xul/reftest.list 2021-09-03 18:50:44.869939823 +0200
|
|
||||||
@@ -15 +15 @@
|
|
||||||
-random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == chrome://reftest/content/xul/text-small-caps-1.xhtml chrome://reftest/content/xul/text-small-caps-1-ref.xhtml
|
|
||||||
+fuzzy-if(gtkWidget,0-255,0-5159) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == chrome://reftest/content/xul/text-small-caps-1.xhtml chrome://reftest/content/xul/text-small-caps-1-ref.xhtml
|
|
||||||
diff -U0 firefox-92.0/layout/xul/reftest/reftest.list.firefox-tests-reftest firefox-92.0/layout/xul/reftest/reftest.list
|
|
||||||
--- firefox-92.0/layout/xul/reftest/reftest.list.firefox-tests-reftest 2021-09-01 19:15:06.000000000 +0200
|
|
||||||
+++ firefox-92.0/layout/xul/reftest/reftest.list 2021-09-03 18:50:44.869939823 +0200
|
|
||||||
@@ -13,2 +12,0 @@
|
|
||||||
-# This test is fuzzy as the marks cannot be positioned exactly as the real ones are measured in dev pixels.
|
|
||||||
-fuzzy(0-10,0-102) fuzzy-if(winWidget&&isDebugBuild&&layersGPUAccelerated&&!is64Bit,1-1,102-102) == chrome://reftest/content/xul/reftest/scrollbar-marks-overlay.html chrome://reftest/content/xul/reftest/scrollbar-marks-overlay-ref.html
|
|
@ -1,147 +0,0 @@
|
|||||||
diff -U0 firefox-92.0/browser/components/enterprisepolicies/tests/xpcshell/xpcshell.ini.firefox-tests-xpcshell firefox-92.0/browser/components/enterprisepolicies/tests/xpcshell/xpcshell.ini
|
|
||||||
--- firefox-92.0/browser/components/enterprisepolicies/tests/xpcshell/xpcshell.ini.firefox-tests-xpcshell 2021-09-01 19:14:33.000000000 +0200
|
|
||||||
+++ firefox-92.0/browser/components/enterprisepolicies/tests/xpcshell/xpcshell.ini 2021-09-03 18:39:17.386058157 +0200
|
|
||||||
@@ -9 +8,0 @@
|
|
||||||
-[test_appupdateurl.js]
|
|
||||||
@@ -27 +25,0 @@
|
|
||||||
-[test_sorted_alphabetically.js]
|
|
||||||
diff -U0 firefox-92.0/netwerk/test/unit_ipc/xpcshell.ini.firefox-tests-xpcshell firefox-92.0/netwerk/test/unit_ipc/xpcshell.ini
|
|
||||||
--- firefox-92.0/netwerk/test/unit_ipc/xpcshell.ini.firefox-tests-xpcshell 2021-09-01 19:15:11.000000000 +0200
|
|
||||||
+++ firefox-92.0/netwerk/test/unit_ipc/xpcshell.ini 2021-09-03 18:41:07.754088004 +0200
|
|
||||||
@@ -73 +72,0 @@
|
|
||||||
-[test_dns_service_wrap.js]
|
|
||||||
@@ -114 +112,0 @@
|
|
||||||
-[test_trr_httpssvc_wrap.js]
|
|
||||||
diff -U0 firefox-92.0/netwerk/test/unit/xpcshell.ini.firefox-tests-xpcshell firefox-92.0/netwerk/test/unit/xpcshell.ini
|
|
||||||
--- firefox-92.0/netwerk/test/unit/xpcshell.ini.firefox-tests-xpcshell 2021-09-01 19:15:11.000000000 +0200
|
|
||||||
+++ firefox-92.0/netwerk/test/unit/xpcshell.ini 2021-09-03 18:41:58.545482327 +0200
|
|
||||||
@@ -205 +204,0 @@
|
|
||||||
-[test_dns_service.js]
|
|
||||||
@@ -221 +219,0 @@
|
|
||||||
-[test_file_protocol.js]
|
|
||||||
@@ -328 +325,0 @@
|
|
||||||
-[test_unix_domain.js]
|
|
||||||
@@ -340 +336,0 @@
|
|
||||||
-[test_udp_multicast.js]
|
|
||||||
@@ -390,2 +385,0 @@
|
|
||||||
-[test_tls_flags.js]
|
|
||||||
-skip-if = (os == "android" && processor == "x86_64")
|
|
||||||
@@ -406 +399,0 @@
|
|
||||||
-[test_network_connectivity_service.js]
|
|
||||||
@@ -503 +495,0 @@
|
|
||||||
-[test_httpssvc_retry_with_ech.js]
|
|
||||||
@@ -513 +504,0 @@
|
|
||||||
-[test_odoh.js]
|
|
||||||
diff -U0 firefox-92.0/security/manager/ssl/tests/unit/xpcshell.ini.firefox-tests-xpcshell firefox-92.0/security/manager/ssl/tests/unit/xpcshell.ini
|
|
||||||
--- firefox-92.0/security/manager/ssl/tests/unit/xpcshell.ini.firefox-tests-xpcshell 2021-09-01 19:15:06.000000000 +0200
|
|
||||||
+++ firefox-92.0/security/manager/ssl/tests/unit/xpcshell.ini 2021-09-03 18:41:07.755088031 +0200
|
|
||||||
@@ -115,4 +114,0 @@
|
|
||||||
-[test_encrypted_client_hello.js]
|
|
||||||
-run-sequentially = hardcoded ports
|
|
||||||
-[test_encrypted_client_hello_client_only.js]
|
|
||||||
-run-sequentially = hardcoded ports
|
|
||||||
@@ -180 +175,0 @@
|
|
||||||
-[test_oskeystore.js]
|
|
||||||
diff -U0 firefox-92.0/security/manager/ssl/tests/unit/xpcshell-smartcards.ini.firefox-tests-xpcshell firefox-92.0/security/manager/ssl/tests/unit/xpcshell-smartcards.ini
|
|
||||||
--- firefox-92.0/security/manager/ssl/tests/unit/xpcshell-smartcards.ini.firefox-tests-xpcshell 2021-09-01 19:15:18.000000000 +0200
|
|
||||||
+++ firefox-92.0/security/manager/ssl/tests/unit/xpcshell-smartcards.ini 2021-09-03 18:41:07.755088031 +0200
|
|
||||||
@@ -10 +9,0 @@
|
|
||||||
-[test_pkcs11_module.js]
|
|
||||||
diff -U0 firefox-92.0/toolkit/components/antitracking/test/xpcshell/xpcshell.ini.firefox-tests-xpcshell firefox-92.0/toolkit/components/antitracking/test/xpcshell/xpcshell.ini
|
|
||||||
--- firefox-92.0/toolkit/components/antitracking/test/xpcshell/xpcshell.ini.firefox-tests-xpcshell 2021-09-01 19:15:34.000000000 +0200
|
|
||||||
+++ firefox-92.0/toolkit/components/antitracking/test/xpcshell/xpcshell.ini 2021-09-03 18:41:07.755088031 +0200
|
|
||||||
@@ -11 +10,0 @@
|
|
||||||
-[test_staticPartition_font.js]
|
|
||||||
diff -U0 firefox-92.0/toolkit/components/commandlines/test/unit/xpcshell.ini.firefox-tests-xpcshell firefox-92.0/toolkit/components/commandlines/test/unit/xpcshell.ini
|
|
||||||
--- firefox-92.0/toolkit/components/commandlines/test/unit/xpcshell.ini.firefox-tests-xpcshell 2021-09-01 19:16:05.000000000 +0200
|
|
||||||
+++ firefox-92.0/toolkit/components/commandlines/test/unit/xpcshell.ini 2021-09-03 18:41:07.755088031 +0200
|
|
||||||
@@ -10 +9,0 @@
|
|
||||||
-[test_resolvefile.js]
|
|
||||||
diff -U0 firefox-92.0/toolkit/components/corroborator/test/xpcshell/test_verify_jar.js.firefox-tests-xpcshell firefox-92.0/toolkit/components/corroborator/test/xpcshell/test_verify_jar.js
|
|
||||||
--- firefox-92.0/toolkit/components/corroborator/test/xpcshell/test_verify_jar.js.firefox-tests-xpcshell 2021-09-01 19:16:00.000000000 +0200
|
|
||||||
+++ firefox-92.0/toolkit/components/corroborator/test/xpcshell/test_verify_jar.js 2021-09-03 18:41:07.755088031 +0200
|
|
||||||
@@ -30,5 +29,0 @@
|
|
||||||
-
|
|
||||||
- result = await Corroborate.verifyJar(
|
|
||||||
- do_get_file("data/signed-components.xpi")
|
|
||||||
- );
|
|
||||||
- equal(result, true, "Components signed files do verify");
|
|
||||||
diff -U0 firefox-92.0/toolkit/components/extensions/test/xpcshell/xpcshell-common.ini.firefox-tests-xpcshell firefox-92.0/toolkit/components/extensions/test/xpcshell/xpcshell-common.ini
|
|
||||||
--- firefox-92.0/toolkit/components/extensions/test/xpcshell/xpcshell-common.ini.firefox-tests-xpcshell 2021-09-01 19:16:05.000000000 +0200
|
|
||||||
+++ firefox-92.0/toolkit/components/extensions/test/xpcshell/xpcshell-common.ini 2021-09-03 18:41:07.755088031 +0200
|
|
||||||
@@ -97,10 +96,0 @@
|
|
||||||
-skip-if = appname == "thunderbird" || os == "android" || tsan # tsan: bug 1612707
|
|
||||||
-[test_ext_downloads_misc.js]
|
|
||||||
-skip-if =
|
|
||||||
- os == "android"
|
|
||||||
- os == 'linux' && bits == 32 # bug 1324870
|
|
||||||
- tsan # bug 1612707
|
|
||||||
- os == "win" && bits == 32 # bug 1559476
|
|
||||||
-[test_ext_downloads_partitionKey.js]
|
|
||||||
-skip-if = os == "android"
|
|
||||||
-[test_ext_downloads_private.js]
|
|
||||||
@@ -288,2 +277,0 @@
|
|
||||||
-[test_proxy_listener.js]
|
|
||||||
-skip-if = appname == "thunderbird"
|
|
||||||
diff -U0 firefox-92.0/toolkit/components/search/tests/xpcshell/xpcshell.ini.firefox-tests-xpcshell firefox-92.0/toolkit/components/search/tests/xpcshell/xpcshell.ini
|
|
||||||
--- firefox-92.0/toolkit/components/search/tests/xpcshell/xpcshell.ini.firefox-tests-xpcshell 2021-09-01 19:16:05.000000000 +0200
|
|
||||||
+++ firefox-92.0/toolkit/components/search/tests/xpcshell/xpcshell.ini 2021-09-03 18:41:07.755088031 +0200
|
|
||||||
@@ -124 +123,0 @@
|
|
||||||
-[test_reload_engines.js]
|
|
||||||
@@ -131 +129,0 @@
|
|
||||||
-[test_searchSuggest.js]
|
|
||||||
@@ -142,2 +139,0 @@
|
|
||||||
-[test_settings.js]
|
|
||||||
-[test_sort_orders-no-hints.js]
|
|
||||||
diff -U0 firefox-92.0/toolkit/components/telemetry/tests/unit/test_TelemetrySession.js.firefox-tests-xpcshell firefox-92.0/toolkit/components/telemetry/tests/unit/test_TelemetrySession.js
|
|
||||||
--- firefox-92.0/toolkit/components/telemetry/tests/unit/test_TelemetrySession.js.firefox-tests-xpcshell 2021-09-01 19:16:00.000000000 +0200
|
|
||||||
+++ firefox-92.0/toolkit/components/telemetry/tests/unit/test_TelemetrySession.js 2021-09-03 18:41:07.755088031 +0200
|
|
||||||
@@ -594,20 +593,0 @@
|
|
||||||
- Assert.ok(
|
|
||||||
- withSuspend - withoutSuspend <= max_delta_ms,
|
|
||||||
- "In test condition, the two uptimes should be close to each other"
|
|
||||||
- );
|
|
||||||
-
|
|
||||||
- // This however should always hold, except on Windows < 10, where the two
|
|
||||||
- // clocks are from different system calls, and it can fail in test condition
|
|
||||||
- // because the machine has not been suspended.
|
|
||||||
- if (
|
|
||||||
- AppConstants.platform != "win" ||
|
|
||||||
- AppConstants.isPlatformAndVersionAtLeast("win", "10.0")
|
|
||||||
- ) {
|
|
||||||
- Assert.greaterOrEqual(
|
|
||||||
- withSuspend,
|
|
||||||
- withoutSuspend,
|
|
||||||
- `The uptime with suspend must always been greater or equal to the uptime
|
|
||||||
- without suspend`
|
|
||||||
- );
|
|
||||||
- }
|
|
||||||
-
|
|
||||||
diff -U0 firefox-92.0/toolkit/mozapps/downloads/tests/unit/xpcshell.ini.firefox-tests-xpcshell firefox-92.0/toolkit/mozapps/downloads/tests/unit/xpcshell.ini
|
|
||||||
--- firefox-92.0/toolkit/mozapps/downloads/tests/unit/xpcshell.ini.firefox-tests-xpcshell 2021-09-01 19:16:01.000000000 +0200
|
|
||||||
+++ firefox-92.0/toolkit/mozapps/downloads/tests/unit/xpcshell.ini 2021-09-03 18:41:07.755088031 +0200
|
|
||||||
@@ -4 +3,0 @@
|
|
||||||
-[test_DownloadUtils.js]
|
|
||||||
diff -U0 firefox-92.0/toolkit/mozapps/extensions/test/xpcshell/xpcshell.ini.firefox-tests-xpcshell firefox-92.0/toolkit/mozapps/extensions/test/xpcshell/xpcshell.ini
|
|
||||||
--- firefox-92.0/toolkit/mozapps/extensions/test/xpcshell/xpcshell.ini.firefox-tests-xpcshell 2021-09-01 19:16:01.000000000 +0200
|
|
||||||
+++ firefox-92.0/toolkit/mozapps/extensions/test/xpcshell/xpcshell.ini 2021-09-03 18:41:07.756088058 +0200
|
|
||||||
@@ -91 +90,0 @@
|
|
||||||
-[test_sideloads_after_rebuild.js]
|
|
||||||
@@ -106 +104,0 @@
|
|
||||||
-[test_startup_scan.js]
|
|
||||||
@@ -187,2 +184,0 @@
|
|
||||||
-tags = webextensions
|
|
||||||
-[test_webextension_theme.js]
|
|
||||||
diff -U0 firefox-92.0/toolkit/profile/xpcshell/xpcshell.ini.firefox-tests-xpcshell firefox-92.0/toolkit/profile/xpcshell/xpcshell.ini
|
|
||||||
--- firefox-92.0/toolkit/profile/xpcshell/xpcshell.ini.firefox-tests-xpcshell 2021-09-01 19:15:35.000000000 +0200
|
|
||||||
+++ firefox-92.0/toolkit/profile/xpcshell/xpcshell.ini 2021-09-03 18:41:07.756088058 +0200
|
|
||||||
@@ -32,3 +31,0 @@
|
|
||||||
-[test_snatch_environment.js]
|
|
||||||
-[test_skip_locked_environment.js]
|
|
||||||
-[test_snatch_environment_default.js]
|
|
||||||
diff -U0 firefox-92.0/uriloader/exthandler/tests/unit/test_handlerService.js.firefox-tests-xpcshell firefox-92.0/uriloader/exthandler/tests/unit/test_handlerService.js
|
|
||||||
--- firefox-92.0/uriloader/exthandler/tests/unit/test_handlerService.js.firefox-tests-xpcshell 2021-09-01 19:16:05.000000000 +0200
|
|
||||||
+++ firefox-92.0/uriloader/exthandler/tests/unit/test_handlerService.js 2021-09-03 18:41:07.756088058 +0200
|
|
||||||
@@ -145 +145 @@
|
|
||||||
- Assert.ok(!protoInfo.alwaysAskBeforeHandling);
|
|
||||||
+ //Assert.ok(!protoInfo.alwaysAskBeforeHandling);
|
|
@ -1,235 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Version=1.0
|
|
||||||
Name=Firefox on Wayland
|
|
||||||
GenericName=Web Browser
|
|
||||||
Comment=Browse the Web
|
|
||||||
Exec=firefox-wayland --name firefox-wayland %u
|
|
||||||
Icon=firefox
|
|
||||||
Terminal=false
|
|
||||||
Type=Application
|
|
||||||
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
|
|
||||||
StartupNotify=true
|
|
||||||
Categories=Network;WebBrowser;
|
|
||||||
Keywords=web;browser;internet;
|
|
||||||
Actions=new-window;new-private-window;profile-manager-window;
|
|
||||||
|
|
||||||
[Desktop Action new-window]
|
|
||||||
Name=Open a New Window
|
|
||||||
Name[ach]=Dirica manyen
|
|
||||||
Name[af]=Nuwe venster
|
|
||||||
Name[an]=Nueva finestra
|
|
||||||
Name[ar]=نافذة جديدة
|
|
||||||
Name[as]=নতুন উইন্ডো
|
|
||||||
Name[ast]=Ventana nueva
|
|
||||||
Name[az]=Yeni Pəncərə
|
|
||||||
Name[be]=Новае акно
|
|
||||||
Name[bg]=Нов прозорец
|
|
||||||
Name[bn_BD]=নতুন উইন্ডো (N)
|
|
||||||
Name[bn_IN]=নতুন উইন্ডো
|
|
||||||
Name[br]=Prenestr nevez
|
|
||||||
Name[brx]=गोदान उइन्ड'(N)
|
|
||||||
Name[bs]=Novi prozor
|
|
||||||
Name[ca]=Finestra nova
|
|
||||||
Name[cak]=K'ak'a' tzuwäch
|
|
||||||
Name[cs]=Nové okno
|
|
||||||
Name[cy]=Ffenestr Newydd
|
|
||||||
Name[da]=Nyt vindue
|
|
||||||
Name[de]=Neues Fenster
|
|
||||||
Name[dsb]=Nowe wokno
|
|
||||||
Name[el]=Νέο παράθυρο
|
|
||||||
Name[en_GB]=New Window
|
|
||||||
Name[en_US]=New Window
|
|
||||||
Name[en_ZA]=New Window
|
|
||||||
Name[eo]=Nova fenestro
|
|
||||||
Name[es_AR]=Nueva ventana
|
|
||||||
Name[es_CL]=Nueva ventana
|
|
||||||
Name[es_ES]=Nueva ventana
|
|
||||||
Name[es_MX]=Nueva ventana
|
|
||||||
Name[et]=Uus aken
|
|
||||||
Name[eu]=Leiho berria
|
|
||||||
Name[fa]=پنجره جدید
|
|
||||||
Name[ff]=Henorde Hesere
|
|
||||||
Name[fi]=Uusi ikkuna
|
|
||||||
Name[fr]=Nouvelle fenêtre
|
|
||||||
Name[fy_NL]=Nij finster
|
|
||||||
Name[ga_IE]=Fuinneog Nua
|
|
||||||
Name[gd]=Uinneag ùr
|
|
||||||
Name[gl]=Nova xanela
|
|
||||||
Name[gn]=Ovetã pyahu
|
|
||||||
Name[gu_IN]=નવી વિન્ડો
|
|
||||||
Name[he]=חלון חדש
|
|
||||||
Name[hi_IN]=नया विंडो
|
|
||||||
Name[hr]=Novi prozor
|
|
||||||
Name[hsb]=Nowe wokno
|
|
||||||
Name[hu]=Új ablak
|
|
||||||
Name[hy_AM]=Նոր Պատուհան
|
|
||||||
Name[id]=Jendela Baru
|
|
||||||
Name[is]=Nýr gluggi
|
|
||||||
Name[it]=Nuova finestra
|
|
||||||
Name[ja]=新しいウィンドウ
|
|
||||||
Name[ja_JP-mac]=新規ウインドウ
|
|
||||||
Name[ka]=ახალი ფანჯარა
|
|
||||||
Name[kk]=Жаңа терезе
|
|
||||||
Name[km]=បង្អួចថ្មី
|
|
||||||
Name[kn]=ಹೊಸ ಕಿಟಕಿ
|
|
||||||
Name[ko]=새 창
|
|
||||||
Name[kok]=नवें जनेल
|
|
||||||
Name[ks]=نئئ وِنڈو
|
|
||||||
Name[lij]=Neuvo barcon
|
|
||||||
Name[lo]=ຫນ້າຕ່າງໃຫມ່
|
|
||||||
Name[lt]=Naujas langas
|
|
||||||
Name[ltg]=Jauns lūgs
|
|
||||||
Name[lv]=Jauns logs
|
|
||||||
Name[mai]=नव विंडो
|
|
||||||
Name[mk]=Нов прозорец
|
|
||||||
Name[ml]=പുതിയ ജാലകം
|
|
||||||
Name[mr]=नवीन पटल
|
|
||||||
Name[ms]=Tetingkap Baru
|
|
||||||
Name[my]=ဝင်းဒိုးအသစ်
|
|
||||||
Name[nb_NO]=Nytt vindu
|
|
||||||
Name[ne_NP]=नयाँ सञ्झ्याल
|
|
||||||
Name[nl]=Nieuw venster
|
|
||||||
Name[nn_NO]=Nytt vindauge
|
|
||||||
Name[or]=ନୂତନ ୱିଣ୍ଡୋ
|
|
||||||
Name[pa_IN]=ਨਵੀਂ ਵਿੰਡੋ
|
|
||||||
Name[pl]=Nowe okno
|
|
||||||
Name[pt_BR]=Nova janela
|
|
||||||
Name[pt_PT]=Nova janela
|
|
||||||
Name[rm]=Nova fanestra
|
|
||||||
Name[ro]=Fereastră nouă
|
|
||||||
Name[ru]=Новое окно
|
|
||||||
Name[sat]=नावा विंडो (N)
|
|
||||||
Name[si]=නව කවුළුවක්
|
|
||||||
Name[sk]=Nové okno
|
|
||||||
Name[sl]=Novo okno
|
|
||||||
Name[son]=Zanfun taaga
|
|
||||||
Name[sq]=Dritare e Re
|
|
||||||
Name[sr]=Нови прозор
|
|
||||||
Name[sv_SE]=Nytt fönster
|
|
||||||
Name[ta]=புதிய சாளரம்
|
|
||||||
Name[te]=కొత్త విండో
|
|
||||||
Name[th]=หน้าต่างใหม่
|
|
||||||
Name[tr]=Yeni pencere
|
|
||||||
Name[tsz]=Eraatarakua jimpani
|
|
||||||
Name[uk]=Нове вікно
|
|
||||||
Name[ur]=نیا دریچہ
|
|
||||||
Name[uz]=Yangi oyna
|
|
||||||
Name[vi]=Cửa sổ mới
|
|
||||||
Name[wo]=Palanteer bu bees
|
|
||||||
Name[xh]=Ifestile entsha
|
|
||||||
Name[zh_CN]=新建窗口
|
|
||||||
Name[zh_TW]=開新視窗
|
|
||||||
Exec=firefox-wayland --name firefox-wayland --new-window %u
|
|
||||||
|
|
||||||
[Desktop Action new-private-window]
|
|
||||||
Name=Open a New Private Window
|
|
||||||
Name[ach]=Dirica manyen me mung
|
|
||||||
Name[af]=Nuwe privaatvenster
|
|
||||||
Name[an]=Nueva finestra privada
|
|
||||||
Name[ar]=نافذة خاصة جديدة
|
|
||||||
Name[as]=নতুন ব্যক্তিগত উইন্ডো
|
|
||||||
Name[ast]=Ventana privada nueva
|
|
||||||
Name[az]=Yeni Məxfi Pəncərə
|
|
||||||
Name[be]=Новае акно адасаблення
|
|
||||||
Name[bg]=Нов прозорец за поверително сърфиране
|
|
||||||
Name[bn_BD]=নতুন ব্যক্তিগত উইন্ডো
|
|
||||||
Name[bn_IN]=নতুন ব্যক্তিগত উইন্ডো
|
|
||||||
Name[br]=Prenestr merdeiñ prevez nevez
|
|
||||||
Name[brx]=गोदान प्राइभेट उइन्ड'
|
|
||||||
Name[bs]=Novi privatni prozor
|
|
||||||
Name[ca]=Finestra privada nova
|
|
||||||
Name[cak]=K'ak'a' ichinan tzuwäch
|
|
||||||
Name[cs]=Nové anonymní okno
|
|
||||||
Name[cy]=Ffenestr Breifat Newydd
|
|
||||||
Name[da]=Nyt privat vindue
|
|
||||||
Name[de]=Neues privates Fenster
|
|
||||||
Name[dsb]=Nowe priwatne wokno
|
|
||||||
Name[el]=Νέο παράθυρο ιδιωτικής περιήγησης
|
|
||||||
Name[en_GB]=New Private Window
|
|
||||||
Name[en_US]=New Private Window
|
|
||||||
Name[en_ZA]=New Private Window
|
|
||||||
Name[eo]=Nova privata fenestro
|
|
||||||
Name[es_AR]=Nueva ventana privada
|
|
||||||
Name[es_CL]=Nueva ventana privada
|
|
||||||
Name[es_ES]=Nueva ventana privada
|
|
||||||
Name[es_MX]=Nueva ventana privada
|
|
||||||
Name[et]=Uus privaatne aken
|
|
||||||
Name[eu]=Leiho pribatu berria
|
|
||||||
Name[fa]=پنجره ناشناس جدید
|
|
||||||
Name[ff]=Henorde Suturo Hesere
|
|
||||||
Name[fi]=Uusi yksityinen ikkuna
|
|
||||||
Name[fr]=Nouvelle fenêtre de navigation privée
|
|
||||||
Name[fy_NL]=Nij priveefinster
|
|
||||||
Name[ga_IE]=Fuinneog Nua Phríobháideach
|
|
||||||
Name[gd]=Uinneag phrìobhaideach ùr
|
|
||||||
Name[gl]=Nova xanela privada
|
|
||||||
Name[gn]=Ovetã ñemi pyahu
|
|
||||||
Name[gu_IN]=નવી ખાનગી વિન્ડો
|
|
||||||
Name[he]=חלון פרטי חדש
|
|
||||||
Name[hi_IN]=नयी निजी विंडो
|
|
||||||
Name[hr]=Novi privatni prozor
|
|
||||||
Name[hsb]=Nowe priwatne wokno
|
|
||||||
Name[hu]=Új privát ablak
|
|
||||||
Name[hy_AM]=Սկսել Գաղտնի դիտարկում
|
|
||||||
Name[id]=Jendela Mode Pribadi Baru
|
|
||||||
Name[is]=Nýr huliðsgluggi
|
|
||||||
Name[it]=Nuova finestra anonima
|
|
||||||
Name[ja]=新しいプライベートウィンドウ
|
|
||||||
Name[ja_JP-mac]=新規プライベートウインドウ
|
|
||||||
Name[ka]=ახალი პირადი ფანჯარა
|
|
||||||
Name[kk]=Жаңа жекелік терезе
|
|
||||||
Name[km]=បង្អួចឯកជនថ្មី
|
|
||||||
Name[kn]=ಹೊಸ ಖಾಸಗಿ ಕಿಟಕಿ
|
|
||||||
Name[ko]=새 사생활 보호 모드
|
|
||||||
Name[kok]=नवो खाजगी विंडो
|
|
||||||
Name[ks]=نْو پرایوٹ وینڈو&
|
|
||||||
Name[lij]=Neuvo barcon privou
|
|
||||||
Name[lo]=ເປີດຫນ້າຕ່າງສວນຕົວຂື້ນມາໃຫມ່
|
|
||||||
Name[lt]=Naujas privataus naršymo langas
|
|
||||||
Name[ltg]=Jauns privatais lūgs
|
|
||||||
Name[lv]=Jauns privātais logs
|
|
||||||
Name[mai]=नया निज विंडो (W)
|
|
||||||
Name[mk]=Нов приватен прозорец
|
|
||||||
Name[ml]=പുതിയ സ്വകാര്യ ജാലകം
|
|
||||||
Name[mr]=नवीन वैयक्तिक पटल
|
|
||||||
Name[ms]=Tetingkap Persendirian Baharu
|
|
||||||
Name[my]=New Private Window
|
|
||||||
Name[nb_NO]=Nytt privat vindu
|
|
||||||
Name[ne_NP]=नयाँ निजी सञ्झ्याल
|
|
||||||
Name[nl]=Nieuw privévenster
|
|
||||||
Name[nn_NO]=Nytt privat vindauge
|
|
||||||
Name[or]=ନୂତନ ବ୍ୟକ୍ତିଗତ ୱିଣ୍ଡୋ
|
|
||||||
Name[pa_IN]=ਨਵੀਂ ਪ੍ਰਾਈਵੇਟ ਵਿੰਡੋ
|
|
||||||
Name[pl]=Nowe okno prywatne
|
|
||||||
Name[pt_BR]=Nova janela privativa
|
|
||||||
Name[pt_PT]=Nova janela privada
|
|
||||||
Name[rm]=Nova fanestra privata
|
|
||||||
Name[ro]=Fereastră privată nouă
|
|
||||||
Name[ru]=Новое приватное окно
|
|
||||||
Name[sat]=नावा निजेराक् विंडो (W )
|
|
||||||
Name[si]=නව පුද්ගලික කවුළුව (W)
|
|
||||||
Name[sk]=Nové okno v režime Súkromné prehliadanie
|
|
||||||
Name[sl]=Novo zasebno okno
|
|
||||||
Name[son]=Sutura zanfun taaga
|
|
||||||
Name[sq]=Dritare e Re Private
|
|
||||||
Name[sr]=Нови приватан прозор
|
|
||||||
Name[sv_SE]=Nytt privat fönster
|
|
||||||
Name[ta]=புதிய தனிப்பட்ட சாளரம்
|
|
||||||
Name[te]=కొత్త ఆంతరంగిక విండో
|
|
||||||
Name[th]=หน้าต่างส่วนตัวใหม่
|
|
||||||
Name[tr]=Yeni gizli pencere
|
|
||||||
Name[tsz]=Juchiiti eraatarakua jimpani
|
|
||||||
Name[uk]=Приватне вікно
|
|
||||||
Name[ur]=نیا نجی دریچہ
|
|
||||||
Name[uz]=Yangi maxfiy oyna
|
|
||||||
Name[vi]=Cửa sổ riêng tư mới
|
|
||||||
Name[wo]=Panlanteeru biir bu bees
|
|
||||||
Name[xh]=Ifestile yangasese entsha
|
|
||||||
Name[zh_CN]=新建隐私浏览窗口
|
|
||||||
Name[zh_TW]=新增隱私視窗
|
|
||||||
Exec=firefox-wayland --private-window --name firefox-wayland %u
|
|
||||||
|
|
||||||
[Desktop Action profile-manager-window]
|
|
||||||
Name=Open the Profile Manager
|
|
||||||
Name[cs]=Správa profilů
|
|
||||||
Exec=firefox-wayland --name firefox-wayland --ProfileManager
|
|
@ -1,7 +0,0 @@
|
|||||||
#!/usr/bin/bash
|
|
||||||
#
|
|
||||||
# Run Firefox under Wayland
|
|
||||||
#
|
|
||||||
|
|
||||||
export MOZ_ENABLE_WAYLAND=1
|
|
||||||
exec /__PREFIX__/bin/firefox "$@"
|
|
31
firefox.1
31
firefox.1
@ -1,4 +1,4 @@
|
|||||||
.TH FIREFOX 1 "July 10, 2019" firefox "Linux User's Manual"
|
.TH FIREFOX 1 "November 30, 2017" firefox "Linux User's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
firefox \- a Web browser for X11 derived from the Mozilla browser
|
firefox \- a Web browser for X11 derived from the Mozilla browser
|
||||||
|
|
||||||
@ -33,10 +33,10 @@ Make all warnings fatal
|
|||||||
|
|
||||||
.SS "Firefox options"
|
.SS "Firefox options"
|
||||||
.TP
|
.TP
|
||||||
.B \-h, \--help
|
.B \-h, \-help
|
||||||
Show summary of options.
|
Show summary of options.
|
||||||
.TP
|
.TP
|
||||||
.B \-v, \--version
|
.B \-v, \-version
|
||||||
Print Firefox version.
|
Print Firefox version.
|
||||||
.TP
|
.TP
|
||||||
\fB\-P\fR \fIprofile\fR
|
\fB\-P\fR \fIprofile\fR
|
||||||
@ -63,22 +63,11 @@ Start with \fIlocale\fR resources as UI Locale.
|
|||||||
\fB\-\-safe\-mode\fR
|
\fB\-\-safe\-mode\fR
|
||||||
Disables extensions and themes for this session.
|
Disables extensions and themes for this session.
|
||||||
.TP
|
.TP
|
||||||
\fB\--allow-downgrade\fR
|
|
||||||
Allows downgrading a profile.
|
|
||||||
.TP
|
|
||||||
\fB\--MOZ_LOG\fR=\fImodules\fR
|
|
||||||
Treated as \fBMOZ_LOG\fR=\fImodules\fR environment variable, overrides it.
|
|
||||||
.TP
|
|
||||||
\fB\--MOZ_LOG_FILE\fR=\fIfile\fR
|
|
||||||
Treated as \fBMOZ_LOG_FILE\fR=\fIfile\fR environment variable, overrides it. If
|
|
||||||
MOZ_LOG_FILE is not specified as an argument or as an environment variable,
|
|
||||||
logging will be written to stdout.
|
|
||||||
.TP
|
|
||||||
\fB\-\-headless\fR
|
\fB\-\-headless\fR
|
||||||
Run without a GUI.
|
Run without a GUI.
|
||||||
.TP
|
.TP
|
||||||
\fB\-\-save-recordings\fR
|
\fB\-\-marionette\fR
|
||||||
Save recordings for all content processes to a directory.
|
Enable remote control server.
|
||||||
.TP
|
.TP
|
||||||
\fB\-\-browser\fR
|
\fB\-\-browser\fR
|
||||||
Open a browser window.
|
Open a browser window.
|
||||||
@ -104,9 +93,8 @@ Width and optionally height of screenshot.
|
|||||||
\fB\-\-search\fR \fIterm\fR
|
\fB\-\-search\fR \fIterm\fR
|
||||||
Search \fIterm\fR with your default search engine.
|
Search \fIterm\fR with your default search engine.
|
||||||
.TP
|
.TP
|
||||||
\fB\-\-setDefaultBrowser\fR
|
|
||||||
Set this app as the default browser.
|
|
||||||
.TP
|
|
||||||
\fB\-\-jsconsole\fR
|
\fB\-\-jsconsole\fR
|
||||||
Open the Browser Console.
|
Open the Browser Console.
|
||||||
.TP
|
.TP
|
||||||
@ -127,6 +115,9 @@ Record drawing for a given URL.
|
|||||||
.TP
|
.TP
|
||||||
\fB\-\-recording-output\fR \fIfile\fR
|
\fB\-\-recording-output\fR \fIfile\fR
|
||||||
Specify destination file for a drawing recording.
|
Specify destination file for a drawing recording.
|
||||||
|
.TP
|
||||||
|
\fB\-\-setDefaultBrowser\fR
|
||||||
|
Set this app as the default browser.
|
||||||
|
|
||||||
.SH FILES
|
.SH FILES
|
||||||
\fI/usr/bin/firefox\fR - shell script wrapping
|
\fI/usr/bin/firefox\fR - shell script wrapping
|
||||||
@ -136,7 +127,7 @@ Specify destination file for a drawing recording.
|
|||||||
executable
|
executable
|
||||||
|
|
||||||
.SH VERSION
|
.SH VERSION
|
||||||
68.0
|
57.0
|
||||||
|
|
||||||
.SH BUGS
|
.SH BUGS
|
||||||
To report a bug, please visit \fIhttp://bugzilla.mozilla.org/\fR
|
To report a bug, please visit \fIhttp://bugzilla.mozilla.org/\fR
|
||||||
|
@ -51,8 +51,6 @@ StartupNotify=true
|
|||||||
Categories=Network;WebBrowser;
|
Categories=Network;WebBrowser;
|
||||||
Keywords=web;browser;internet;
|
Keywords=web;browser;internet;
|
||||||
Actions=new-window;new-private-window;profile-manager-window;
|
Actions=new-window;new-private-window;profile-manager-window;
|
||||||
# Activable desktop file crashes KDE so remove it for now
|
|
||||||
# DBusActivatable=true
|
|
||||||
|
|
||||||
[Desktop Action new-window]
|
[Desktop Action new-window]
|
||||||
Name=Open a New Window
|
Name=Open a New Window
|
||||||
@ -274,5 +272,4 @@ Exec=firefox --private-window %u
|
|||||||
Name=Open the Profile Manager
|
Name=Open the Profile Manager
|
||||||
Name[cs]=Správa profilů
|
Name[cs]=Správa profilů
|
||||||
Name[de]=Profilverwaltung öffnen
|
Name[de]=Profilverwaltung öffnen
|
||||||
Name[fr]=Ouvrir le gestionnaire de profils
|
|
||||||
Exec=firefox --ProfileManager
|
Exec=firefox --ProfileManager
|
||||||
|
@ -67,6 +67,22 @@ MOZ_PROGRAM="$MOZ_DIST_BIN/$MOZ_FIREFOX_FILE"
|
|||||||
MOZ_LAUNCHER="$MOZ_DIST_BIN/run-mozilla.sh"
|
MOZ_LAUNCHER="$MOZ_DIST_BIN/run-mozilla.sh"
|
||||||
GETENFORCE_FILE="/usr/sbin/getenforce"
|
GETENFORCE_FILE="/usr/sbin/getenforce"
|
||||||
|
|
||||||
|
##
|
||||||
|
## Enable Wayland backend?
|
||||||
|
##
|
||||||
|
%DISABLE_WAYLAND_PLACEHOLDER%
|
||||||
|
|
||||||
|
if ! [ $MOZ_DISABLE_WAYLAND ] && [ "$WAYLAND_DISPLAY" ]; then
|
||||||
|
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ]; then
|
||||||
|
export MOZ_ENABLE_WAYLAND=1
|
||||||
|
fi
|
||||||
|
## Enable Wayland on KDE/Sway
|
||||||
|
##
|
||||||
|
if [ "$XDG_SESSION_TYPE" == "wayland" ]; then
|
||||||
|
export MOZ_ENABLE_WAYLAND=1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
##
|
##
|
||||||
## Use D-Bus remote exclusively when there's Wayland display.
|
## Use D-Bus remote exclusively when there's Wayland display.
|
||||||
##
|
##
|
||||||
@ -115,14 +131,9 @@ FONTCONFIG_PATH="/etc/fonts:${MOZILLA_FIVE_HOME}/res/Xft"
|
|||||||
export FONTCONFIG_PATH
|
export FONTCONFIG_PATH
|
||||||
|
|
||||||
##
|
##
|
||||||
## We want Firefox to use Openh264 provided by Fedora.
|
## We want Firefox to use Openh264 provided by Fedora
|
||||||
##
|
|
||||||
## We used to configure it here but It's set by /etc/profile.d/gmpopenh264.sh
|
|
||||||
## script from mozilla-openh264 package now. Let's keep it here just
|
|
||||||
## for the record.
|
|
||||||
##
|
|
||||||
## export MOZ_GMP_PATH=$MOZ_LIB_DIR/mozilla/plugins/gmp-gmpopenh264/system-installed
|
|
||||||
##
|
##
|
||||||
|
export MOZ_GMP_PATH=$MOZ_LIB_DIR/mozilla/plugins/gmp-gmpopenh264/system-installed
|
||||||
|
|
||||||
##
|
##
|
||||||
## In order to better support certain scripts (such as Indic and some CJK
|
## In order to better support certain scripts (such as Indic and some CJK
|
||||||
@ -151,7 +162,7 @@ export G_SLICE=always-malloc
|
|||||||
##
|
##
|
||||||
## Enable Xinput2 (mozbz#1207973)
|
## Enable Xinput2 (mozbz#1207973)
|
||||||
##
|
##
|
||||||
export MOZ_USE_XINPUT2=${MOZ_USE_XINPUT2-1}
|
export MOZ_USE_XINPUT2=1
|
||||||
|
|
||||||
# OK, here's where all the real work gets done
|
# OK, here's where all the real work gets done
|
||||||
|
|
||||||
@ -184,8 +195,8 @@ fi
|
|||||||
# When Firefox is not running, restore SELinux labels for profile files
|
# When Firefox is not running, restore SELinux labels for profile files
|
||||||
# (rhbz#1731371)
|
# (rhbz#1731371)
|
||||||
if [ $MOZILLA_DOWN -ne 0 ]; then
|
if [ $MOZILLA_DOWN -ne 0 ]; then
|
||||||
if [ -x $GETENFORCE_FILE ] && [ `$GETENFORCE_FILE` != "Disabled" ]; then
|
if [ -x $GETENFORCE_FILE ] && [ `$GETENFORCE_FILE` != "Disabled" ] && [ -d ~/.mozilla/firefox ]; then
|
||||||
(restorecon -vr ~/.mozilla/firefox/* &)
|
(/usr/sbin/restorecon -vr ~/.mozilla/firefox &)
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -221,17 +232,8 @@ if [ $MOZILLA_DOWN -ne 0 ]; then
|
|||||||
if [ -h $MOZ_LANGPACKS_DIR/$langpack ]; then
|
if [ -h $MOZ_LANGPACKS_DIR/$langpack ]; then
|
||||||
langpack=`readlink $MOZ_LANGPACKS_DIR/$langpack`
|
langpack=`readlink $MOZ_LANGPACKS_DIR/$langpack`
|
||||||
fi
|
fi
|
||||||
if [ -e "/run/ostree-booted" ]; then
|
ln -s $MOZ_LANGPACKS_DIR/$langpack \
|
||||||
# Files on Silverblue has file create time set to 0,
|
$MOZ_EXTENSIONS_PROFILE_DIR/$langpack
|
||||||
# so in case the langpack is updated Firefox does not
|
|
||||||
# check for changes because it compares the file
|
|
||||||
# creation date to do so.
|
|
||||||
cp -f $MOZ_LANGPACKS_DIR/$langpack \
|
|
||||||
$MOZ_EXTENSIONS_PROFILE_DIR/$langpack
|
|
||||||
else
|
|
||||||
ln -s $MOZ_LANGPACKS_DIR/$langpack \
|
|
||||||
$MOZ_EXTENSIONS_PROFILE_DIR/$langpack
|
|
||||||
fi
|
|
||||||
echo $MOZ_EXTENSIONS_PROFILE_DIR/$langpack > $FEDORA_LANGPACK_CONFIG
|
echo $MOZ_EXTENSIONS_PROFILE_DIR/$langpack > $FEDORA_LANGPACK_CONFIG
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
@ -274,12 +276,6 @@ do
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
# We need to link Firefox with desktop file name
|
|
||||||
if [ -z "$MOZ_APP_REMOTINGNAME" ]
|
|
||||||
then
|
|
||||||
export MOZ_APP_REMOTINGNAME=__APP_NAME__
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Flatpak specific environment variables
|
# Flatpak specific environment variables
|
||||||
%FLATPAK_ENV_VARS%
|
%FLATPAK_ENV_VARS%
|
||||||
|
|
||||||
|
3561
firefox.spec
3561
firefox.spec
File diff suppressed because it is too large
Load Diff
@ -1,32 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
set -x
|
|
||||||
|
|
||||||
# Dummy Cargo.toml file with cbindgen dependency
|
|
||||||
cat > Cargo.toml <<EOL
|
|
||||||
[package]
|
|
||||||
name = "dummy"
|
|
||||||
version = "0.0.1"
|
|
||||||
description = """
|
|
||||||
This is a dummy package which contains dependency on cbindgen
|
|
||||||
to be used with 'cargo vendor' commmand.
|
|
||||||
"""
|
|
||||||
|
|
||||||
[dependencies]
|
|
||||||
cbindgen = "0.26.0"
|
|
||||||
|
|
||||||
[[bin]]
|
|
||||||
name = "dummy"
|
|
||||||
path = "dummy.rs"
|
|
||||||
doc = false
|
|
||||||
EOL
|
|
||||||
|
|
||||||
cargo install cargo-vendor
|
|
||||||
cargo vendor
|
|
||||||
|
|
||||||
cd vendor
|
|
||||||
tar -cJf ../cbindgen-vendor.tar.xz *
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
rm -f Cargo.toml
|
|
||||||
rm -rf vendor
|
|
||||||
|
|
@ -1,32 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
set -x
|
|
||||||
|
|
||||||
# Dummy Cargo.toml file with cbindgen dependency
|
|
||||||
cat > Cargo.toml <<EOL
|
|
||||||
[package]
|
|
||||||
name = "dummy"
|
|
||||||
version = "0.0.1"
|
|
||||||
description = """
|
|
||||||
This is a dummy package which contains dependency on cbindgen
|
|
||||||
to be used with 'cargo vendor' commmand.
|
|
||||||
"""
|
|
||||||
|
|
||||||
[dependencies]
|
|
||||||
dump_syms = "2.2.2"
|
|
||||||
|
|
||||||
[[bin]]
|
|
||||||
name = "dummy"
|
|
||||||
path = "dummy.rs"
|
|
||||||
doc = false
|
|
||||||
EOL
|
|
||||||
|
|
||||||
cargo install cargo-vendor
|
|
||||||
cargo vendor
|
|
||||||
|
|
||||||
cd vendor
|
|
||||||
tar -cJf ../dump_syms-vendor.tar.xz *
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
rm -f Cargo.toml
|
|
||||||
rm -rf vendor
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
|||||||
diff -up firefox-100.0/widget/gtk/nsWindow.cpp.1196777 firefox-100.0/widget/gtk/nsWindow.cpp
|
|
||||||
--- firefox-100.0/widget/gtk/nsWindow.cpp.1196777 2022-05-02 11:29:06.763325015 +0200
|
|
||||||
+++ firefox-100.0/widget/gtk/nsWindow.cpp 2022-05-02 11:30:49.100717334 +0200
|
|
||||||
@@ -163,7 +163,8 @@ const gint kEvents = GDK_TOUCHPAD_GESTUR
|
|
||||||
GDK_ENTER_NOTIFY_MASK | GDK_LEAVE_NOTIFY_MASK |
|
|
||||||
GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK |
|
|
||||||
GDK_SMOOTH_SCROLL_MASK | GDK_TOUCH_MASK | GDK_SCROLL_MASK |
|
|
||||||
- GDK_POINTER_MOTION_MASK | GDK_PROPERTY_CHANGE_MASK;
|
|
||||||
+ GDK_POINTER_MOTION_MASK | GDK_PROPERTY_CHANGE_MASK |
|
|
||||||
+ GDK_FOCUS_CHANGE_MASK;
|
|
||||||
|
|
||||||
/* utility functions */
|
|
||||||
static bool is_mouse_in_window(GdkWindow* aWindow, gdouble aMouseX,
|
|
@ -1,15 +0,0 @@
|
|||||||
diff -up firefox-84.0/security/sandbox/linux/moz.build.1516803 firefox-84.0/security/sandbox/linux/moz.build
|
|
||||||
--- firefox-84.0/security/sandbox/linux/moz.build.1516803 2020-12-10 16:17:55.425139545 +0100
|
|
||||||
+++ firefox-84.0/security/sandbox/linux/moz.build 2020-12-10 16:29:21.945860841 +0100
|
|
||||||
@@ -114,9 +114,8 @@ if CONFIG["CC_TYPE"] in ("clang", "gcc")
|
|
||||||
# gcc lto likes to put the top level asm in syscall.cc in a different partition
|
|
||||||
# from the function using it which breaks the build. Work around that by
|
|
||||||
# forcing there to be only one partition.
|
|
||||||
-for f in CONFIG["OS_CXXFLAGS"]:
|
|
||||||
- if f.startswith("-flto") and CONFIG["CC_TYPE"] != "clang":
|
|
||||||
- LDFLAGS += ["--param lto-partitions=1"]
|
|
||||||
+if CONFIG['CC_TYPE'] != 'clang':
|
|
||||||
+ LDFLAGS += ['--param', 'lto-partitions=1']
|
|
||||||
|
|
||||||
DEFINES["NS_NO_XPCOM"] = True
|
|
||||||
DisableStlWrapping()
|
|
@ -1,549 +0,0 @@
|
|||||||
diff -up firefox-108.0/media/ffvpx/libavcodec/codec_list.c.1667096 firefox-108.0/media/ffvpx/libavcodec/codec_list.c
|
|
||||||
--- firefox-108.0/media/ffvpx/libavcodec/codec_list.c.1667096 2022-12-05 21:18:00.000000000 +0100
|
|
||||||
+++ firefox-108.0/media/ffvpx/libavcodec/codec_list.c 2022-12-08 08:29:54.513562296 +0100
|
|
||||||
@@ -11,6 +11,9 @@ static const FFCodec * const codec_list[
|
|
||||||
#if CONFIG_MP3_DECODER
|
|
||||||
&ff_mp3_decoder,
|
|
||||||
#endif
|
|
||||||
+#ifdef CONFIG_LIBFDK_AAC
|
|
||||||
+ &ff_libfdk_aac_decoder,
|
|
||||||
+#endif
|
|
||||||
#if CONFIG_LIBDAV1D
|
|
||||||
&ff_libdav1d_decoder,
|
|
||||||
#endif
|
|
||||||
diff -up firefox-108.0/media/ffvpx/libavcodec/libfdk-aacdec.c.1667096 firefox-108.0/media/ffvpx/libavcodec/libfdk-aacdec.c
|
|
||||||
--- firefox-108.0/media/ffvpx/libavcodec/libfdk-aacdec.c.1667096 2022-12-08 08:29:54.514562328 +0100
|
|
||||||
+++ firefox-108.0/media/ffvpx/libavcodec/libfdk-aacdec.c 2022-09-03 18:20:04.000000000 +0200
|
|
||||||
@@ -0,0 +1,497 @@
|
|
||||||
+/*
|
|
||||||
+ * AAC decoder wrapper
|
|
||||||
+ * Copyright (c) 2012 Martin Storsjo
|
|
||||||
+ *
|
|
||||||
+ * This file is part of FFmpeg.
|
|
||||||
+ *
|
|
||||||
+ * Permission to use, copy, modify, and/or distribute this software for any
|
|
||||||
+ * purpose with or without fee is hereby granted, provided that the above
|
|
||||||
+ * copyright notice and this permission notice appear in all copies.
|
|
||||||
+ *
|
|
||||||
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
||||||
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
||||||
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
||||||
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
||||||
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
||||||
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
||||||
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
||||||
+ */
|
|
||||||
+
|
|
||||||
+#include <fdk-aac/aacdecoder_lib.h>
|
|
||||||
+
|
|
||||||
+#include "libavutil/channel_layout.h"
|
|
||||||
+#include "libavutil/common.h"
|
|
||||||
+#include "libavutil/opt.h"
|
|
||||||
+#include "avcodec.h"
|
|
||||||
+#include "codec_internal.h"
|
|
||||||
+#include "decode.h"
|
|
||||||
+
|
|
||||||
+#ifdef AACDECODER_LIB_VL0
|
|
||||||
+#define FDKDEC_VER_AT_LEAST(vl0, vl1) \
|
|
||||||
+ ((AACDECODER_LIB_VL0 > vl0) || \
|
|
||||||
+ (AACDECODER_LIB_VL0 == vl0 && AACDECODER_LIB_VL1 >= vl1))
|
|
||||||
+#else
|
|
||||||
+#define FDKDEC_VER_AT_LEAST(vl0, vl1) 0
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
+#if !FDKDEC_VER_AT_LEAST(2, 5) // < 2.5.10
|
|
||||||
+#define AAC_PCM_MAX_OUTPUT_CHANNELS AAC_PCM_OUTPUT_CHANNELS
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
+enum ConcealMethod {
|
|
||||||
+ CONCEAL_METHOD_SPECTRAL_MUTING = 0,
|
|
||||||
+ CONCEAL_METHOD_NOISE_SUBSTITUTION = 1,
|
|
||||||
+ CONCEAL_METHOD_ENERGY_INTERPOLATION = 2,
|
|
||||||
+ CONCEAL_METHOD_NB,
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+typedef struct FDKAACDecContext {
|
|
||||||
+ const AVClass *class;
|
|
||||||
+ HANDLE_AACDECODER handle;
|
|
||||||
+ uint8_t *decoder_buffer;
|
|
||||||
+ int decoder_buffer_size;
|
|
||||||
+ uint8_t *anc_buffer;
|
|
||||||
+ int conceal_method;
|
|
||||||
+ int drc_level;
|
|
||||||
+ int drc_boost;
|
|
||||||
+ int drc_heavy;
|
|
||||||
+ int drc_effect;
|
|
||||||
+ int drc_cut;
|
|
||||||
+ int album_mode;
|
|
||||||
+ int level_limit;
|
|
||||||
+#if FDKDEC_VER_AT_LEAST(2, 5) // 2.5.10
|
|
||||||
+ int output_delay_set;
|
|
||||||
+ int flush_samples;
|
|
||||||
+ int delay_samples;
|
|
||||||
+#endif
|
|
||||||
+ AVChannelLayout downmix_layout;
|
|
||||||
+} FDKAACDecContext;
|
|
||||||
+
|
|
||||||
+
|
|
||||||
+#define DMX_ANC_BUFFSIZE 128
|
|
||||||
+#define DECODER_MAX_CHANNELS 8
|
|
||||||
+#define DECODER_BUFFSIZE 2048 * sizeof(INT_PCM)
|
|
||||||
+
|
|
||||||
+#define OFFSET(x) offsetof(FDKAACDecContext, x)
|
|
||||||
+#define AD AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_DECODING_PARAM
|
|
||||||
+static const AVOption fdk_aac_dec_options[] = {
|
|
||||||
+ { "conceal", "Error concealment method", OFFSET(conceal_method), AV_OPT_TYPE_INT, { .i64 = CONCEAL_METHOD_NOISE_SUBSTITUTION }, CONCEAL_METHOD_SPECTRAL_MUTING, CONCEAL_METHOD_NB - 1, AD, "conceal" },
|
|
||||||
+ { "spectral", "Spectral muting", 0, AV_OPT_TYPE_CONST, { .i64 = CONCEAL_METHOD_SPECTRAL_MUTING }, INT_MIN, INT_MAX, AD, "conceal" },
|
|
||||||
+ { "noise", "Noise Substitution", 0, AV_OPT_TYPE_CONST, { .i64 = CONCEAL_METHOD_NOISE_SUBSTITUTION }, INT_MIN, INT_MAX, AD, "conceal" },
|
|
||||||
+ { "energy", "Energy Interpolation", 0, AV_OPT_TYPE_CONST, { .i64 = CONCEAL_METHOD_ENERGY_INTERPOLATION }, INT_MIN, INT_MAX, AD, "conceal" },
|
|
||||||
+ { "drc_boost", "Dynamic Range Control: boost, where [0] is none and [127] is max boost",
|
|
||||||
+ OFFSET(drc_boost), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 127, AD, NULL },
|
|
||||||
+ { "drc_cut", "Dynamic Range Control: attenuation factor, where [0] is none and [127] is max compression",
|
|
||||||
+ OFFSET(drc_cut), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 127, AD, NULL },
|
|
||||||
+ { "drc_level", "Dynamic Range Control: reference level, quantized to 0.25dB steps where [0] is 0dB and [127] is -31.75dB, -1 for auto, and -2 for disabled",
|
|
||||||
+ OFFSET(drc_level), AV_OPT_TYPE_INT, { .i64 = -1}, -2, 127, AD, NULL },
|
|
||||||
+ { "drc_heavy", "Dynamic Range Control: heavy compression, where [1] is on (RF mode) and [0] is off",
|
|
||||||
+ OFFSET(drc_heavy), AV_OPT_TYPE_INT, { .i64 = -1}, -1, 1, AD, NULL },
|
|
||||||
+#if FDKDEC_VER_AT_LEAST(2, 5) // 2.5.10
|
|
||||||
+ { "level_limit", "Signal level limiting",
|
|
||||||
+ OFFSET(level_limit), AV_OPT_TYPE_BOOL, { .i64 = -1 }, -1, 1, AD },
|
|
||||||
+#endif
|
|
||||||
+#if FDKDEC_VER_AT_LEAST(3, 0) // 3.0.0
|
|
||||||
+ { "drc_effect","Dynamic Range Control: effect type, where e.g. [0] is none and [6] is general",
|
|
||||||
+ OFFSET(drc_effect), AV_OPT_TYPE_INT, { .i64 = -1}, -1, 8, AD, NULL },
|
|
||||||
+#endif
|
|
||||||
+#if FDKDEC_VER_AT_LEAST(3, 1) // 3.1.0
|
|
||||||
+ { "album_mode","Dynamic Range Control: album mode, where [0] is off and [1] is on",
|
|
||||||
+ OFFSET(album_mode), AV_OPT_TYPE_INT, { .i64 = -1}, -1, 1, AD, NULL },
|
|
||||||
+#endif
|
|
||||||
+ { "downmix", "Request a specific channel layout from the decoder", OFFSET(downmix_layout), AV_OPT_TYPE_CHLAYOUT, {.str = NULL}, .flags = AD },
|
|
||||||
+ { NULL }
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+static const AVClass fdk_aac_dec_class = {
|
|
||||||
+ .class_name = "libfdk-aac decoder",
|
|
||||||
+ .item_name = av_default_item_name,
|
|
||||||
+ .option = fdk_aac_dec_options,
|
|
||||||
+ .version = LIBAVUTIL_VERSION_INT,
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+static int get_stream_info(AVCodecContext *avctx)
|
|
||||||
+{
|
|
||||||
+ FDKAACDecContext *s = avctx->priv_data;
|
|
||||||
+ CStreamInfo *info = aacDecoder_GetStreamInfo(s->handle);
|
|
||||||
+ int channel_counts[0x24] = { 0 };
|
|
||||||
+ int i, ch_error = 0;
|
|
||||||
+ uint64_t ch_layout = 0;
|
|
||||||
+
|
|
||||||
+ if (!info) {
|
|
||||||
+ av_log(avctx, AV_LOG_ERROR, "Unable to get stream info\n");
|
|
||||||
+ return AVERROR_UNKNOWN;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ if (info->sampleRate <= 0) {
|
|
||||||
+ av_log(avctx, AV_LOG_ERROR, "Stream info not initialized\n");
|
|
||||||
+ return AVERROR_UNKNOWN;
|
|
||||||
+ }
|
|
||||||
+ avctx->sample_rate = info->sampleRate;
|
|
||||||
+ avctx->frame_size = info->frameSize;
|
|
||||||
+#if FDKDEC_VER_AT_LEAST(2, 5) // 2.5.10
|
|
||||||
+ if (!s->output_delay_set && info->outputDelay) {
|
|
||||||
+ // Set this only once.
|
|
||||||
+ s->flush_samples = info->outputDelay;
|
|
||||||
+ s->delay_samples = info->outputDelay;
|
|
||||||
+ s->output_delay_set = 1;
|
|
||||||
+ }
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
+ for (i = 0; i < info->numChannels; i++) {
|
|
||||||
+ AUDIO_CHANNEL_TYPE ctype = info->pChannelType[i];
|
|
||||||
+ if (ctype <= ACT_NONE || ctype >= FF_ARRAY_ELEMS(channel_counts)) {
|
|
||||||
+ av_log(avctx, AV_LOG_WARNING, "unknown channel type\n");
|
|
||||||
+ break;
|
|
||||||
+ }
|
|
||||||
+ channel_counts[ctype]++;
|
|
||||||
+ }
|
|
||||||
+ av_log(avctx, AV_LOG_DEBUG,
|
|
||||||
+ "%d channels - front:%d side:%d back:%d lfe:%d top:%d\n",
|
|
||||||
+ info->numChannels,
|
|
||||||
+ channel_counts[ACT_FRONT], channel_counts[ACT_SIDE],
|
|
||||||
+ channel_counts[ACT_BACK], channel_counts[ACT_LFE],
|
|
||||||
+ channel_counts[ACT_FRONT_TOP] + channel_counts[ACT_SIDE_TOP] +
|
|
||||||
+ channel_counts[ACT_BACK_TOP] + channel_counts[ACT_TOP]);
|
|
||||||
+
|
|
||||||
+ switch (channel_counts[ACT_FRONT]) {
|
|
||||||
+ case 4:
|
|
||||||
+ ch_layout |= AV_CH_LAYOUT_STEREO | AV_CH_FRONT_LEFT_OF_CENTER |
|
|
||||||
+ AV_CH_FRONT_RIGHT_OF_CENTER;
|
|
||||||
+ break;
|
|
||||||
+ case 3:
|
|
||||||
+ ch_layout |= AV_CH_LAYOUT_STEREO | AV_CH_FRONT_CENTER;
|
|
||||||
+ break;
|
|
||||||
+ case 2:
|
|
||||||
+ ch_layout |= AV_CH_LAYOUT_STEREO;
|
|
||||||
+ break;
|
|
||||||
+ case 1:
|
|
||||||
+ ch_layout |= AV_CH_FRONT_CENTER;
|
|
||||||
+ break;
|
|
||||||
+ default:
|
|
||||||
+ av_log(avctx, AV_LOG_WARNING,
|
|
||||||
+ "unsupported number of front channels: %d\n",
|
|
||||||
+ channel_counts[ACT_FRONT]);
|
|
||||||
+ ch_error = 1;
|
|
||||||
+ break;
|
|
||||||
+ }
|
|
||||||
+ if (channel_counts[ACT_SIDE] > 0) {
|
|
||||||
+ if (channel_counts[ACT_SIDE] == 2) {
|
|
||||||
+ ch_layout |= AV_CH_SIDE_LEFT | AV_CH_SIDE_RIGHT;
|
|
||||||
+ } else {
|
|
||||||
+ av_log(avctx, AV_LOG_WARNING,
|
|
||||||
+ "unsupported number of side channels: %d\n",
|
|
||||||
+ channel_counts[ACT_SIDE]);
|
|
||||||
+ ch_error = 1;
|
|
||||||
+ }
|
|
||||||
+ }
|
|
||||||
+ if (channel_counts[ACT_BACK] > 0) {
|
|
||||||
+ switch (channel_counts[ACT_BACK]) {
|
|
||||||
+ case 3:
|
|
||||||
+ ch_layout |= AV_CH_BACK_LEFT | AV_CH_BACK_RIGHT | AV_CH_BACK_CENTER;
|
|
||||||
+ break;
|
|
||||||
+ case 2:
|
|
||||||
+ ch_layout |= AV_CH_BACK_LEFT | AV_CH_BACK_RIGHT;
|
|
||||||
+ break;
|
|
||||||
+ case 1:
|
|
||||||
+ ch_layout |= AV_CH_BACK_CENTER;
|
|
||||||
+ break;
|
|
||||||
+ default:
|
|
||||||
+ av_log(avctx, AV_LOG_WARNING,
|
|
||||||
+ "unsupported number of back channels: %d\n",
|
|
||||||
+ channel_counts[ACT_BACK]);
|
|
||||||
+ ch_error = 1;
|
|
||||||
+ break;
|
|
||||||
+ }
|
|
||||||
+ }
|
|
||||||
+ if (channel_counts[ACT_LFE] > 0) {
|
|
||||||
+ if (channel_counts[ACT_LFE] == 1) {
|
|
||||||
+ ch_layout |= AV_CH_LOW_FREQUENCY;
|
|
||||||
+ } else {
|
|
||||||
+ av_log(avctx, AV_LOG_WARNING,
|
|
||||||
+ "unsupported number of LFE channels: %d\n",
|
|
||||||
+ channel_counts[ACT_LFE]);
|
|
||||||
+ ch_error = 1;
|
|
||||||
+ }
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ av_channel_layout_uninit(&avctx->ch_layout);
|
|
||||||
+ av_channel_layout_from_mask(&avctx->ch_layout, ch_layout);
|
|
||||||
+ if (!ch_error && avctx->ch_layout.nb_channels != info->numChannels) {
|
|
||||||
+ av_log(avctx, AV_LOG_WARNING, "unsupported channel configuration\n");
|
|
||||||
+ ch_error = 1;
|
|
||||||
+ }
|
|
||||||
+ if (ch_error)
|
|
||||||
+ avctx->ch_layout.order = AV_CHANNEL_ORDER_UNSPEC;
|
|
||||||
+
|
|
||||||
+ return 0;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+static av_cold int fdk_aac_decode_close(AVCodecContext *avctx)
|
|
||||||
+{
|
|
||||||
+ FDKAACDecContext *s = avctx->priv_data;
|
|
||||||
+
|
|
||||||
+ if (s->handle)
|
|
||||||
+ aacDecoder_Close(s->handle);
|
|
||||||
+ av_freep(&s->decoder_buffer);
|
|
||||||
+ av_freep(&s->anc_buffer);
|
|
||||||
+
|
|
||||||
+ return 0;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+static av_cold int fdk_aac_decode_init(AVCodecContext *avctx)
|
|
||||||
+{
|
|
||||||
+ FDKAACDecContext *s = avctx->priv_data;
|
|
||||||
+ AAC_DECODER_ERROR err;
|
|
||||||
+
|
|
||||||
+ s->handle = aacDecoder_Open(avctx->extradata_size ? TT_MP4_RAW : TT_MP4_ADTS, 1);
|
|
||||||
+ if (!s->handle) {
|
|
||||||
+ av_log(avctx, AV_LOG_ERROR, "Error opening decoder\n");
|
|
||||||
+ return AVERROR_UNKNOWN;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ if (avctx->extradata_size) {
|
|
||||||
+ if ((err = aacDecoder_ConfigRaw(s->handle, &avctx->extradata,
|
|
||||||
+ &avctx->extradata_size)) != AAC_DEC_OK) {
|
|
||||||
+ av_log(avctx, AV_LOG_ERROR, "Unable to set extradata\n");
|
|
||||||
+ return AVERROR_INVALIDDATA;
|
|
||||||
+ }
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ if ((err = aacDecoder_SetParam(s->handle, AAC_CONCEAL_METHOD,
|
|
||||||
+ s->conceal_method)) != AAC_DEC_OK) {
|
|
||||||
+ av_log(avctx, AV_LOG_ERROR, "Unable to set error concealment method\n");
|
|
||||||
+ return AVERROR_UNKNOWN;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+#if FF_API_OLD_CHANNEL_LAYOUT
|
|
||||||
+FF_DISABLE_DEPRECATION_WARNINGS
|
|
||||||
+ if (avctx->request_channel_layout) {
|
|
||||||
+ av_channel_layout_uninit(&s->downmix_layout);
|
|
||||||
+ av_channel_layout_from_mask(&s->downmix_layout, avctx->request_channel_layout);
|
|
||||||
+ }
|
|
||||||
+FF_ENABLE_DEPRECATION_WARNINGS
|
|
||||||
+#endif
|
|
||||||
+ if (s->downmix_layout.nb_channels > 0 &&
|
|
||||||
+ s->downmix_layout.order != AV_CHANNEL_ORDER_NATIVE) {
|
|
||||||
+ int downmix_channels = -1;
|
|
||||||
+
|
|
||||||
+ switch (s->downmix_layout.u.mask) {
|
|
||||||
+ case AV_CH_LAYOUT_STEREO:
|
|
||||||
+ case AV_CH_LAYOUT_STEREO_DOWNMIX:
|
|
||||||
+ downmix_channels = 2;
|
|
||||||
+ break;
|
|
||||||
+ case AV_CH_LAYOUT_MONO:
|
|
||||||
+ downmix_channels = 1;
|
|
||||||
+ break;
|
|
||||||
+ default:
|
|
||||||
+ av_log(avctx, AV_LOG_WARNING, "Invalid downmix option\n");
|
|
||||||
+ break;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ if (downmix_channels != -1) {
|
|
||||||
+ if (aacDecoder_SetParam(s->handle, AAC_PCM_MAX_OUTPUT_CHANNELS,
|
|
||||||
+ downmix_channels) != AAC_DEC_OK) {
|
|
||||||
+ av_log(avctx, AV_LOG_WARNING, "Unable to set output channels in the decoder\n");
|
|
||||||
+ } else {
|
|
||||||
+ s->anc_buffer = av_malloc(DMX_ANC_BUFFSIZE);
|
|
||||||
+ if (!s->anc_buffer) {
|
|
||||||
+ av_log(avctx, AV_LOG_ERROR, "Unable to allocate ancillary buffer for the decoder\n");
|
|
||||||
+ return AVERROR(ENOMEM);
|
|
||||||
+ }
|
|
||||||
+ if (aacDecoder_AncDataInit(s->handle, s->anc_buffer, DMX_ANC_BUFFSIZE)) {
|
|
||||||
+ av_log(avctx, AV_LOG_ERROR, "Unable to register downmix ancillary buffer in the decoder\n");
|
|
||||||
+ return AVERROR_UNKNOWN;
|
|
||||||
+ }
|
|
||||||
+ }
|
|
||||||
+ }
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ if (s->drc_boost != -1) {
|
|
||||||
+ if (aacDecoder_SetParam(s->handle, AAC_DRC_BOOST_FACTOR, s->drc_boost) != AAC_DEC_OK) {
|
|
||||||
+ av_log(avctx, AV_LOG_ERROR, "Unable to set DRC boost factor in the decoder\n");
|
|
||||||
+ return AVERROR_UNKNOWN;
|
|
||||||
+ }
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ if (s->drc_cut != -1) {
|
|
||||||
+ if (aacDecoder_SetParam(s->handle, AAC_DRC_ATTENUATION_FACTOR, s->drc_cut) != AAC_DEC_OK) {
|
|
||||||
+ av_log(avctx, AV_LOG_ERROR, "Unable to set DRC attenuation factor in the decoder\n");
|
|
||||||
+ return AVERROR_UNKNOWN;
|
|
||||||
+ }
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ if (s->drc_level != -1) {
|
|
||||||
+ // This option defaults to -1, i.e. not calling
|
|
||||||
+ // aacDecoder_SetParam(AAC_DRC_REFERENCE_LEVEL) at all, which defaults
|
|
||||||
+ // to the level from DRC metadata, if available. The user can set
|
|
||||||
+ // -drc_level -2, which calls aacDecoder_SetParam(
|
|
||||||
+ // AAC_DRC_REFERENCE_LEVEL) with a negative value, which then
|
|
||||||
+ // explicitly disables the feature.
|
|
||||||
+ if (aacDecoder_SetParam(s->handle, AAC_DRC_REFERENCE_LEVEL, s->drc_level) != AAC_DEC_OK) {
|
|
||||||
+ av_log(avctx, AV_LOG_ERROR, "Unable to set DRC reference level in the decoder\n");
|
|
||||||
+ return AVERROR_UNKNOWN;
|
|
||||||
+ }
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ if (s->drc_heavy != -1) {
|
|
||||||
+ if (aacDecoder_SetParam(s->handle, AAC_DRC_HEAVY_COMPRESSION, s->drc_heavy) != AAC_DEC_OK) {
|
|
||||||
+ av_log(avctx, AV_LOG_ERROR, "Unable to set DRC heavy compression in the decoder\n");
|
|
||||||
+ return AVERROR_UNKNOWN;
|
|
||||||
+ }
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+#if FDKDEC_VER_AT_LEAST(2, 5) // 2.5.10
|
|
||||||
+ // Setting this parameter to -1 enables the auto behaviour in the library.
|
|
||||||
+ if (aacDecoder_SetParam(s->handle, AAC_PCM_LIMITER_ENABLE, s->level_limit) != AAC_DEC_OK) {
|
|
||||||
+ av_log(avctx, AV_LOG_ERROR, "Unable to set in signal level limiting in the decoder\n");
|
|
||||||
+ return AVERROR_UNKNOWN;
|
|
||||||
+ }
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
+#if FDKDEC_VER_AT_LEAST(3, 0) // 3.0.0
|
|
||||||
+ if (s->drc_effect != -1) {
|
|
||||||
+ if (aacDecoder_SetParam(s->handle, AAC_UNIDRC_SET_EFFECT, s->drc_effect) != AAC_DEC_OK) {
|
|
||||||
+ av_log(avctx, AV_LOG_ERROR, "Unable to set DRC effect type in the decoder\n");
|
|
||||||
+ return AVERROR_UNKNOWN;
|
|
||||||
+ }
|
|
||||||
+ }
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
+#if FDKDEC_VER_AT_LEAST(3, 1) // 3.1.0
|
|
||||||
+ if (s->album_mode != -1) {
|
|
||||||
+ if (aacDecoder_SetParam(s->handle, AAC_UNIDRC_ALBUM_MODE, s->album_mode) != AAC_DEC_OK) {
|
|
||||||
+ av_log(avctx, AV_LOG_ERROR, "Unable to set album mode in the decoder\n");
|
|
||||||
+ return AVERROR_UNKNOWN;
|
|
||||||
+ }
|
|
||||||
+ }
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
+ avctx->sample_fmt = AV_SAMPLE_FMT_S16;
|
|
||||||
+
|
|
||||||
+ s->decoder_buffer_size = DECODER_BUFFSIZE * DECODER_MAX_CHANNELS;
|
|
||||||
+ s->decoder_buffer = av_malloc(s->decoder_buffer_size);
|
|
||||||
+ if (!s->decoder_buffer)
|
|
||||||
+ return AVERROR(ENOMEM);
|
|
||||||
+
|
|
||||||
+ return 0;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+static int fdk_aac_decode_frame(AVCodecContext *avctx, AVFrame *frame,
|
|
||||||
+ int *got_frame_ptr, AVPacket *avpkt)
|
|
||||||
+{
|
|
||||||
+ FDKAACDecContext *s = avctx->priv_data;
|
|
||||||
+ int ret;
|
|
||||||
+ AAC_DECODER_ERROR err;
|
|
||||||
+ UINT valid = avpkt->size;
|
|
||||||
+ UINT flags = 0;
|
|
||||||
+ int input_offset = 0;
|
|
||||||
+
|
|
||||||
+ if (avpkt->size) {
|
|
||||||
+ err = aacDecoder_Fill(s->handle, &avpkt->data, &avpkt->size, &valid);
|
|
||||||
+ if (err != AAC_DEC_OK) {
|
|
||||||
+ av_log(avctx, AV_LOG_ERROR, "aacDecoder_Fill() failed: %x\n", err);
|
|
||||||
+ return AVERROR_INVALIDDATA;
|
|
||||||
+ }
|
|
||||||
+ } else {
|
|
||||||
+#if FDKDEC_VER_AT_LEAST(2, 5) // 2.5.10
|
|
||||||
+ /* Handle decoder draining */
|
|
||||||
+ if (s->flush_samples > 0) {
|
|
||||||
+ flags |= AACDEC_FLUSH;
|
|
||||||
+ } else {
|
|
||||||
+ return AVERROR_EOF;
|
|
||||||
+ }
|
|
||||||
+#else
|
|
||||||
+ return AVERROR_EOF;
|
|
||||||
+#endif
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ err = aacDecoder_DecodeFrame(s->handle, (INT_PCM *) s->decoder_buffer,
|
|
||||||
+ s->decoder_buffer_size / sizeof(INT_PCM),
|
|
||||||
+ flags);
|
|
||||||
+ if (err == AAC_DEC_NOT_ENOUGH_BITS) {
|
|
||||||
+ ret = avpkt->size - valid;
|
|
||||||
+ goto end;
|
|
||||||
+ }
|
|
||||||
+ if (err != AAC_DEC_OK) {
|
|
||||||
+ av_log(avctx, AV_LOG_ERROR,
|
|
||||||
+ "aacDecoder_DecodeFrame() failed: %x\n", err);
|
|
||||||
+ ret = AVERROR_UNKNOWN;
|
|
||||||
+ goto end;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ if ((ret = get_stream_info(avctx)) < 0)
|
|
||||||
+ goto end;
|
|
||||||
+ frame->nb_samples = avctx->frame_size;
|
|
||||||
+
|
|
||||||
+#if FDKDEC_VER_AT_LEAST(2, 5) // 2.5.10
|
|
||||||
+ if (flags & AACDEC_FLUSH) {
|
|
||||||
+ // Only return the right amount of samples at the end; if calling the
|
|
||||||
+ // decoder with AACDEC_FLUSH, it will keep returning frames indefinitely.
|
|
||||||
+ frame->nb_samples = FFMIN(s->flush_samples, frame->nb_samples);
|
|
||||||
+ av_log(s, AV_LOG_DEBUG, "Returning %d/%d delayed samples.\n",
|
|
||||||
+ frame->nb_samples, s->flush_samples);
|
|
||||||
+ s->flush_samples -= frame->nb_samples;
|
|
||||||
+ } else {
|
|
||||||
+ // Trim off samples from the start to compensate for extra decoder
|
|
||||||
+ // delay. We could also just adjust the pts, but this avoids
|
|
||||||
+ // including the extra samples in the output altogether.
|
|
||||||
+ if (s->delay_samples) {
|
|
||||||
+ int drop_samples = FFMIN(s->delay_samples, frame->nb_samples);
|
|
||||||
+ av_log(s, AV_LOG_DEBUG, "Dropping %d/%d delayed samples.\n",
|
|
||||||
+ drop_samples, s->delay_samples);
|
|
||||||
+ s->delay_samples -= drop_samples;
|
|
||||||
+ frame->nb_samples -= drop_samples;
|
|
||||||
+ input_offset = drop_samples * avctx->ch_layout.nb_channels;
|
|
||||||
+ if (frame->nb_samples <= 0)
|
|
||||||
+ return 0;
|
|
||||||
+ }
|
|
||||||
+ }
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
+ if ((ret = ff_get_buffer(avctx, frame, 0)) < 0)
|
|
||||||
+ goto end;
|
|
||||||
+
|
|
||||||
+ memcpy(frame->extended_data[0], s->decoder_buffer + input_offset,
|
|
||||||
+ avctx->ch_layout.nb_channels * frame->nb_samples *
|
|
||||||
+ av_get_bytes_per_sample(avctx->sample_fmt));
|
|
||||||
+
|
|
||||||
+ *got_frame_ptr = 1;
|
|
||||||
+ ret = avpkt->size - valid;
|
|
||||||
+
|
|
||||||
+end:
|
|
||||||
+ return ret;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+static av_cold void fdk_aac_decode_flush(AVCodecContext *avctx)
|
|
||||||
+{
|
|
||||||
+ FDKAACDecContext *s = avctx->priv_data;
|
|
||||||
+ AAC_DECODER_ERROR err;
|
|
||||||
+
|
|
||||||
+ if (!s->handle)
|
|
||||||
+ return;
|
|
||||||
+
|
|
||||||
+ if ((err = aacDecoder_SetParam(s->handle,
|
|
||||||
+ AAC_TPDEC_CLEAR_BUFFER, 1)) != AAC_DEC_OK)
|
|
||||||
+ av_log(avctx, AV_LOG_WARNING, "failed to clear buffer when flushing\n");
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+const FFCodec ff_libfdk_aac_decoder = {
|
|
||||||
+ .p.name = "libfdk_aac",
|
|
||||||
+ CODEC_LONG_NAME("Fraunhofer FDK AAC"),
|
|
||||||
+ .p.type = AVMEDIA_TYPE_AUDIO,
|
|
||||||
+ .p.id = AV_CODEC_ID_AAC,
|
|
||||||
+ .priv_data_size = sizeof(FDKAACDecContext),
|
|
||||||
+ .init = fdk_aac_decode_init,
|
|
||||||
+ FF_CODEC_DECODE_CB(fdk_aac_decode_frame),
|
|
||||||
+ .close = fdk_aac_decode_close,
|
|
||||||
+ .flush = fdk_aac_decode_flush,
|
|
||||||
+ .p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_CHANNEL_CONF
|
|
||||||
+#if FDKDEC_VER_AT_LEAST(2, 5) // 2.5.10
|
|
||||||
+ | AV_CODEC_CAP_DELAY
|
|
||||||
+#endif
|
|
||||||
+ ,
|
|
||||||
+ .p.priv_class = &fdk_aac_dec_class,
|
|
||||||
+ .caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
|
|
||||||
+ .p.wrapper_name = "libfdk",
|
|
||||||
+};
|
|
||||||
diff -up firefox-108.0/media/ffvpx/libavcodec/moz.build.1667096 firefox-108.0/media/ffvpx/libavcodec/moz.build
|
|
||||||
--- firefox-108.0/media/ffvpx/libavcodec/moz.build.1667096 2022-12-05 21:18:01.000000000 +0100
|
|
||||||
+++ firefox-108.0/media/ffvpx/libavcodec/moz.build 2022-12-08 08:29:54.514562328 +0100
|
|
||||||
@@ -130,6 +130,12 @@ if CONFIG['MOZ_LIBAV_FFT']:
|
|
||||||
'avfft.c',
|
|
||||||
]
|
|
||||||
|
|
||||||
+if CONFIG['MOZ_FDK_AAC']:
|
|
||||||
+ SOURCES += [
|
|
||||||
+ 'libfdk-aacdec.c',
|
|
||||||
+ ]
|
|
||||||
+ OS_LIBS += CONFIG['MOZ_FDK_AAC_LIBS']
|
|
||||||
+
|
|
||||||
SYMBOLS_FILE = 'avcodec.symbols'
|
|
||||||
NoVisibilityFlags()
|
|
||||||
|
|
||||||
diff -up firefox-108.0/toolkit/moz.configure.1667096 firefox-108.0/toolkit/moz.configure
|
|
||||||
--- firefox-108.0/toolkit/moz.configure.1667096 2022-12-05 21:21:08.000000000 +0100
|
|
||||||
+++ firefox-108.0/toolkit/moz.configure 2022-12-08 08:29:54.514562328 +0100
|
|
||||||
@@ -2134,6 +2134,15 @@ with only_when(compile_environment):
|
|
||||||
|
|
||||||
set_config("MOZ_SYSTEM_PNG", True, when="--with-system-png")
|
|
||||||
|
|
||||||
+# FDK AAC support
|
|
||||||
+# ==============================================================
|
|
||||||
+option('--with-system-fdk-aac',
|
|
||||||
+ help='Use system libfdk-aac (located with pkgconfig)')
|
|
||||||
+
|
|
||||||
+system_fdk_aac = pkg_check_modules('MOZ_FDK_AAC', 'fdk-aac',
|
|
||||||
+ when='--with-system-fdk-aac')
|
|
||||||
+
|
|
||||||
+set_config('MOZ_FDK_AAC', depends(when=system_fdk_aac)(lambda: True))
|
|
||||||
|
|
||||||
# FFmpeg's ffvpx configuration
|
|
||||||
# ==============================================================
|
|
@ -1,14 +0,0 @@
|
|||||||
--- firefox-81.0.1/build/mach_initialize.py.old 2020-10-06 14:16:06.212974910 +0200
|
|
||||||
+++ firefox-81.0.1/build/mach_initialize.py 2020-10-06 14:19:03.313179557 +0200
|
|
||||||
@@ -507,7 +507,10 @@ class ImportHook(object):
|
|
||||||
# doesn't happen or because it doesn't matter).
|
|
||||||
if not os.path.exists(module.__file__[:-1]):
|
|
||||||
if os.path.exists(module.__file__):
|
|
||||||
- os.remove(module.__file__)
|
|
||||||
+ try:
|
|
||||||
+ os.remove(module.__file__)
|
|
||||||
+ except:
|
|
||||||
+ pass
|
|
||||||
del sys.modules[module.__name__]
|
|
||||||
module = self(name, globals, locals, fromlist, level)
|
|
||||||
|
|
95
mozilla-bmo1170092.patch
Normal file
95
mozilla-bmo1170092.patch
Normal file
@ -0,0 +1,95 @@
|
|||||||
|
diff -up firefox-115.0.2/extensions/pref/autoconfig/src/nsReadConfig.cpp.1170092 firefox-115.0.2/extensions/pref/autoconfig/src/nsReadConfig.cpp
|
||||||
|
--- firefox-115.0.2/extensions/pref/autoconfig/src/nsReadConfig.cpp.1170092 2023-07-10 21:08:53.000000000 +0200
|
||||||
|
+++ firefox-115.0.2/extensions/pref/autoconfig/src/nsReadConfig.cpp 2023-07-17 10:33:23.443355156 +0200
|
||||||
|
@@ -263,8 +263,20 @@ nsresult nsReadConfig::openAndEvaluateJS
|
||||||
|
if (NS_FAILED(rv)) return rv;
|
||||||
|
|
||||||
|
rv = NS_NewLocalFileInputStream(getter_AddRefs(inStr), jsFile);
|
||||||
|
- if (NS_FAILED(rv)) return rv;
|
||||||
|
+ if (NS_FAILED(rv)) {
|
||||||
|
+ // Look for cfg file in /etc/<application>/pref
|
||||||
|
+ rv = NS_GetSpecialDirectory(NS_APP_PREFS_SYSTEM_CONFIG_DIR,
|
||||||
|
+ getter_AddRefs(jsFile));
|
||||||
|
+ NS_ENSURE_SUCCESS(rv, rv);
|
||||||
|
+
|
||||||
|
+ rv = jsFile->AppendNative(nsLiteralCString("pref"));
|
||||||
|
+ NS_ENSURE_SUCCESS(rv, rv);
|
||||||
|
+ rv = jsFile->AppendNative(nsDependentCString(aFileName));
|
||||||
|
+ NS_ENSURE_SUCCESS(rv, rv);
|
||||||
|
|
||||||
|
+ rv = NS_NewLocalFileInputStream(getter_AddRefs(inStr), jsFile);
|
||||||
|
+ NS_ENSURE_SUCCESS(rv, rv);
|
||||||
|
+ }
|
||||||
|
} else {
|
||||||
|
nsAutoCString location("resource://gre/defaults/autoconfig/");
|
||||||
|
location += aFileName;
|
||||||
|
diff -up firefox-115.0.2/modules/libpref/Preferences.cpp.1170092 firefox-115.0.2/modules/libpref/Preferences.cpp
|
||||||
|
--- firefox-115.0.2/modules/libpref/Preferences.cpp.1170092 2023-07-10 21:09:00.000000000 +0200
|
||||||
|
+++ firefox-115.0.2/modules/libpref/Preferences.cpp 2023-07-17 10:33:23.444355156 +0200
|
||||||
|
@@ -4825,6 +4825,9 @@ nsresult Preferences::InitInitialObjects
|
||||||
|
//
|
||||||
|
// Thus, in the omni.jar case, we always load app-specific default
|
||||||
|
// preferences from omni.jar, whether or not `$app == $gre`.
|
||||||
|
+ //
|
||||||
|
+ // At very end load configuration from system config location:
|
||||||
|
+ // - /etc/firefox/pref/*.js
|
||||||
|
|
||||||
|
nsresult rv = NS_ERROR_FAILURE;
|
||||||
|
UniquePtr<nsZipFind> find;
|
||||||
|
diff -up firefox-115.0.2/toolkit/xre/nsXREDirProvider.cpp.1170092 firefox-115.0.2/toolkit/xre/nsXREDirProvider.cpp
|
||||||
|
--- firefox-115.0.2/toolkit/xre/nsXREDirProvider.cpp.1170092 2023-07-10 22:57:20.000000000 +0200
|
||||||
|
+++ firefox-115.0.2/toolkit/xre/nsXREDirProvider.cpp 2023-07-17 10:56:25.309692121 +0200
|
||||||
|
@@ -72,6 +72,7 @@
|
||||||
|
#endif
|
||||||
|
#ifdef XP_UNIX
|
||||||
|
# include <ctype.h>
|
||||||
|
+# include "nsIXULAppInfo.h"
|
||||||
|
#endif
|
||||||
|
#ifdef XP_IOS
|
||||||
|
# include "UIKitDirProvider.h"
|
||||||
|
@@ -478,6 +479,17 @@ nsXREDirProvider::GetFile(const char* aP
|
||||||
|
rv = file->AppendNative(nsLiteralCString(PREF_OVERRIDE_DIRNAME));
|
||||||
|
NS_ENSURE_SUCCESS(rv, rv);
|
||||||
|
rv = EnsureDirectoryExists(file);
|
||||||
|
+ } else if (!strcmp(aProperty, NS_APP_PREFS_SYSTEM_CONFIG_DIR)) {
|
||||||
|
+ nsCString sysConfigDir = nsLiteralCString("/etc/");
|
||||||
|
+ nsCOMPtr<nsIXULAppInfo> appInfo = do_GetService("@mozilla.org/xre/app-info;1");
|
||||||
|
+ if (!appInfo)
|
||||||
|
+ return NS_ERROR_NOT_AVAILABLE;
|
||||||
|
+ nsCString appName;
|
||||||
|
+ appInfo->GetName(appName);
|
||||||
|
+ ToLowerCase(appName);
|
||||||
|
+ sysConfigDir.Append(appName);
|
||||||
|
+ NS_NewNativeLocalFile(sysConfigDir, false, getter_AddRefs(file));
|
||||||
|
+ rv = EnsureDirectoryExists(file);
|
||||||
|
} else {
|
||||||
|
// We don't know anything about this property. Fail without warning, because
|
||||||
|
// otherwise we'll get too much warning spam due to
|
||||||
|
@@ -694,6 +706,16 @@ nsXREDirProvider::GetFiles(const char* a
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+ // Add /etc/<application>/pref/ directory if it exists
|
||||||
|
+ nsCOMPtr<nsIFile> systemPrefDir;
|
||||||
|
+ rv = NS_GetSpecialDirectory(NS_APP_PREFS_SYSTEM_CONFIG_DIR,
|
||||||
|
+ getter_AddRefs(systemPrefDir));
|
||||||
|
+ if (NS_SUCCEEDED(rv)) {
|
||||||
|
+ rv = systemPrefDir->AppendNative(nsLiteralCString("pref"));
|
||||||
|
+ if (NS_SUCCEEDED(rv))
|
||||||
|
+ directories.AppendObject(systemPrefDir);
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
rv = NS_NewArrayEnumerator(aResult, directories, NS_GET_IID(nsIFile));
|
||||||
|
} else if (!strcmp(aProperty, NS_APP_CHROME_DIR_LIST)) {
|
||||||
|
// NS_APP_CHROME_DIR_LIST is only used to get default (native) icons
|
||||||
|
diff -up firefox-115.0.2/xpcom/io/nsAppDirectoryServiceDefs.h.1170092 firefox-115.0.2/xpcom/io/nsAppDirectoryServiceDefs.h
|
||||||
|
--- firefox-115.0.2/xpcom/io/nsAppDirectoryServiceDefs.h.1170092 2023-07-10 21:09:13.000000000 +0200
|
||||||
|
+++ firefox-115.0.2/xpcom/io/nsAppDirectoryServiceDefs.h 2023-07-17 10:33:23.444355156 +0200
|
||||||
|
@@ -58,6 +58,7 @@
|
||||||
|
#define NS_APP_PREFS_DEFAULTS_DIR_LIST "PrefDL"
|
||||||
|
#define NS_APP_PREFS_OVERRIDE_DIR \
|
||||||
|
"PrefDOverride" // Directory for per-profile defaults
|
||||||
|
+#define NS_APP_PREFS_SYSTEM_CONFIG_DIR "PrefSysConf" // Directory with system-wide configuration
|
||||||
|
|
||||||
|
#define NS_APP_USER_PROFILE_50_DIR "ProfD"
|
||||||
|
#define NS_APP_USER_PROFILE_LOCAL_50_DIR "ProfLD"
|
86
mozilla-bmo1504834-part1.patch
Normal file
86
mozilla-bmo1504834-part1.patch
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
diff -up firefox-115.2.0/gfx/2d/DrawTargetSkia.cpp.mozilla-bmo1504834-part1 firefox-115.2.0/gfx/2d/DrawTargetSkia.cpp
|
||||||
|
--- firefox-115.2.0/gfx/2d/DrawTargetSkia.cpp.mozilla-bmo1504834-part1 2023-09-20 22:15:11.850172571 +0200
|
||||||
|
+++ firefox-115.2.0/gfx/2d/DrawTargetSkia.cpp 2023-09-20 22:16:10.446147737 +0200
|
||||||
|
@@ -156,8 +156,8 @@ static IntRect CalculateSurfaceBounds(co
|
||||||
|
}
|
||||||
|
|
||||||
|
static const int kARGBAlphaOffset =
|
||||||
|
- SurfaceFormat::A8R8G8B8_UINT32 == SurfaceFormat::B8G8R8A8 ? 3 : 0;
|
||||||
|
-
|
||||||
|
+ 0; // Skia is always BGRA SurfaceFormat::A8R8G8B8_UINT32 ==
|
||||||
|
+ // SurfaceFormat::B8G8R8A8 ? 3 : 0;
|
||||||
|
static bool VerifyRGBXFormat(uint8_t* aData, const IntSize& aSize,
|
||||||
|
const int32_t aStride, SurfaceFormat aFormat) {
|
||||||
|
if (aFormat != SurfaceFormat::B8G8R8X8 || aSize.IsEmpty()) {
|
||||||
|
diff -up firefox-115.2.0/gfx/2d/Types.h.mozilla-bmo1504834-part1 firefox-115.2.0/gfx/2d/Types.h
|
||||||
|
--- firefox-115.2.0/gfx/2d/Types.h.mozilla-bmo1504834-part1 2023-08-21 15:43:23.000000000 +0200
|
||||||
|
+++ firefox-115.2.0/gfx/2d/Types.h 2023-09-20 22:15:11.850172571 +0200
|
||||||
|
@@ -89,18 +89,11 @@ enum class SurfaceFormat : int8_t {
|
||||||
|
// This represents the unknown format.
|
||||||
|
UNKNOWN, // TODO: Replace uses with Maybe<SurfaceFormat>.
|
||||||
|
|
||||||
|
-// The following values are endian-independent synonyms. The _UINT32 suffix
|
||||||
|
-// indicates that the name reflects the layout when viewed as a uint32_t
|
||||||
|
-// value.
|
||||||
|
-#if MOZ_LITTLE_ENDIAN()
|
||||||
|
+ // The following values are endian-independent synonyms. The _UINT32 suffix
|
||||||
|
+ // indicates that the name reflects the layout when viewed as a uint32_t
|
||||||
|
+ // value.
|
||||||
|
A8R8G8B8_UINT32 = B8G8R8A8, // 0xAARRGGBB
|
||||||
|
X8R8G8B8_UINT32 = B8G8R8X8, // 0x00RRGGBB
|
||||||
|
-#elif MOZ_BIG_ENDIAN()
|
||||||
|
- A8R8G8B8_UINT32 = A8R8G8B8, // 0xAARRGGBB
|
||||||
|
- X8R8G8B8_UINT32 = X8R8G8B8, // 0x00RRGGBB
|
||||||
|
-#else
|
||||||
|
-# error "bad endianness"
|
||||||
|
-#endif
|
||||||
|
|
||||||
|
// The following values are OS and endian-independent synonyms.
|
||||||
|
//
|
||||||
|
diff -up firefox-115.2.0/gfx/skia/skia/modules/skcms/skcms.cc.mozilla-bmo1504834-part1 firefox-115.2.0/gfx/skia/skia/modules/skcms/skcms.cc
|
||||||
|
--- firefox-115.2.0/gfx/skia/skia/modules/skcms/skcms.cc.mozilla-bmo1504834-part1 2023-08-21 15:43:23.000000000 +0200
|
||||||
|
+++ firefox-115.2.0/gfx/skia/skia/modules/skcms/skcms.cc 2023-09-20 22:15:11.851172570 +0200
|
||||||
|
@@ -30,6 +30,8 @@
|
||||||
|
#include <avx512fintrin.h>
|
||||||
|
#include <avx512dqintrin.h>
|
||||||
|
#endif
|
||||||
|
+#else
|
||||||
|
+ #define SKCMS_PORTABLE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
static bool runtime_cpu_detection = true;
|
||||||
|
@@ -324,20 +326,28 @@ enum {
|
||||||
|
static uint16_t read_big_u16(const uint8_t* ptr) {
|
||||||
|
uint16_t be;
|
||||||
|
memcpy(&be, ptr, sizeof(be));
|
||||||
|
-#if defined(_MSC_VER)
|
||||||
|
- return _byteswap_ushort(be);
|
||||||
|
+#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
|
||||||
|
+ return be;
|
||||||
|
#else
|
||||||
|
- return __builtin_bswap16(be);
|
||||||
|
+ #if defined(_MSC_VER)
|
||||||
|
+ return _byteswap_ushort(be);
|
||||||
|
+ #else
|
||||||
|
+ return __builtin_bswap16(be);
|
||||||
|
+ #endif
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
static uint32_t read_big_u32(const uint8_t* ptr) {
|
||||||
|
uint32_t be;
|
||||||
|
memcpy(&be, ptr, sizeof(be));
|
||||||
|
-#if defined(_MSC_VER)
|
||||||
|
- return _byteswap_ulong(be);
|
||||||
|
+#if __BYTE_ORDER == __ORDER_BIG_ENDIAN__
|
||||||
|
+ return be;
|
||||||
|
#else
|
||||||
|
- return __builtin_bswap32(be);
|
||||||
|
+ #if defined(_MSC_VER)
|
||||||
|
+ return _byteswap_ulong(be);
|
||||||
|
+ #else
|
||||||
|
+ return __builtin_bswap32(be);
|
||||||
|
+ #endif
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
17
mozilla-bmo1504834-part3.patch
Normal file
17
mozilla-bmo1504834-part3.patch
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# HG changeset patch
|
||||||
|
# Parent 09cd4ac2cc607e85aa572425b824fbab386af607
|
||||||
|
For FF68, AntiAliasing of XULTexts seem to be broken on big endian (s390x). Text and icons of the sandwich-menu to the
|
||||||
|
right of the address bar, as well as plugin-windows appears transparant, which usually means unreadable (white on white).
|
||||||
|
|
||||||
|
diff --git a/gfx/skia/skia/src/opts/SkBlitMask_opts.h b/gfx/skia/skia/src/opts/SkBlitMask_opts.h
|
||||||
|
--- a/gfx/skia/skia/src/opts/SkBlitMask_opts.h
|
||||||
|
+++ b/gfx/skia/skia/src/opts/SkBlitMask_opts.h
|
||||||
|
@@ -210,6 +210,8 @@ namespace SK_OPTS_NS {
|
||||||
|
// ~~~>
|
||||||
|
// a = 1*aa + d(1-1*aa) = aa + d(1-aa)
|
||||||
|
// c = 0*aa + d(1-1*aa) = d(1-aa)
|
||||||
|
+ // TODO: Check this for endian-issues!
|
||||||
|
+ // Do we need to switch 255 to the front for all of those tuples?
|
||||||
|
return (aa & Sk4px(skvx::byte16{0,0,0,255, 0,0,0,255, 0,0,0,255, 0,0,0,255}))
|
||||||
|
+ d.approxMulDiv255(aa.inv());
|
||||||
|
};
|
82
mozilla-bmo1636168-fscreen.patch
Normal file
82
mozilla-bmo1636168-fscreen.patch
Normal file
@ -0,0 +1,82 @@
|
|||||||
|
diff -up firefox-114.0/widget/gtk/nsWindow.cpp.D110204-fscreen.diff firefox-114.0/widget/gtk/nsWindow.cpp
|
||||||
|
--- firefox-114.0/widget/gtk/nsWindow.cpp.D110204-fscreen.diff 2023-05-17 10:43:02.000000000 +0200
|
||||||
|
+++ firefox-114.0/widget/gtk/nsWindow.cpp 2023-05-17 13:53:54.000443278 +0200
|
||||||
|
@@ -100,6 +100,7 @@
|
||||||
|
#include "ScreenHelperGTK.h"
|
||||||
|
#include "SystemTimeConverter.h"
|
||||||
|
#include "WidgetUtilsGtk.h"
|
||||||
|
+#include "nsIBrowserHandler.h"
|
||||||
|
|
||||||
|
#ifdef ACCESSIBILITY
|
||||||
|
# include "mozilla/a11y/LocalAccessible.h"
|
||||||
|
@@ -173,7 +174,8 @@ const gint kEvents = GDK_TOUCHPAD_GESTUR
|
||||||
|
GDK_ENTER_NOTIFY_MASK | GDK_LEAVE_NOTIFY_MASK |
|
||||||
|
GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK |
|
||||||
|
GDK_SMOOTH_SCROLL_MASK | GDK_TOUCH_MASK | GDK_SCROLL_MASK |
|
||||||
|
- GDK_POINTER_MOTION_MASK | GDK_PROPERTY_CHANGE_MASK;
|
||||||
|
+ GDK_POINTER_MOTION_MASK | GDK_PROPERTY_CHANGE_MASK |
|
||||||
|
+ GDK_FOCUS_CHANGE_MASK;
|
||||||
|
|
||||||
|
/* utility functions */
|
||||||
|
static bool is_mouse_in_window(GdkWindow* aWindow, gdouble aMouseX,
|
||||||
|
@@ -433,7 +435,8 @@ nsWindow::nsWindow()
|
||||||
|
mResizedAfterMoveToRect(false),
|
||||||
|
mConfiguredClearColor(false),
|
||||||
|
mGotNonBlankPaint(false),
|
||||||
|
- mNeedsToRetryCapturingMouse(false) {
|
||||||
|
+ mNeedsToRetryCapturingMouse(false),
|
||||||
|
+ mPendingFullscreen(false) {
|
||||||
|
mWindowType = WindowType::Child;
|
||||||
|
mSizeConstraints.mMaxSize = GetSafeWindowSize(mSizeConstraints.mMaxSize);
|
||||||
|
|
||||||
|
@@ -5263,6 +5266,19 @@ void nsWindow::OnWindowStateEvent(GtkWid
|
||||||
|
ClearTransparencyBitmap();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
+
|
||||||
|
+ // Hack to ensure window switched to fullscreen - avoid to fail when starting
|
||||||
|
+ // in kiosk mode
|
||||||
|
+ if (mPendingFullscreen &&
|
||||||
|
+ !(aEvent->new_window_state & GDK_WINDOW_STATE_FULLSCREEN)) {
|
||||||
|
+ LOG(
|
||||||
|
+ " Window should be fullscreen, but it's not, retrying set to "
|
||||||
|
+ "fullscreen.\n");
|
||||||
|
+ MakeFullScreen(true);
|
||||||
|
+ } else {
|
||||||
|
+ LOG(" Window successfully switched to fullscreen, happy now\n");
|
||||||
|
+ mPendingFullscreen = false;
|
||||||
|
+ }
|
||||||
|
}
|
||||||
|
|
||||||
|
void nsWindow::OnDPIChanged() {
|
||||||
|
@@ -7409,6 +7425,19 @@ nsresult nsWindow::MakeFullScreen(bool a
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
+ // if in kiosk, ensure the fullscreen is called
|
||||||
|
+ nsCOMPtr<nsIBrowserHandler> browserHandler =
|
||||||
|
+ do_GetService("@mozilla.org/browser/clh;1");
|
||||||
|
+ if (browserHandler) {
|
||||||
|
+ bool isKiosk;
|
||||||
|
+ browserHandler->GetKiosk(&isKiosk);
|
||||||
|
+ if (isKiosk) {
|
||||||
|
+ LOG(" is kiosk, ensure the window switch to fullscreen\n");
|
||||||
|
+ mPendingFullscreen = true;
|
||||||
|
+ }
|
||||||
|
+ } else {
|
||||||
|
+ LOG(" Cannot find the browserHandler service.\n");
|
||||||
|
+ }
|
||||||
|
gtk_window_fullscreen(GTK_WINDOW(mShell));
|
||||||
|
} else {
|
||||||
|
gtk_window_unfullscreen(GTK_WINDOW(mShell));
|
||||||
|
diff -up firefox-114.0/widget/gtk/nsWindow.h.D110204-fscreen.diff firefox-114.0/widget/gtk/nsWindow.h
|
||||||
|
--- firefox-114.0/widget/gtk/nsWindow.h.D110204-fscreen.diff 2023-05-17 08:46:16.000000000 +0200
|
||||||
|
+++ firefox-114.0/widget/gtk/nsWindow.h 2023-05-17 13:51:29.502159247 +0200
|
||||||
|
@@ -752,6 +752,7 @@ class nsWindow final : public nsBaseWidg
|
||||||
|
* move-to-rect callback we set mMovedAfterMoveToRect/mResizedAfterMoveToRect.
|
||||||
|
*/
|
||||||
|
bool mWaitingForMoveToRectCallback : 1;
|
||||||
|
+ bool mPendingFullscreen : 1;
|
||||||
|
bool mMovedAfterMoveToRect : 1;
|
||||||
|
bool mResizedAfterMoveToRect : 1;
|
||||||
|
|
69
mozilla-bmo1670333.patch
Normal file
69
mozilla-bmo1670333.patch
Normal file
@ -0,0 +1,69 @@
|
|||||||
|
diff -up firefox-115.0/dom/media/mp4/MP4Demuxer.cpp.1670333 firefox-115.0/dom/media/mp4/MP4Demuxer.cpp
|
||||||
|
--- firefox-115.0/dom/media/mp4/MP4Demuxer.cpp.1670333 2023-06-06 23:14:43.000000000 +0200
|
||||||
|
+++ firefox-115.0/dom/media/mp4/MP4Demuxer.cpp 2023-06-08 08:15:48.214109403 +0200
|
||||||
|
@@ -32,6 +32,8 @@ mozilla::LogModule* GetDemuxerLog() { re
|
||||||
|
DDMOZ_LOG(gMediaDemuxerLog, mozilla::LogLevel::Debug, "::%s: " arg, \
|
||||||
|
__func__, ##__VA_ARGS__)
|
||||||
|
|
||||||
|
+extern bool gUseKeyframeFromContainer;
|
||||||
|
+
|
||||||
|
namespace mozilla {
|
||||||
|
|
||||||
|
using TimeUnit = media::TimeUnit;
|
||||||
|
@@ -404,6 +406,12 @@ already_AddRefed<MediaRawData> MP4TrackD
|
||||||
|
[[fallthrough]];
|
||||||
|
case H264::FrameType::OTHER: {
|
||||||
|
bool keyframe = type == H264::FrameType::I_FRAME;
|
||||||
|
+ if (gUseKeyframeFromContainer) {
|
||||||
|
+ if (sample->mKeyframe && sample->mKeyframe != keyframe) {
|
||||||
|
+ sample->mKeyframe = keyframe;
|
||||||
|
+ }
|
||||||
|
+ break;
|
||||||
|
+ }
|
||||||
|
if (sample->mKeyframe != keyframe) {
|
||||||
|
NS_WARNING(nsPrintfCString("Frame incorrectly marked as %skeyframe "
|
||||||
|
"@ pts:%" PRId64 " dur:%" PRId64
|
||||||
|
diff -up firefox-115.0/dom/media/platforms/PDMFactory.cpp.1670333 firefox-115.0/dom/media/platforms/PDMFactory.cpp
|
||||||
|
--- firefox-115.0/dom/media/platforms/PDMFactory.cpp.1670333 2023-06-06 23:14:44.000000000 +0200
|
||||||
|
+++ firefox-115.0/dom/media/platforms/PDMFactory.cpp 2023-06-08 08:09:33.145289602 +0200
|
||||||
|
@@ -67,6 +67,8 @@
|
||||||
|
|
||||||
|
#include <functional>
|
||||||
|
|
||||||
|
+bool gUseKeyframeFromContainer = false;
|
||||||
|
+
|
||||||
|
using DecodeSupport = mozilla::media::DecodeSupport;
|
||||||
|
using DecodeSupportSet = mozilla::media::DecodeSupportSet;
|
||||||
|
using MediaCodec = mozilla::media::MediaCodec;
|
||||||
|
@@ -562,7 +564,7 @@ void PDMFactory::CreateRddPDMs() {
|
||||||
|
#ifdef MOZ_FFMPEG
|
||||||
|
if (StaticPrefs::media_ffmpeg_enabled() &&
|
||||||
|
StaticPrefs::media_rdd_ffmpeg_enabled() &&
|
||||||
|
- !CreateAndStartupPDM<FFmpegRuntimeLinker>()) {
|
||||||
|
+ !(mFFmpegUsed = CreateAndStartupPDM<FFmpegRuntimeLinker>())) {
|
||||||
|
mFailureFlags += GetFailureFlagBasedOnFFmpegStatus(
|
||||||
|
FFmpegRuntimeLinker::LinkStatusCode());
|
||||||
|
}
|
||||||
|
@@ -738,9 +740,10 @@ void PDMFactory::CreateDefaultPDMs() {
|
||||||
|
|
||||||
|
CreateAndStartupPDM<AgnosticDecoderModule>();
|
||||||
|
|
||||||
|
- if (StaticPrefs::media_gmp_decoder_enabled() &&
|
||||||
|
+ if (StaticPrefs::media_gmp_decoder_enabled() && !mFFmpegUsed &&
|
||||||
|
!StartupPDM(GMPDecoderModule::Create(),
|
||||||
|
StaticPrefs::media_gmp_decoder_preferred())) {
|
||||||
|
+ gUseKeyframeFromContainer = true;
|
||||||
|
mFailureFlags += DecoderDoctorDiagnostics::Flags::GMPPDMFailedToStartup;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
diff -up firefox-115.0/dom/media/platforms/PDMFactory.h.1670333 firefox-115.0/dom/media/platforms/PDMFactory.h
|
||||||
|
--- firefox-115.0/dom/media/platforms/PDMFactory.h.1670333 2023-06-06 23:14:42.000000000 +0200
|
||||||
|
+++ firefox-115.0/dom/media/platforms/PDMFactory.h 2023-06-08 08:09:33.145289602 +0200
|
||||||
|
@@ -103,6 +103,7 @@ class PDMFactory final {
|
||||||
|
RefPtr<PlatformDecoderModule> mNullPDM;
|
||||||
|
|
||||||
|
DecoderDoctorDiagnostics::FlagsSet mFailureFlags;
|
||||||
|
+ bool mFFmpegUsed = false;
|
||||||
|
|
||||||
|
friend class RemoteVideoDecoderParent;
|
||||||
|
static void EnsureInit();
|
29
mozilla-bmo1716707-svg.patch
Normal file
29
mozilla-bmo1716707-svg.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
# HG changeset patch
|
||||||
|
# User M. Sirringhaus <msirringhaus@suse.de>
|
||||||
|
# Date 1645518286 -3600
|
||||||
|
# Tue Feb 22 09:24:46 2022 +0100
|
||||||
|
# Node ID 81832d035e101471dcf52dd91de287268add7a91
|
||||||
|
# Parent 66f7ce16eb4965108687280e5443edd610631efb
|
||||||
|
imported patch svg-rendering.patch
|
||||||
|
|
||||||
|
diff --git a/image/imgFrame.cpp b/image/imgFrame.cpp
|
||||||
|
--- a/image/imgFrame.cpp
|
||||||
|
+++ b/image/imgFrame.cpp
|
||||||
|
@@ -372,6 +372,17 @@ nsresult imgFrame::InitWithDrawable(gfxD
|
||||||
|
return NS_ERROR_OUT_OF_MEMORY;
|
||||||
|
}
|
||||||
|
|
||||||
|
+#if MOZ_BIG_ENDIAN()
|
||||||
|
+ if (aBackend == gfx::BackendType::SKIA && canUseDataSurface) {
|
||||||
|
+ // SKIA is lying about what format it returns on big endian
|
||||||
|
+ for (int ii=0; ii < mRawSurface->GetSize().Height()*mRawSurface->Stride() / 4; ++ii) {
|
||||||
|
+ uint32_t *vals = (uint32_t*)(mRawSurface->GetData());
|
||||||
|
+ uint32_t val = ((vals[ii] << 8) & 0xFF00FF00 ) | ((vals[ii] >> 8) & 0xFF00FF );
|
||||||
|
+ vals[ii] = (val << 16) | (val >> 16);
|
||||||
|
+ }
|
||||||
|
+ }
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
if (!canUseDataSurface) {
|
||||||
|
// We used an offscreen surface, which is an "optimized" surface from
|
||||||
|
// imgFrame's perspective.
|
34
mozilla-bmo1716707-swizzle.patch
Normal file
34
mozilla-bmo1716707-swizzle.patch
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
# HG changeset patch
|
||||||
|
# User M. Sirringhaus <msirringhaus@suse.de>
|
||||||
|
# Date 1645518286 -3600
|
||||||
|
# Tue Feb 22 09:24:46 2022 +0100
|
||||||
|
# Node ID 494640792b4677f6462e95b90a54a4e22aeb738b
|
||||||
|
# Parent 81832d035e101471dcf52dd91de287268add7a91
|
||||||
|
imported patch one_swizzle_to_rule_them_all.patch
|
||||||
|
|
||||||
|
Index: firefox-102.0/gfx/webrender_bindings/RenderCompositorSWGL.cpp
|
||||||
|
===================================================================
|
||||||
|
--- firefox-102.0.orig/gfx/webrender_bindings/RenderCompositorSWGL.cpp
|
||||||
|
+++ firefox-102.0/gfx/webrender_bindings/RenderCompositorSWGL.cpp
|
||||||
|
@@ -7,6 +7,7 @@
|
||||||
|
#include "RenderCompositorSWGL.h"
|
||||||
|
|
||||||
|
#include "mozilla/gfx/Logging.h"
|
||||||
|
+#include "mozilla/gfx/Swizzle.h"
|
||||||
|
#include "mozilla/widget/CompositorWidget.h"
|
||||||
|
|
||||||
|
#ifdef MOZ_WIDGET_GTK
|
||||||
|
@@ -235,6 +237,13 @@ void RenderCompositorSWGL::CommitMappedB
|
||||||
|
}
|
||||||
|
mDT->Flush();
|
||||||
|
|
||||||
|
+#if MOZ_BIG_ENDIAN()
|
||||||
|
+ // One swizzle to rule them all.
|
||||||
|
+ gfx::SwizzleData(mMappedData, mMappedStride, gfx::SurfaceFormat::B8G8R8A8,
|
||||||
|
+ mMappedData, mMappedStride, gfx::SurfaceFormat::A8R8G8B8,
|
||||||
|
+ mDT->GetSize());
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
// Done with the DT. Hand it back to the widget and clear out any trace of it.
|
||||||
|
mWidget->EndRemoteDrawingInRegion(mDT, mDirtyRegion);
|
||||||
|
mDirtyRegion.SetEmpty();
|
89
mozilla-bmo1789216-disable-av1.patch
Normal file
89
mozilla-bmo1789216-disable-av1.patch
Normal file
@ -0,0 +1,89 @@
|
|||||||
|
diff --git a/media/ffvpx/libavcodec/allcodecs.c b/media/ffvpx/libavcodec/allcodecs.c
|
||||||
|
--- a/media/ffvpx/libavcodec/allcodecs.c
|
||||||
|
+++ b/media/ffvpx/libavcodec/allcodecs.c
|
||||||
|
@@ -755,12 +755,15 @@
|
||||||
|
extern FFCodec ff_libaom_av1_encoder;
|
||||||
|
extern const FFCodec ff_libaribb24_decoder;
|
||||||
|
extern const FFCodec ff_libcelt_decoder;
|
||||||
|
extern const FFCodec ff_libcodec2_encoder;
|
||||||
|
extern const FFCodec ff_libcodec2_decoder;
|
||||||
|
+#if CONFIG_MOZ_AV1
|
||||||
|
extern const FFCodec ff_libdav1d_decoder;
|
||||||
|
extern const FFCodec ff_libdavs2_decoder;
|
||||||
|
+extern const FFCodec ff_libuavs3d_decoder;
|
||||||
|
+#endif
|
||||||
|
extern const FFCodec ff_libfdk_aac_encoder;
|
||||||
|
extern const FFCodec ff_libfdk_aac_decoder;
|
||||||
|
extern const FFCodec ff_libgsm_encoder;
|
||||||
|
extern const FFCodec ff_libgsm_decoder;
|
||||||
|
extern const FFCodec ff_libgsm_ms_encoder;
|
||||||
|
@@ -783,11 +786,10 @@
|
||||||
|
extern const FFCodec ff_libspeex_encoder;
|
||||||
|
extern const FFCodec ff_libspeex_decoder;
|
||||||
|
extern const FFCodec ff_libsvtav1_encoder;
|
||||||
|
extern const FFCodec ff_libtheora_encoder;
|
||||||
|
extern const FFCodec ff_libtwolame_encoder;
|
||||||
|
-extern const FFCodec ff_libuavs3d_decoder;
|
||||||
|
extern const FFCodec ff_libvo_amrwbenc_encoder;
|
||||||
|
extern const FFCodec ff_libvorbis_encoder;
|
||||||
|
extern const FFCodec ff_libvorbis_decoder;
|
||||||
|
extern const FFCodec ff_libvpx_vp8_encoder;
|
||||||
|
extern const FFCodec ff_libvpx_vp8_decoder;
|
||||||
|
diff --git a/media/ffvpx/libavcodec/codec_list.c b/media/ffvpx/libavcodec/codec_list.c
|
||||||
|
--- a/media/ffvpx/libavcodec/codec_list.c
|
||||||
|
+++ b/media/ffvpx/libavcodec/codec_list.c
|
||||||
|
@@ -9,12 +9,14 @@
|
||||||
|
&ff_flac_decoder,
|
||||||
|
#endif
|
||||||
|
#if CONFIG_MP3_DECODER
|
||||||
|
&ff_mp3_decoder,
|
||||||
|
#endif
|
||||||
|
+#if CONFIG_MOZ_AV1
|
||||||
|
#if CONFIG_LIBDAV1D
|
||||||
|
&ff_libdav1d_decoder,
|
||||||
|
#endif
|
||||||
|
#if CONFIG_AV1_DECODER
|
||||||
|
&ff_av1_decoder,
|
||||||
|
#endif
|
||||||
|
+#endif
|
||||||
|
NULL };
|
||||||
|
diff --git a/media/ffvpx/libavcodec/moz.build b/media/ffvpx/libavcodec/moz.build
|
||||||
|
--- a/media/ffvpx/libavcodec/moz.build
|
||||||
|
+++ b/media/ffvpx/libavcodec/moz.build
|
||||||
|
@@ -84,11 +84,10 @@
|
||||||
|
'cbs.c',
|
||||||
|
'cbs_av1.c',
|
||||||
|
'golomb.c',
|
||||||
|
'h264pred.c',
|
||||||
|
'imgconvert.c',
|
||||||
|
- 'libdav1d.c',
|
||||||
|
'mathtables.c',
|
||||||
|
'qsv_api.c',
|
||||||
|
'raw.c',
|
||||||
|
'videodsp.c',
|
||||||
|
'vp8.c',
|
||||||
|
@@ -107,14 +106,19 @@
|
||||||
|
'vp9mvs.c',
|
||||||
|
'vp9prob.c',
|
||||||
|
'vp9recon.c',
|
||||||
|
'vpx_rac.c',
|
||||||
|
]
|
||||||
|
- USE_LIBS += [
|
||||||
|
- 'dav1d',
|
||||||
|
- 'media_libdav1d_asm',
|
||||||
|
- ]
|
||||||
|
+ if CONFIG['MOZ_AV1']:
|
||||||
|
+ USE_LIBS += [
|
||||||
|
+ 'dav1d',
|
||||||
|
+ 'media_libdav1d_asm',
|
||||||
|
+ ]
|
||||||
|
+ SOURCES += [
|
||||||
|
+ 'libdav1d.c',
|
||||||
|
+ ]
|
||||||
|
+
|
||||||
|
if CONFIG['MOZ_WAYLAND']:
|
||||||
|
LOCAL_INCLUDES += ['/media/mozva']
|
||||||
|
SOURCES += [
|
||||||
|
'vaapi_av1.c',
|
||||||
|
'vaapi_decode.c',
|
||||||
|
|
26
mozilla-bmo849632.patch
Normal file
26
mozilla-bmo849632.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
# HG changeset patch
|
||||||
|
# Parent 3de59fe1b8708c01e134ce698c4232b8a854f617
|
||||||
|
Problem: webGL sites are displayed in the wrong color (usually blue-ish)
|
||||||
|
Solution: Problem is with skia once again. Output of webgl seems endian-correct, but skia only
|
||||||
|
knows how to deal with little endian.
|
||||||
|
So we swizzle the output of webgl after reading it from readpixels()
|
||||||
|
Note: This does not fix all webGL sites, but is a step in the right direction
|
||||||
|
|
||||||
|
Index: firefox-115.0/gfx/gl/GLContext.h
|
||||||
|
===================================================================
|
||||||
|
--- firefox-115.0.orig/gfx/gl/GLContext.h
|
||||||
|
+++ firefox-115.0/gfx/gl/GLContext.h
|
||||||
|
@@ -1560,6 +1560,13 @@ class GLContext : public GenericAtomicRe
|
||||||
|
BEFORE_GL_CALL;
|
||||||
|
mSymbols.fReadPixels(x, y, width, height, format, type, pixels);
|
||||||
|
OnSyncCall();
|
||||||
|
+#if MOZ_BIG_ENDIAN()
|
||||||
|
+ uint8_t* itr = (uint8_t*)pixels;
|
||||||
|
+ for (GLsizei i = 0; i < width * height; i++) {
|
||||||
|
+ NativeEndian::swapToLittleEndianInPlace((uint32_t*)itr, 1);
|
||||||
|
+ itr += 4;
|
||||||
|
+ }
|
||||||
|
+#endif
|
||||||
|
AFTER_GL_CALL;
|
||||||
|
mHeavyGLCallsSinceLastFlush = true;
|
||||||
|
}
|
29
mozilla-bmo998749.patch
Normal file
29
mozilla-bmo998749.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
# HG changeset patch
|
||||||
|
# User msirringhaus@suse.de
|
||||||
|
# Date 1583738770 -3600
|
||||||
|
# Mon Mar 09 08:26:10 2020 +0100
|
||||||
|
# Node ID 34676feac1a542e409e22acf5b98735f8313b1ce
|
||||||
|
# Parent 506857dace0a08d1c9685e3ac264646590b3e27f
|
||||||
|
[mq]: mozilla-bmo998749.patch
|
||||||
|
|
||||||
|
diff -r 506857dace0a -r 34676feac1a5 gfx/2d/FilterProcessing.h
|
||||||
|
--- a/gfx/2d/FilterProcessing.h Fri Feb 28 12:31:51 2020 +0100
|
||||||
|
+++ b/gfx/2d/FilterProcessing.h Mon Mar 09 08:26:10 2020 +0100
|
||||||
|
@@ -13,10 +13,17 @@
|
||||||
|
namespace mozilla {
|
||||||
|
namespace gfx {
|
||||||
|
|
||||||
|
+#if MOZ_BIG_ENDIAN()
|
||||||
|
+const ptrdiff_t B8G8R8A8_COMPONENT_BYTEOFFSET_B = 3;
|
||||||
|
+const ptrdiff_t B8G8R8A8_COMPONENT_BYTEOFFSET_G = 2;
|
||||||
|
+const ptrdiff_t B8G8R8A8_COMPONENT_BYTEOFFSET_R = 1;
|
||||||
|
+const ptrdiff_t B8G8R8A8_COMPONENT_BYTEOFFSET_A = 0;
|
||||||
|
+#else
|
||||||
|
const ptrdiff_t B8G8R8A8_COMPONENT_BYTEOFFSET_B = 0;
|
||||||
|
const ptrdiff_t B8G8R8A8_COMPONENT_BYTEOFFSET_G = 1;
|
||||||
|
const ptrdiff_t B8G8R8A8_COMPONENT_BYTEOFFSET_R = 2;
|
||||||
|
const ptrdiff_t B8G8R8A8_COMPONENT_BYTEOFFSET_A = 3;
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
class FilterProcessing {
|
||||||
|
public:
|
@ -1,2 +1,2 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
exec /usr/bin/node "$@" 2>&1 | cat -
|
exec node "$@" 2>&1 | cat -
|
||||||
|
7
nss-setup-flags-env.inc
Normal file
7
nss-setup-flags-env.inc
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
sed -i 's@%{bundled_install_path}@%{_buildrootdir}%{bundled_install_path}@g' %{_buildrootdir}%{bundled_install_path}/%{_lib}/pkgconfig/nss*.pc
|
||||||
|
|
||||||
|
export LDFLAGS="-L%{_buildrootdir}%{bundled_install_path}/%{_lib} $LDFLAGS"
|
||||||
|
export LDFLAGS="-Wl,-rpath,%{bundled_install_path}/%{_lib} $LDFLAGS"
|
||||||
|
export LDFLAGS="-Wl,-rpath-link,%{_buildrootdir}%{bundled_install_path}/%{_lib} $LDFLAGS"
|
||||||
|
export PKG_CONFIG_PATH=%{_buildrootdir}%{bundled_install_path}/%{_lib}/pkgconfig
|
||||||
|
export PATH="{_buildrootdir}%{bundled_install_path}/bin:$PATH"
|
@ -1,3 +0,0 @@
|
|||||||
[D-BUS Service]
|
|
||||||
Name=org.mozilla.firefox.SearchProvider
|
|
||||||
Exec=/usr/bin/false
|
|
@ -1,277 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Version=1.0
|
|
||||||
Name=Firefox
|
|
||||||
GenericName=Web Browser
|
|
||||||
GenericName[ca]=Navegador web
|
|
||||||
GenericName[cs]=Webový prohlížeč
|
|
||||||
GenericName[es]=Navegador web
|
|
||||||
GenericName[fa]=مرورگر اینترنتی
|
|
||||||
GenericName[fi]=WWW-selain
|
|
||||||
GenericName[fr]=Navigateur Web
|
|
||||||
GenericName[hu]=Webböngésző
|
|
||||||
GenericName[it]=Browser Web
|
|
||||||
GenericName[ja]=ウェブ・ブラウザ
|
|
||||||
GenericName[ko]=웹 브라우저
|
|
||||||
GenericName[nb]=Nettleser
|
|
||||||
GenericName[nl]=Webbrowser
|
|
||||||
GenericName[nn]=Nettlesar
|
|
||||||
GenericName[no]=Nettleser
|
|
||||||
GenericName[pl]=Przeglądarka WWW
|
|
||||||
GenericName[pt]=Navegador Web
|
|
||||||
GenericName[pt_BR]=Navegador Web
|
|
||||||
GenericName[sk]=Internetový prehliadač
|
|
||||||
GenericName[sv]=Webbläsare
|
|
||||||
Comment=Browse the Web
|
|
||||||
Comment[ca]=Navegueu per el web
|
|
||||||
Comment[cs]=Prohlížení stránek World Wide Webu
|
|
||||||
Comment[de]=Im Internet surfen
|
|
||||||
Comment[es]=Navegue por la web
|
|
||||||
Comment[fa]=صفحات شبکه جهانی اینترنت را مرور نمایید
|
|
||||||
Comment[fi]=Selaa Internetin WWW-sivuja
|
|
||||||
Comment[fr]=Navigue sur Internet
|
|
||||||
Comment[hu]=A világháló böngészése
|
|
||||||
Comment[it]=Esplora il web
|
|
||||||
Comment[ja]=ウェブを閲覧します
|
|
||||||
Comment[ko]=웹을 돌아 다닙니다
|
|
||||||
Comment[nb]=Surf på nettet
|
|
||||||
Comment[nl]=Verken het internet
|
|
||||||
Comment[nn]=Surf på nettet
|
|
||||||
Comment[no]=Surf på nettet
|
|
||||||
Comment[pl]=Przeglądanie stron WWW
|
|
||||||
Comment[pt]=Navegue na Internet
|
|
||||||
Comment[pt_BR]=Navegue na Internet
|
|
||||||
Comment[sk]=Prehliadanie internetu
|
|
||||||
Comment[sv]=Surfa på webben
|
|
||||||
Exec=firefox %u
|
|
||||||
Icon=firefox
|
|
||||||
Terminal=false
|
|
||||||
Type=Application
|
|
||||||
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
|
|
||||||
StartupNotify=true
|
|
||||||
Categories=Network;WebBrowser;
|
|
||||||
Keywords=web;browser;internet;
|
|
||||||
Actions=new-window;new-private-window;profile-manager-window;
|
|
||||||
DBusActivatable=false
|
|
||||||
|
|
||||||
[Desktop Action new-window]
|
|
||||||
Name=Open a New Window
|
|
||||||
Name[ach]=Dirica manyen
|
|
||||||
Name[af]=Nuwe venster
|
|
||||||
Name[an]=Nueva finestra
|
|
||||||
Name[ar]=نافذة جديدة
|
|
||||||
Name[as]=নতুন উইন্ডো
|
|
||||||
Name[ast]=Ventana nueva
|
|
||||||
Name[az]=Yeni Pəncərə
|
|
||||||
Name[be]=Новае акно
|
|
||||||
Name[bg]=Нов прозорец
|
|
||||||
Name[bn_BD]=নতুন উইন্ডো (N)
|
|
||||||
Name[bn_IN]=নতুন উইন্ডো
|
|
||||||
Name[br]=Prenestr nevez
|
|
||||||
Name[brx]=गोदान उइन्ड'(N)
|
|
||||||
Name[bs]=Novi prozor
|
|
||||||
Name[ca]=Finestra nova
|
|
||||||
Name[cak]=K'ak'a' tzuwäch
|
|
||||||
Name[cs]=Nové okno
|
|
||||||
Name[cy]=Ffenestr Newydd
|
|
||||||
Name[da]=Nyt vindue
|
|
||||||
Name[de]=Neues Fenster
|
|
||||||
Name[dsb]=Nowe wokno
|
|
||||||
Name[el]=Νέο παράθυρο
|
|
||||||
Name[en_GB]=New Window
|
|
||||||
Name[en_US]=New Window
|
|
||||||
Name[en_ZA]=New Window
|
|
||||||
Name[eo]=Nova fenestro
|
|
||||||
Name[es_AR]=Nueva ventana
|
|
||||||
Name[es_CL]=Nueva ventana
|
|
||||||
Name[es_ES]=Nueva ventana
|
|
||||||
Name[es_MX]=Nueva ventana
|
|
||||||
Name[et]=Uus aken
|
|
||||||
Name[eu]=Leiho berria
|
|
||||||
Name[fa]=پنجره جدید
|
|
||||||
Name[ff]=Henorde Hesere
|
|
||||||
Name[fi]=Uusi ikkuna
|
|
||||||
Name[fr]=Nouvelle fenêtre
|
|
||||||
Name[fy_NL]=Nij finster
|
|
||||||
Name[ga_IE]=Fuinneog Nua
|
|
||||||
Name[gd]=Uinneag ùr
|
|
||||||
Name[gl]=Nova xanela
|
|
||||||
Name[gn]=Ovetã pyahu
|
|
||||||
Name[gu_IN]=નવી વિન્ડો
|
|
||||||
Name[he]=חלון חדש
|
|
||||||
Name[hi_IN]=नया विंडो
|
|
||||||
Name[hr]=Novi prozor
|
|
||||||
Name[hsb]=Nowe wokno
|
|
||||||
Name[hu]=Új ablak
|
|
||||||
Name[hy_AM]=Նոր Պատուհան
|
|
||||||
Name[id]=Jendela Baru
|
|
||||||
Name[is]=Nýr gluggi
|
|
||||||
Name[it]=Nuova finestra
|
|
||||||
Name[ja]=新しいウィンドウ
|
|
||||||
Name[ja_JP-mac]=新規ウインドウ
|
|
||||||
Name[ka]=ახალი ფანჯარა
|
|
||||||
Name[kk]=Жаңа терезе
|
|
||||||
Name[km]=បង្អួចថ្មី
|
|
||||||
Name[kn]=ಹೊಸ ಕಿಟಕಿ
|
|
||||||
Name[ko]=새 창
|
|
||||||
Name[kok]=नवें जनेल
|
|
||||||
Name[ks]=نئئ وِنڈو
|
|
||||||
Name[lij]=Neuvo barcon
|
|
||||||
Name[lo]=ຫນ້າຕ່າງໃຫມ່
|
|
||||||
Name[lt]=Naujas langas
|
|
||||||
Name[ltg]=Jauns lūgs
|
|
||||||
Name[lv]=Jauns logs
|
|
||||||
Name[mai]=नव विंडो
|
|
||||||
Name[mk]=Нов прозорец
|
|
||||||
Name[ml]=പുതിയ ജാലകം
|
|
||||||
Name[mr]=नवीन पटल
|
|
||||||
Name[ms]=Tetingkap Baru
|
|
||||||
Name[my]=ဝင်းဒိုးအသစ်
|
|
||||||
Name[nb_NO]=Nytt vindu
|
|
||||||
Name[ne_NP]=नयाँ सञ्झ्याल
|
|
||||||
Name[nl]=Nieuw venster
|
|
||||||
Name[nn_NO]=Nytt vindauge
|
|
||||||
Name[or]=ନୂତନ ୱିଣ୍ଡୋ
|
|
||||||
Name[pa_IN]=ਨਵੀਂ ਵਿੰਡੋ
|
|
||||||
Name[pl]=Nowe okno
|
|
||||||
Name[pt_BR]=Nova janela
|
|
||||||
Name[pt_PT]=Nova janela
|
|
||||||
Name[rm]=Nova fanestra
|
|
||||||
Name[ro]=Fereastră nouă
|
|
||||||
Name[ru]=Новое окно
|
|
||||||
Name[sat]=नावा विंडो (N)
|
|
||||||
Name[si]=නව කවුළුවක්
|
|
||||||
Name[sk]=Nové okno
|
|
||||||
Name[sl]=Novo okno
|
|
||||||
Name[son]=Zanfun taaga
|
|
||||||
Name[sq]=Dritare e Re
|
|
||||||
Name[sr]=Нови прозор
|
|
||||||
Name[sv_SE]=Nytt fönster
|
|
||||||
Name[ta]=புதிய சாளரம்
|
|
||||||
Name[te]=కొత్త విండో
|
|
||||||
Name[th]=หน้าต่างใหม่
|
|
||||||
Name[tr]=Yeni pencere
|
|
||||||
Name[tsz]=Eraatarakua jimpani
|
|
||||||
Name[uk]=Нове вікно
|
|
||||||
Name[ur]=نیا دریچہ
|
|
||||||
Name[uz]=Yangi oyna
|
|
||||||
Name[vi]=Cửa sổ mới
|
|
||||||
Name[wo]=Palanteer bu bees
|
|
||||||
Name[xh]=Ifestile entsha
|
|
||||||
Name[zh_CN]=新建窗口
|
|
||||||
Name[zh_TW]=開新視窗
|
|
||||||
Exec=firefox --new-window %u
|
|
||||||
|
|
||||||
[Desktop Action new-private-window]
|
|
||||||
Name=Open a New Private Window
|
|
||||||
Name[ach]=Dirica manyen me mung
|
|
||||||
Name[af]=Nuwe privaatvenster
|
|
||||||
Name[an]=Nueva finestra privada
|
|
||||||
Name[ar]=نافذة خاصة جديدة
|
|
||||||
Name[as]=নতুন ব্যক্তিগত উইন্ডো
|
|
||||||
Name[ast]=Ventana privada nueva
|
|
||||||
Name[az]=Yeni Məxfi Pəncərə
|
|
||||||
Name[be]=Новае акно адасаблення
|
|
||||||
Name[bg]=Нов прозорец за поверително сърфиране
|
|
||||||
Name[bn_BD]=নতুন ব্যক্তিগত উইন্ডো
|
|
||||||
Name[bn_IN]=নতুন ব্যক্তিগত উইন্ডো
|
|
||||||
Name[br]=Prenestr merdeiñ prevez nevez
|
|
||||||
Name[brx]=गोदान प्राइभेट उइन्ड'
|
|
||||||
Name[bs]=Novi privatni prozor
|
|
||||||
Name[ca]=Finestra privada nova
|
|
||||||
Name[cak]=K'ak'a' ichinan tzuwäch
|
|
||||||
Name[cs]=Nové anonymní okno
|
|
||||||
Name[cy]=Ffenestr Breifat Newydd
|
|
||||||
Name[da]=Nyt privat vindue
|
|
||||||
Name[de]=Neues privates Fenster
|
|
||||||
Name[dsb]=Nowe priwatne wokno
|
|
||||||
Name[el]=Νέο παράθυρο ιδιωτικής περιήγησης
|
|
||||||
Name[en_GB]=New Private Window
|
|
||||||
Name[en_US]=New Private Window
|
|
||||||
Name[en_ZA]=New Private Window
|
|
||||||
Name[eo]=Nova privata fenestro
|
|
||||||
Name[es_AR]=Nueva ventana privada
|
|
||||||
Name[es_CL]=Nueva ventana privada
|
|
||||||
Name[es_ES]=Nueva ventana privada
|
|
||||||
Name[es_MX]=Nueva ventana privada
|
|
||||||
Name[et]=Uus privaatne aken
|
|
||||||
Name[eu]=Leiho pribatu berria
|
|
||||||
Name[fa]=پنجره ناشناس جدید
|
|
||||||
Name[ff]=Henorde Suturo Hesere
|
|
||||||
Name[fi]=Uusi yksityinen ikkuna
|
|
||||||
Name[fr]=Nouvelle fenêtre de navigation privée
|
|
||||||
Name[fy_NL]=Nij priveefinster
|
|
||||||
Name[ga_IE]=Fuinneog Nua Phríobháideach
|
|
||||||
Name[gd]=Uinneag phrìobhaideach ùr
|
|
||||||
Name[gl]=Nova xanela privada
|
|
||||||
Name[gn]=Ovetã ñemi pyahu
|
|
||||||
Name[gu_IN]=નવી ખાનગી વિન્ડો
|
|
||||||
Name[he]=חלון פרטי חדש
|
|
||||||
Name[hi_IN]=नयी निजी विंडो
|
|
||||||
Name[hr]=Novi privatni prozor
|
|
||||||
Name[hsb]=Nowe priwatne wokno
|
|
||||||
Name[hu]=Új privát ablak
|
|
||||||
Name[hy_AM]=Սկսել Գաղտնի դիտարկում
|
|
||||||
Name[id]=Jendela Mode Pribadi Baru
|
|
||||||
Name[is]=Nýr huliðsgluggi
|
|
||||||
Name[it]=Nuova finestra anonima
|
|
||||||
Name[ja]=新しいプライベートウィンドウ
|
|
||||||
Name[ja_JP-mac]=新規プライベートウインドウ
|
|
||||||
Name[ka]=ახალი პირადი ფანჯარა
|
|
||||||
Name[kk]=Жаңа жекелік терезе
|
|
||||||
Name[km]=បង្អួចឯកជនថ្មី
|
|
||||||
Name[kn]=ಹೊಸ ಖಾಸಗಿ ಕಿಟಕಿ
|
|
||||||
Name[ko]=새 사생활 보호 모드
|
|
||||||
Name[kok]=नवो खाजगी विंडो
|
|
||||||
Name[ks]=نْو پرایوٹ وینڈو&
|
|
||||||
Name[lij]=Neuvo barcon privou
|
|
||||||
Name[lo]=ເປີດຫນ້າຕ່າງສວນຕົວຂື້ນມາໃຫມ່
|
|
||||||
Name[lt]=Naujas privataus naršymo langas
|
|
||||||
Name[ltg]=Jauns privatais lūgs
|
|
||||||
Name[lv]=Jauns privātais logs
|
|
||||||
Name[mai]=नया निज विंडो (W)
|
|
||||||
Name[mk]=Нов приватен прозорец
|
|
||||||
Name[ml]=പുതിയ സ്വകാര്യ ജാലകം
|
|
||||||
Name[mr]=नवीन वैयक्तिक पटल
|
|
||||||
Name[ms]=Tetingkap Persendirian Baharu
|
|
||||||
Name[my]=New Private Window
|
|
||||||
Name[nb_NO]=Nytt privat vindu
|
|
||||||
Name[ne_NP]=नयाँ निजी सञ्झ्याल
|
|
||||||
Name[nl]=Nieuw privévenster
|
|
||||||
Name[nn_NO]=Nytt privat vindauge
|
|
||||||
Name[or]=ନୂତନ ବ୍ୟକ୍ତିଗତ ୱିଣ୍ଡୋ
|
|
||||||
Name[pa_IN]=ਨਵੀਂ ਪ੍ਰਾਈਵੇਟ ਵਿੰਡੋ
|
|
||||||
Name[pl]=Nowe okno prywatne
|
|
||||||
Name[pt_BR]=Nova janela privativa
|
|
||||||
Name[pt_PT]=Nova janela privada
|
|
||||||
Name[rm]=Nova fanestra privata
|
|
||||||
Name[ro]=Fereastră privată nouă
|
|
||||||
Name[ru]=Новое приватное окно
|
|
||||||
Name[sat]=नावा निजेराक् विंडो (W )
|
|
||||||
Name[si]=නව පුද්ගලික කවුළුව (W)
|
|
||||||
Name[sk]=Nové okno v režime Súkromné prehliadanie
|
|
||||||
Name[sl]=Novo zasebno okno
|
|
||||||
Name[son]=Sutura zanfun taaga
|
|
||||||
Name[sq]=Dritare e Re Private
|
|
||||||
Name[sr]=Нови приватан прозор
|
|
||||||
Name[sv_SE]=Nytt privat fönster
|
|
||||||
Name[ta]=புதிய தனிப்பட்ட சாளரம்
|
|
||||||
Name[te]=కొత్త ఆంతరంగిక విండో
|
|
||||||
Name[th]=หน้าต่างส่วนตัวใหม่
|
|
||||||
Name[tr]=Yeni gizli pencere
|
|
||||||
Name[tsz]=Juchiiti eraatarakua jimpani
|
|
||||||
Name[uk]=Приватне вікно
|
|
||||||
Name[ur]=نیا نجی دریچہ
|
|
||||||
Name[uz]=Yangi maxfiy oyna
|
|
||||||
Name[vi]=Cửa sổ riêng tư mới
|
|
||||||
Name[wo]=Panlanteeru biir bu bees
|
|
||||||
Name[xh]=Ifestile yangasese entsha
|
|
||||||
Name[zh_CN]=新建隐私浏览窗口
|
|
||||||
Name[zh_TW]=新增隱私視窗
|
|
||||||
Exec=firefox --private-window %u
|
|
||||||
|
|
||||||
[Desktop Action profile-manager-window]
|
|
||||||
Name=Open the Profile Manager
|
|
||||||
Name[cs]=Správa profilů
|
|
||||||
Name[de]=Profilverwaltung öffnen
|
|
||||||
Name[fr]=Ouvrir le gestionnaire de profils
|
|
||||||
Exec=firefox --ProfileManager
|
|
@ -1,5 +0,0 @@
|
|||||||
[Shell Search Provider]
|
|
||||||
DesktopId=org.mozilla.firefox.desktop
|
|
||||||
BusName=org.mozilla.firefox.SearchProvider
|
|
||||||
ObjectPath=/org/mozilla/firefox/SearchProvider
|
|
||||||
Version=2
|
|
116
pgo.patch
116
pgo.patch
@ -1,116 +0,0 @@
|
|||||||
diff -up firefox-122.0/build/moz.configure/lto-pgo.configure.pgo firefox-122.0/build/moz.configure/lto-pgo.configure
|
|
||||||
--- firefox-122.0/build/moz.configure/lto-pgo.configure.pgo 2024-01-18 21:41:19.000000000 +0100
|
|
||||||
+++ firefox-122.0/build/moz.configure/lto-pgo.configure 2024-01-19 18:21:17.974681504 +0100
|
|
||||||
@@ -86,7 +86,7 @@ def pgo_flags(compiler, profdata, target
|
|
||||||
return namespace(
|
|
||||||
gen_cflags=["-fprofile-generate"],
|
|
||||||
gen_ldflags=["-fprofile-generate"],
|
|
||||||
- use_cflags=["-fprofile-use", "-fprofile-correction", "-Wcoverage-mismatch"],
|
|
||||||
+ use_cflags=["-fprofile-use", "-fprofile-correction", "-Wno-coverage-mismatch"],
|
|
||||||
use_ldflags=["-fprofile-use"],
|
|
||||||
)
|
|
||||||
|
|
||||||
diff -up firefox-122.0/build/pgo/profileserver.py.pgo firefox-122.0/build/pgo/profileserver.py
|
|
||||||
--- firefox-122.0/build/pgo/profileserver.py.pgo 2024-01-18 21:41:20.000000000 +0100
|
|
||||||
+++ firefox-122.0/build/pgo/profileserver.py 2024-01-19 18:21:17.974681504 +0100
|
|
||||||
@@ -11,7 +11,7 @@ import subprocess
|
|
||||||
import sys
|
|
||||||
|
|
||||||
import mozcrash
|
|
||||||
-from mozbuild.base import BinaryNotFoundException, MozbuildObject
|
|
||||||
+from mozbuild.base import BinaryNotFoundException, MozbuildObject, BuildEnvironmentNotFoundException
|
|
||||||
from mozfile import TemporaryDirectory
|
|
||||||
from mozhttpd import MozHttpd
|
|
||||||
from mozprofile import FirefoxProfile, Preferences
|
|
||||||
@@ -98,9 +98,22 @@ if __name__ == "__main__":
|
|
||||||
locations = ServerLocations()
|
|
||||||
locations.add_host(host="127.0.0.1", port=PORT, options="primary,privileged")
|
|
||||||
|
|
||||||
- old_profraw_files = glob.glob("*.profraw")
|
|
||||||
- for f in old_profraw_files:
|
|
||||||
- os.remove(f)
|
|
||||||
+ using_gcc = False
|
|
||||||
+ try:
|
|
||||||
+ if build.config_environment.substs.get('CC_TYPE') == 'gcc':
|
|
||||||
+ using_gcc = True
|
|
||||||
+ except BuildEnvironmentNotFoundException:
|
|
||||||
+ pass
|
|
||||||
+
|
|
||||||
+ if using_gcc:
|
|
||||||
+ for dirpath, _, filenames in os.walk('.'):
|
|
||||||
+ for f in filenames:
|
|
||||||
+ if f.endswith('.gcda'):
|
|
||||||
+ os.remove(os.path.join(dirpath, f))
|
|
||||||
+ else:
|
|
||||||
+ old_profraw_files = glob.glob('*.profraw')
|
|
||||||
+ for f in old_profraw_files:
|
|
||||||
+ os.remove(f)
|
|
||||||
|
|
||||||
with TemporaryDirectory() as profilePath:
|
|
||||||
# TODO: refactor this into mozprofile
|
|
||||||
diff -up firefox-122.0/gfx/2d/moz.build.pgo firefox-122.0/gfx/2d/moz.build
|
|
||||||
--- firefox-122.0/gfx/2d/moz.build.pgo 2024-01-18 21:41:22.000000000 +0100
|
|
||||||
+++ firefox-122.0/gfx/2d/moz.build 2024-01-19 18:21:17.974681504 +0100
|
|
||||||
@@ -137,11 +137,11 @@ if CONFIG["INTEL_ARCHITECTURE"]:
|
|
||||||
# The file uses SSE2 intrinsics, so it needs special compile flags on some
|
|
||||||
# compilers.
|
|
||||||
SOURCES["BlurSSE2.cpp"].flags += CONFIG["SSE2_FLAGS"]
|
|
||||||
- SOURCES["ConvolutionFilterAVX2.cpp"].flags += ["-mavx2"]
|
|
||||||
+ SOURCES["ConvolutionFilterAVX2.cpp"].flags += ["-mavx2", "-fno-lto"]
|
|
||||||
SOURCES["ConvolutionFilterSSE2.cpp"].flags += CONFIG["SSE2_FLAGS"]
|
|
||||||
SOURCES["FilterProcessingSSE2.cpp"].flags += CONFIG["SSE2_FLAGS"]
|
|
||||||
SOURCES["ImageScalingSSE2.cpp"].flags += CONFIG["SSE2_FLAGS"]
|
|
||||||
- SOURCES["SwizzleAVX2.cpp"].flags += ["-mavx2"]
|
|
||||||
+ SOURCES["SwizzleAVX2.cpp"].flags += ["-mavx2", "-fno-lto"]
|
|
||||||
SOURCES["SwizzleSSE2.cpp"].flags += CONFIG["SSE2_FLAGS"]
|
|
||||||
SOURCES["SwizzleSSSE3.cpp"].flags += CONFIG["SSSE3_FLAGS"]
|
|
||||||
SOURCES["ssse3-scaler.c"].flags += CONFIG["SSSE3_FLAGS"]
|
|
||||||
diff -up firefox-122.0/gfx/skia/generate_mozbuild.py.pgo firefox-122.0/gfx/skia/generate_mozbuild.py
|
|
||||||
--- firefox-122.0/gfx/skia/generate_mozbuild.py.pgo 2024-01-19 18:21:17.975681537 +0100
|
|
||||||
+++ firefox-122.0/gfx/skia/generate_mozbuild.py 2024-01-19 18:24:15.494934133 +0100
|
|
||||||
@@ -54,10 +54,10 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'wind
|
|
||||||
if CONFIG['INTEL_ARCHITECTURE']:
|
|
||||||
SOURCES['skia/src/opts/SkOpts_ssse3.cpp'].flags += ['-Dskvx=skvx_ssse3', '-mssse3']
|
|
||||||
SOURCES['skia/src/opts/SkOpts_sse42.cpp'].flags += ['-Dskvx=skvx_sse42', '-msse4.2']
|
|
||||||
- SOURCES['skia/src/opts/SkOpts_avx.cpp'].flags += ['-Dskvx=skvx_avx', '-mavx']
|
|
||||||
- SOURCES['skia/src/opts/SkOpts_hsw.cpp'].flags += ['-Dskvx=skvx_hsw', '-mavx2', '-mf16c', '-mfma']
|
|
||||||
+ SOURCES['skia/src/opts/SkOpts_avx.cpp'].flags += ['-Dskvx=skvx_avx', '-mavx', '-fno-lto']
|
|
||||||
+ SOURCES['skia/src/opts/SkOpts_hsw.cpp'].flags += ['-Dskvx=skvx_hsw', '-mavx2', '-mf16c', '-mfma', '-fno-lto']
|
|
||||||
if not CONFIG["MOZ_CODE_COVERAGE"]:
|
|
||||||
- SOURCES['skia/src/opts/SkOpts_skx.cpp'].flags += ['-Dskvx=skvx_skx', '-mavx512f', '-mavx512dq', '-mavx512cd', '-mavx512bw', '-mavx512vl']
|
|
||||||
+ SOURCES['skia/src/opts/SkOpts_skx.cpp'].flags += ['-Dskvx=skvx_skx', '-mavx512f', '-mavx512dq', '-mavx512cd', '-mavx512bw', '-mavx512vl', '-fno-lto']
|
|
||||||
elif CONFIG['TARGET_CPU'] == 'aarch64' and CONFIG['CC_TYPE'] in ('clang', 'gcc'):
|
|
||||||
SOURCES['skia/src/opts/SkOpts_crc32.cpp'].flags += ['-Dskvx=skvx_crc32', '-march=armv8-a+crc']
|
|
||||||
|
|
||||||
diff -up firefox-122.0/gfx/skia/moz.build.pgo firefox-122.0/gfx/skia/moz.build
|
|
||||||
--- firefox-122.0/gfx/skia/moz.build.pgo 2024-01-19 18:21:17.975681537 +0100
|
|
||||||
+++ firefox-122.0/gfx/skia/moz.build 2024-01-19 18:25:13.472039275 +0100
|
|
||||||
@@ -564,10 +564,10 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'wind
|
|
||||||
if CONFIG['INTEL_ARCHITECTURE']:
|
|
||||||
SOURCES['skia/src/opts/SkOpts_ssse3.cpp'].flags += ['-Dskvx=skvx_ssse3', '-mssse3']
|
|
||||||
SOURCES['skia/src/opts/SkOpts_sse42.cpp'].flags += ['-Dskvx=skvx_sse42', '-msse4.2']
|
|
||||||
- SOURCES['skia/src/opts/SkOpts_avx.cpp'].flags += ['-Dskvx=skvx_avx', '-mavx']
|
|
||||||
- SOURCES['skia/src/opts/SkOpts_hsw.cpp'].flags += ['-Dskvx=skvx_hsw', '-mavx2', '-mf16c', '-mfma']
|
|
||||||
+ SOURCES['skia/src/opts/SkOpts_avx.cpp'].flags += ['-Dskvx=skvx_avx', '-mavx', '-fno-lto']
|
|
||||||
+ SOURCES['skia/src/opts/SkOpts_hsw.cpp'].flags += ['-Dskvx=skvx_hsw', '-mavx2', '-mf16c', '-mfma', '-fno-lto']
|
|
||||||
if not CONFIG["MOZ_CODE_COVERAGE"]:
|
|
||||||
- SOURCES['skia/src/opts/SkOpts_skx.cpp'].flags += ['-Dskvx=skvx_skx', '-mavx512f', '-mavx512dq', '-mavx512cd', '-mavx512bw', '-mavx512vl']
|
|
||||||
+ SOURCES['skia/src/opts/SkOpts_skx.cpp'].flags += ['-Dskvx=skvx_skx', '-mavx512f', '-mavx512dq', '-mavx512cd', '-mavx512bw', '-mavx512vl', '-fno-lto']
|
|
||||||
elif CONFIG['TARGET_CPU'] == 'aarch64' and CONFIG['CC_TYPE'] in ('clang', 'gcc'):
|
|
||||||
SOURCES['skia/src/opts/SkOpts_crc32.cpp'].flags += ['-Dskvx=skvx_crc32', '-march=armv8-a+crc']
|
|
||||||
|
|
||||||
diff -up firefox-122.0/toolkit/components/terminator/nsTerminator.cpp.pgo firefox-122.0/toolkit/components/terminator/nsTerminator.cpp
|
|
||||||
--- firefox-122.0/toolkit/components/terminator/nsTerminator.cpp.pgo 2024-01-18 21:41:36.000000000 +0100
|
|
||||||
+++ firefox-122.0/toolkit/components/terminator/nsTerminator.cpp 2024-01-19 18:21:17.976681572 +0100
|
|
||||||
@@ -460,6 +460,11 @@ void nsTerminator::StartWatchdog() {
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
+ // Disable watchdog for PGO train builds - writting profile information at
|
|
||||||
+ // exit may take time and it is better to make build hang rather than
|
|
||||||
+ // silently produce poorly performing binary.
|
|
||||||
+ crashAfterMS = INT32_MAX;
|
|
||||||
+
|
|
||||||
UniquePtr<Options> options(new Options());
|
|
||||||
// crashAfterTicks is guaranteed to be > 0 as
|
|
||||||
// crashAfterMS >= ADDITIONAL_WAIT_BEFORE_CRASH_MS >> HEARTBEAT_INTERVAL_MS
|
|
@ -1,13 +0,0 @@
|
|||||||
#!/usr/bin/bash
|
|
||||||
# Print reftest failures and compose them to html
|
|
||||||
|
|
||||||
TEST_DIR="$1"
|
|
||||||
TEST_FLAVOUR="$2"
|
|
||||||
OUTPUT_FILE="failures-reftest$TEST_FLAVOUR.html"
|
|
||||||
|
|
||||||
grep --text -e "REFTEST TEST-UNEXPECTED-PASS" -e "REFTEST TEST-UNEXPECTED-FAIL" -e "IMAGE 1 (TEST):" -e "IMAGE 2 (REFERENCE):" $TEST_DIR/reftest$TEST_FLAVOUR 2>&1 > $OUTPUT_FILE
|
|
||||||
sed -i '/REFTEST IMAGE 1/a ">' $OUTPUT_FILE
|
|
||||||
sed -i '/REFTEST IMAGE 2/a "><BR><BR>' $OUTPUT_FILE
|
|
||||||
sed -i '/REFTEST TEST/a <BR>' $OUTPUT_FILE
|
|
||||||
sed -i -e 's/^REFTEST IMAGE 1 (TEST): /<img border=2 src="/' $OUTPUT_FILE
|
|
||||||
sed -i -e 's/^REFTEST IMAGE 2 (REFERENCE): /<img border=2 src="/' $OUTPUT_FILE
|
|
@ -1,9 +0,0 @@
|
|||||||
#!/usr/bin/bash
|
|
||||||
# Print failed tests
|
|
||||||
|
|
||||||
TEST_DIR=$1
|
|
||||||
TEST_FLAVOUR=$2
|
|
||||||
|
|
||||||
grep "TEST-UNEXPECTED-FAIL" $TEST_DIR/mochitest$TEST_FLAVOUR 2>&1 > failures-mochitest$TEST_FLAVOUR.txt
|
|
||||||
grep --text -e " FAIL " -e " TIMEOUT " $TEST_DIR/xpcshell$TEST_FLAVOUR 2>&1 > failures-xpcshell$TEST_FLAVOUR.txt
|
|
||||||
grep --text -e "REFTEST TEST-UNEXPECTED-PASS" -e "REFTEST TEST-UNEXPECTED-FAIL" $TEST_DIR/reftest$TEST_FLAVOUR 2>&1 > failures-reftest$TEST_FLAVOUR.txt
|
|
@ -1,9 +0,0 @@
|
|||||||
#!/usr/bin/bash
|
|
||||||
# Analyze and print test failures
|
|
||||||
|
|
||||||
export TEST_DIR="test_results"
|
|
||||||
|
|
||||||
#./print-errors $TEST_DIR ""
|
|
||||||
./print-errors $TEST_DIR "-wr"
|
|
||||||
#./print-error-reftest $TEST_DIR ""
|
|
||||||
./print-error-reftest $TEST_DIR "-wr"
|
|
@ -1,10 +0,0 @@
|
|||||||
#!/usr/bin/bash
|
|
||||||
# Analyze and print general test results
|
|
||||||
|
|
||||||
export TEST_DIR="test_results"
|
|
||||||
|
|
||||||
echo "Test results"
|
|
||||||
#echo "Basic compositor"
|
|
||||||
#./psummary $TEST_DIR ""
|
|
||||||
echo "WebRender"
|
|
||||||
./psummary $TEST_DIR "-wr"
|
|
23
process-official-tarball
Executable file
23
process-official-tarball
Executable file
@ -0,0 +1,23 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
rm -rf ./process-tarball-dir
|
||||||
|
mkdir ./process-tarball-dir
|
||||||
|
tar -xJf $1 --directory process-tarball-dir
|
||||||
|
|
||||||
|
rm -vf ./process-tarball-dir/*/testing/web-platform/tests/conformance-checkers/html-rdfa/0030-isvalid.html
|
||||||
|
rm -vf ./process-tarball-dir/*/testing/web-platform/tests/conformance-checkers/html-rdfa/0008-isvalid.html
|
||||||
|
rm -vf ./process-tarball-dir/*/testing/web-platform/tests/conformance-checkers/html-rdfalite/0030-isvalid.html
|
||||||
|
rm -vf ./process-tarball-dir/*/testing/web-platform/tests/css/css-ui/support/cursors/woolly-64.svg
|
||||||
|
rm -vf ./process-tarball-dir/*/testing/web-platform/tests/css/css-ui/support/cursors/woolly.svg
|
||||||
|
rm -vf ./process-tarball-dir/*/testing/web-platform/tests/conformance-checkers/html-rdfa/0230-novalid.html
|
||||||
|
rm -vf ./process-tarball-dir/*/testing/web-platform/tests/conformance-checkers/html-rdfa/0231-isvalid.html
|
||||||
|
rm -vf ./process-tarball-dir/*/layout/inspector/tests/chrome/test_fontVariationsAPI.css
|
||||||
|
|
||||||
|
processed_tarball=${1/source/processed-source}
|
||||||
|
|
||||||
|
cd ./process-tarball-dir
|
||||||
|
tar -cf - ./* | xz -9 -T 0 -f > $processed_tarball
|
||||||
|
mv $processed_tarball ..
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
rm -rf ./process-tarball-dir
|
23
psummary
23
psummary
@ -1,23 +0,0 @@
|
|||||||
#!/usr/bin/bash
|
|
||||||
# Analyze and print specialized (basic/webrender) test results
|
|
||||||
|
|
||||||
TEST_DIR=$1
|
|
||||||
TEST_FLAVOUR=$2
|
|
||||||
|
|
||||||
MPASS=`grep "TEST_END: Test OK" $TEST_DIR/mochitest$TEST_FLAVOUR | wc -l`
|
|
||||||
MERR=`grep "TEST_END: Test ERROR" $TEST_DIR/mochitest$TEST_FLAVOUR | wc -l`
|
|
||||||
MUNEX=`grep "TEST-UNEXPECTED-FAIL" $TEST_DIR/mochitest$TEST_FLAVOUR | wc -l`
|
|
||||||
echo "Mochitest PASSED: $MPASS FAILED: $MERR UNEXPECTED-FAILURES: $MUNEX"
|
|
||||||
|
|
||||||
XPCPASS=`grep --text "Expected results:" $TEST_DIR/xpcshell$TEST_FLAVOUR | cut -d ' ' -f 3`
|
|
||||||
XPCFAIL=`grep --text "Unexpected results:" $TEST_DIR/xpcshell$TEST_FLAVOUR | cut -d ' ' -f 3`
|
|
||||||
echo "XPCShell: PASSED: $XPCPASS FAILED: $XPCFAIL"
|
|
||||||
|
|
||||||
CRPASS=`grep "REFTEST INFO | Successful:" $TEST_DIR/crashtest$TEST_FLAVOUR | cut -d ' ' -f 5`
|
|
||||||
CRFAIL=`grep "^REFTEST INFO | Unexpected:" $TEST_DIR/crashtest$TEST_FLAVOUR | cut -d ' ' -f 5`
|
|
||||||
echo "Crashtest: PASSED: $CRPASS FAILED: $CRFAIL"
|
|
||||||
|
|
||||||
RFPASS=`grep --text "REFTEST INFO | Successful:" $TEST_DIR/reftest$TEST_FLAVOUR | cut -d ' ' -f 5`
|
|
||||||
RFUN=`grep --text "^REFTEST INFO | Unexpected:" $TEST_DIR/reftest$TEST_FLAVOUR | cut -d ' ' -f 5`
|
|
||||||
RFKNOWN=`grep --text "REFTEST INFO | Known problems:" $TEST_DIR/reftest$TEST_FLAVOUR | cut -d ' ' -f 6`
|
|
||||||
echo "Reftest: PASSED: $RFPASS FAILED: $RFUN Known issues: $RFKNOWN"
|
|
4558
python-build.patch
4558
python-build.patch
File diff suppressed because it is too large
Load Diff
25
rhbz-2131158-webrtc-nss-fix.patch
Normal file
25
rhbz-2131158-webrtc-nss-fix.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
diff -up firefox-102.3.0/third_party/libsrtp/src/crypto/cipher/aes_gcm_nss.c.webrtc-fix firefox-102.3.0/third_party/libsrtp/src/crypto/cipher/aes_gcm_nss.c
|
||||||
|
--- firefox-102.3.0/third_party/libsrtp/src/crypto/cipher/aes_gcm_nss.c.webrtc-fix 2022-10-04 18:58:30.563683229 +0200
|
||||||
|
+++ firefox-102.3.0/third_party/libsrtp/src/crypto/cipher/aes_gcm_nss.c 2022-10-04 18:58:44.583652963 +0200
|
||||||
|
@@ -293,7 +293,7 @@ static srtp_err_status_t srtp_aes_gcm_ns
|
||||||
|
|
||||||
|
int rv;
|
||||||
|
SECItem param = { siBuffer, (unsigned char *)&c->params,
|
||||||
|
- sizeof(CK_GCM_PARAMS) };
|
||||||
|
+ sizeof(CK_NSS_GCM_PARAMS) };
|
||||||
|
if (encrypt) {
|
||||||
|
rv = PK11_Encrypt(c->key, CKM_AES_GCM, ¶m, buf, enc_len,
|
||||||
|
*enc_len + 16, buf, *enc_len);
|
||||||
|
diff -up firefox-102.3.0/third_party/libsrtp/src/crypto/include/aes_gcm.h.webrtc-fix firefox-102.3.0/third_party/libsrtp/src/crypto/include/aes_gcm.h
|
||||||
|
--- firefox-102.3.0/third_party/libsrtp/src/crypto/include/aes_gcm.h.webrtc-fix 2022-10-04 18:59:16.635583764 +0200
|
||||||
|
+++ firefox-102.3.0/third_party/libsrtp/src/crypto/include/aes_gcm.h 2022-10-04 18:59:31.848550924 +0200
|
||||||
|
@@ -101,7 +101,7 @@ typedef struct {
|
||||||
|
uint8_t iv[12];
|
||||||
|
uint8_t aad[MAX_AD_SIZE];
|
||||||
|
int aad_size;
|
||||||
|
- CK_GCM_PARAMS params;
|
||||||
|
+ CK_NSS_GCM_PARAMS params;
|
||||||
|
uint8_t tag[16];
|
||||||
|
} srtp_aes_gcm_ctx_t;
|
||||||
|
|
||||||
|
diff -up firefox-102.3.0/third_party/prio/prio/encrypt.c.webrtc-fix firefox-102.3.0/third_party/prio/prio/encrypt.c
|
@ -1,80 +0,0 @@
|
|||||||
#!/usr/bin/bash
|
|
||||||
# usage: run-tests-wayland [test flavour]
|
|
||||||
|
|
||||||
set -x
|
|
||||||
|
|
||||||
RUN_XPCSHELL_TEST=1
|
|
||||||
RUN_REFTEST=1
|
|
||||||
RUN_MOCHITEST=1
|
|
||||||
RUN_CRASHTEST=1
|
|
||||||
|
|
||||||
while (( "$#" )); do
|
|
||||||
SELECTED_TEST=$1
|
|
||||||
if [ "$SELECTED_TEST" = "xpcshell" ] ; then
|
|
||||||
RUN_XPCSHELL_TEST=1
|
|
||||||
elif [ "$SELECTED_TEST" = "reftest" ] ; then
|
|
||||||
RUN_REFTEST=1
|
|
||||||
elif [ "$SELECTED_TEST" = "mochitest" ] ; then
|
|
||||||
RUN_MOCHITEST=1
|
|
||||||
elif [ "$SELECTED_TEST" = "crashtest" ] ; then
|
|
||||||
RUN_CRASHTEST=1
|
|
||||||
fi
|
|
||||||
shift
|
|
||||||
done
|
|
||||||
|
|
||||||
export MACH_USE_SYSTEM_PYTHON=1
|
|
||||||
export MOZ_NODE_PATH=/usr/bin/node
|
|
||||||
|
|
||||||
MOCHITEST_PARAMS="--timeout 1 --chunk-by-dir 4"
|
|
||||||
TEST_DIR="test_results"
|
|
||||||
mkdir $TEST_DIR
|
|
||||||
|
|
||||||
env | grep "DISPLAY"
|
|
||||||
|
|
||||||
# Fix for system nss
|
|
||||||
ln -s /usr/bin/certutil objdir/dist/bin/certutil
|
|
||||||
ln -s /usr/bin/pk12util objdir/dist/bin/pk12util
|
|
||||||
|
|
||||||
NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"
|
|
||||||
|
|
||||||
export MOZ_ENABLE_WAYLAND=1
|
|
||||||
|
|
||||||
if [ $RUN_XPCSHELL_TEST -ne 0 ] ; then
|
|
||||||
# ./mach xpcshell-test 2>&1 | cat - | tee $TEST_DIR/xpcshell
|
|
||||||
./mach xpcshell-test --enable-webrender 2>&1 | cat - | tee $TEST_DIR/xpcshell-wr
|
|
||||||
sleep 60
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Basic render testing
|
|
||||||
export TEST_PARAMS="--setpref reftest.ignoreWindowSize=true --setpref widget.wayland.test-workarounds.enabled=true"
|
|
||||||
#export TEST_FLAVOUR=""
|
|
||||||
#if [ $RUN_REFTEST -ne 0 ] ; then
|
|
||||||
# ./mach reftest --marionette localhost:$(($(($RANDOM))+2000)) $TEST_PARAMS 2>&1 | tee $TEST_DIR/reftest$TEST_FLAVOUR
|
|
||||||
#fi
|
|
||||||
#if [ $RUN_CRASHTEST -ne 0 ] ; then
|
|
||||||
# ./mach crashtest --marionette localhost:$(($(($RANDOM))+2000)) $TEST_PARAMS 2>&1 | tee $TEST_DIR/crashtest$TEST_FLAVOUR
|
|
||||||
#fi
|
|
||||||
#if [ $RUN_MOCHITEST -ne 0 ] ; then
|
|
||||||
# ./mach mochitest --marionette localhost:$(($(($RANDOM))+2000)) $MOCHITEST_PARAMS $TEST_PARAMS 2>&1 | tee $TEST_DIR/mochitest$TEST_FLAVOUR
|
|
||||||
#fi
|
|
||||||
|
|
||||||
# WebRender testing
|
|
||||||
export TEST_PARAMS="--enable-webrender $TEST_PARAMS"
|
|
||||||
export TEST_FLAVOUR="-wr"
|
|
||||||
# Use dom/base/test or dom/base/test/chrome for short version
|
|
||||||
export MOCHITEST_DIR='dom'
|
|
||||||
if [ $RUN_REFTEST -ne 0 ] ; then
|
|
||||||
./mach reftest $TEST_PARAMS 2>&1 | tee $TEST_DIR/reftest$TEST_FLAVOUR
|
|
||||||
sleep 60
|
|
||||||
fi
|
|
||||||
if [ $RUN_CRASHTEST -ne 0 ] ; then
|
|
||||||
./mach crashtest $TEST_PARAMS 2>&1 | tee $TEST_DIR/crashtest$TEST_FLAVOUR
|
|
||||||
sleep 60
|
|
||||||
fi
|
|
||||||
if [ $RUN_MOCHITEST -ne 0 ] ; then
|
|
||||||
./mach mochitest $MOCHITEST_DIR $MOCHITEST_PARAMS $TEST_PARAMS 2>&1 | tee $TEST_DIR/mochitest$TEST_FLAVOUR
|
|
||||||
sleep 60
|
|
||||||
fi
|
|
||||||
|
|
||||||
rm -f objdir/dist/bin/certutil
|
|
||||||
rm -f objdir/dist/bin/pk12util
|
|
@ -1,39 +0,0 @@
|
|||||||
#!/usr/bin/bash
|
|
||||||
set -x
|
|
||||||
|
|
||||||
export MACH_USE_SYSTEM_PYTHON=1
|
|
||||||
export MOZ_NODE_PATH=/usr/bin/node
|
|
||||||
export X_PARAMS="-screen 0 1600x1200x24"
|
|
||||||
export MOCHITEST_PARAMS="--timeout 1 --chunk-by-dir 4"
|
|
||||||
export TEST_DIR="test_results"
|
|
||||||
|
|
||||||
# Fix for system nss
|
|
||||||
ln -s /usr/bin/certutil objdir/dist/bin/certutil
|
|
||||||
ln -s /usr/bin/pk12util objdir/dist/bin/pk12util
|
|
||||||
|
|
||||||
NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"
|
|
||||||
|
|
||||||
# Basic render testing
|
|
||||||
export TEST_PARAMS=""
|
|
||||||
export TEST_FLAVOUR=""
|
|
||||||
#xvfb-run -s "$X_PARAMS" -n 91 ./mach xpcshell-test --sequential $TEST_PARAMS 2>&1 | cat - | tee $TEST_DIR/xpcshell
|
|
||||||
#xvfb-run -s "$X_PARAMS" -n 92 ./mach reftest --marionette localhost:$(($(($RANDOM))+2000)) $TEST_PARAMS 2>&1 | tee $TEST_DIR/reftest$TEST_FLAVOUR
|
|
||||||
#xvfb-run -s "$X_PARAMS" -n 93 ./mach crashtest --marionette localhost:$(($(($RANDOM))+2000)) $TEST_PARAMS 2>&1 | tee $TEST_DIR/crashtest$TEST_FLAVOUR
|
|
||||||
#xvfb-run -s "$X_PARAMS" -n 94 ./mach mochitest --marionette localhost:$(($(($RANDOM))+2000)) $MOCHITEST_PARAMS $TEST_PARAMS 2>&1 | tee $TEST_DIR/mochitest$TEST_FLAVOUR
|
|
||||||
|
|
||||||
# WebRender testing
|
|
||||||
export TEST_PARAMS="--enable-webrender $TEST_PARAMS"
|
|
||||||
export TEST_FLAVOUR="-wr"
|
|
||||||
#xvfb-run -s "$X_PARAMS" -n 95 ./mach xpcshell-test --sequential $TEST_PARAMS 2>&1 | cat - | tee $TEST_DIR/xpcshell-wr
|
|
||||||
#sleep 60
|
|
||||||
#xvfb-run -s "$X_PARAMS" -n 96 ./mach reftest $TEST_PARAMS 2>&1 | tee $TEST_DIR/reftest$TEST_FLAVOUR
|
|
||||||
#sleep 60
|
|
||||||
#xvfb-run -s "$X_PARAMS" -n 97 ./mach crashtest $TEST_PARAMS 2>&1 | tee $TEST_DIR/crashtest$TEST_FLAVOUR
|
|
||||||
#sleep 60
|
|
||||||
#export DISPLAY=:0
|
|
||||||
#./mach mochitest dom/base/test/ $MOCHITEST_PARAMS $TEST_PARAMS 2>&1 | tee $TEST_DIR/mochitest$TEST_FLAVOUR
|
|
||||||
export DISPLAY=:98
|
|
||||||
xvfb-run -s "$X_PARAMS" -n 98 ./mach mochitest dom/base/test/ $MOCHITEST_PARAMS $TEST_PARAMS 2>&1 | tee $TEST_DIR/mochitest$TEST_FLAVOUR
|
|
||||||
|
|
||||||
rm -f objdir/dist/bin/certutil
|
|
||||||
rm -f objdir/dist/bin/pk12util
|
|
@ -1,50 +0,0 @@
|
|||||||
#!/usr/bin/bash
|
|
||||||
# Run wayland compositor and set WAYLAND_DISPLAY env variable
|
|
||||||
|
|
||||||
set -x
|
|
||||||
|
|
||||||
echo export DESKTOP_SESSION=gnome > $HOME/.xsessionrc
|
|
||||||
echo export XDG_CURRENT_DESKTOP=GNOME > $HOME/.xsessionrc
|
|
||||||
echo export XDG_SESSION_TYPE=wayland >> $HOME/.xsessionrc
|
|
||||||
|
|
||||||
# Turn off the screen saver and screen locking
|
|
||||||
gsettings set org.gnome.desktop.screensaver idle-activation-enabled false
|
|
||||||
gsettings set org.gnome.desktop.screensaver lock-enabled false
|
|
||||||
gsettings set org.gnome.desktop.screensaver lock-delay 3600
|
|
||||||
|
|
||||||
# Disable the screen saver
|
|
||||||
# This starts the gnome-keyring-daemon with an unlocked login keyring. libsecret uses this to
|
|
||||||
# store secrets. Firefox uses libsecret to store a key that protects sensitive information like
|
|
||||||
# credit card numbers.
|
|
||||||
if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
|
|
||||||
# if not found, launch a new one
|
|
||||||
eval `dbus-launch --sh-syntax`
|
|
||||||
fi
|
|
||||||
eval `echo '' | /usr/bin/gnome-keyring-daemon -r -d --unlock --components=secrets`
|
|
||||||
|
|
||||||
if [ -z "$XDG_RUNTIME_DIR" ]; then
|
|
||||||
export XDG_RUNTIME_DIR=$HOME
|
|
||||||
fi
|
|
||||||
|
|
||||||
. xvfb-run -s "-screen 0 1600x1200x24" -n 80 mutter --display=:80 --wayland --nested &
|
|
||||||
export DISPLAY=:80
|
|
||||||
|
|
||||||
if [ -z "$WAYLAND_DISPLAY" ] ; then
|
|
||||||
export WAYLAND_DISPLAY=wayland-0
|
|
||||||
else
|
|
||||||
export WAYLAND_DISPLAY=wayland-1
|
|
||||||
fi
|
|
||||||
sleep 10
|
|
||||||
retry_count=0
|
|
||||||
max_retries=5
|
|
||||||
until [ $retry_count -gt $max_retries ]; do
|
|
||||||
if [ -S "$XDG_RUNTIME_DIR/$WAYLAND_DISPLAY" ]; then
|
|
||||||
retry_count=$(($max_retries + 1))
|
|
||||||
else
|
|
||||||
retry_count=$(($retry_count + 1))
|
|
||||||
echo "Waiting for Mutter, retry: $retry_count"
|
|
||||||
sleep 2
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
env | grep "DISPLAY"
|
|
10
sources
10
sources
@ -1,5 +1,7 @@
|
|||||||
|
SHA512 (cbindgen-vendor.tar.xz) = 161811f4adfc74e5d92871c78139704d32e1e1ad6b615c85353de300d9647a68f1ca8b1c953f7cc5539d861e9e8d8e42892cae757a3eafea78804e19bc323c16
|
||||||
|
SHA512 (firefox-115.12.0esr.processed-source.tar.xz) = 243a839539dc8a2ca3f2c3ec5603895687c3ea27b65f5ba17ca915905e38720964ad0767b958b2c9747c21aa7791a7941a76b38d7276b6bc78a39c54261ec0fe
|
||||||
|
SHA512 (firefox-langpacks-115.12.0esr-20240604.tar.xz) = 896897cd8769cb4f9c87d53244132033226badf92128b64537ac4861de45bfda2697ac802613bf321f7a464cba0183aaf52cd06293934467eda8add598886b52
|
||||||
SHA512 (mochitest-python.tar.gz) = 089b1593068b76f4572af0086eaccf52a6a1299bfffb58593206d19bf021ae381f2380bbfeb4371586cd53706ff6dde3d240238b2caf19b96c57dfc2f4524e36
|
SHA512 (mochitest-python.tar.gz) = 089b1593068b76f4572af0086eaccf52a6a1299bfffb58593206d19bf021ae381f2380bbfeb4371586cd53706ff6dde3d240238b2caf19b96c57dfc2f4524e36
|
||||||
SHA512 (cbindgen-vendor.tar.xz) = 3e7eaff088db918e95f5505e5feeb06e8b7b95cc62042a6d163a708fc76baea43d21bf49cf7e02bc64fdfc61e8d7704057dbb225098de56e110783104d166c54
|
SHA512 (nspr-4.35.0-1.el8_1.src.rpm) = 5123a443fcc42602e31104999be339ae899eb7b1f1e2f1ea87ba4f283eb894d08ab568e421dba1df4770f23be91ff88aa6a0748bce7feef31ed88bee5bdecb2c
|
||||||
SHA512 (dump_syms-vendor.tar.xz) = 5769c052fa874a965eb8837776b01fb097e8930f45d0d0d2a93997c4fae8726184a192aee52302bde62e62897801b1463cae9283563d9d60e8b8ee80a250f2a3
|
SHA512 (nss-3.90.0-3.el8_1.src.rpm) = 81df24bd4eda4935888170e994834f4510c20fa51079631527b195b723d8f536ec4144d4a2e5d45768aeec7c426d50d70d0a294577d18233acc07c49c8af5130
|
||||||
SHA512 (firefox-122.0.source.tar.xz) = 619b735c16970207f3f8fb31dd2350a5e665a802c30501c89aee4817b8b0f7f466da93c66ab238e94967587e538e6858934b18164ff312dbdbfbc3b2bf8bd824
|
SHA512 (nss-3.90.0-3.el9_0.src.rpm) = f321b9c1bda0b09eee564e2903023435851a4ff2e55bdd5b03012ca51be7999b18d85061f874065d0b25913721eb574f49746a3111f8f1cdd5b21268dddd8367
|
||||||
SHA512 (firefox-langpacks-122.0-20240119.tar.xz) = 04b5a912f0c1bfaeaf33995f491df861aa12b8134f5b2dada52649f82b5fb224c1d696c521c2665eb93813b9015bdaf71a7a0f7aee1dc6ebed1836073e9c71c8
|
|
||||||
|
260
testing.sh
Executable file
260
testing.sh
Executable file
@ -0,0 +1,260 @@
|
|||||||
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
|
||||||
|
function run_tests_wayland {
|
||||||
|
# usage: run-tests-wayland [test flavour]
|
||||||
|
|
||||||
|
set -x
|
||||||
|
|
||||||
|
RUN_XPCSHELL_TEST=1
|
||||||
|
RUN_REFTEST=1
|
||||||
|
RUN_MOCHITEST=1
|
||||||
|
RUN_CRASHTEST=1
|
||||||
|
|
||||||
|
while (( "$#" )); do
|
||||||
|
SELECTED_TEST=$1
|
||||||
|
if [ "$SELECTED_TEST" = "xpcshell" ] ; then
|
||||||
|
RUN_XPCSHELL_TEST=1
|
||||||
|
elif [ "$SELECTED_TEST" = "reftest" ] ; then
|
||||||
|
RUN_REFTEST=1
|
||||||
|
elif [ "$SELECTED_TEST" = "mochitest" ] ; then
|
||||||
|
RUN_MOCHITEST=1
|
||||||
|
elif [ "$SELECTED_TEST" = "crashtest" ] ; then
|
||||||
|
RUN_CRASHTEST=1
|
||||||
|
fi
|
||||||
|
shift
|
||||||
|
done
|
||||||
|
|
||||||
|
export MACH_USE_SYSTEM_PYTHON=1
|
||||||
|
export MOZ_NODE_PATH=/usr/bin/node
|
||||||
|
|
||||||
|
MOCHITEST_PARAMS="--timeout 1 --chunk-by-dir 4"
|
||||||
|
TEST_DIR="test_results"
|
||||||
|
mkdir $TEST_DIR
|
||||||
|
|
||||||
|
env | grep "DISPLAY"
|
||||||
|
|
||||||
|
# Fix for system nss
|
||||||
|
ln -s /usr/bin/certutil objdir/dist/bin/certutil
|
||||||
|
ln -s /usr/bin/pk12util objdir/dist/bin/pk12util
|
||||||
|
|
||||||
|
NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"
|
||||||
|
|
||||||
|
export MOZ_ENABLE_WAYLAND=1
|
||||||
|
|
||||||
|
if [ $RUN_XPCSHELL_TEST -ne 0 ] ; then
|
||||||
|
# ./mach xpcshell-test 2>&1 | cat - | tee $TEST_DIR/xpcshell
|
||||||
|
./mach xpcshell-test --enable-webrender 2>&1 | cat - | tee $TEST_DIR/xpcshell-wr
|
||||||
|
sleep 60
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Basic render testing
|
||||||
|
export TEST_PARAMS="--setpref reftest.ignoreWindowSize=true --setpref widget.wayland.test-workarounds.enabled=true"
|
||||||
|
#export TEST_FLAVOUR=""
|
||||||
|
#if [ $RUN_REFTEST -ne 0 ] ; then
|
||||||
|
# ./mach reftest --marionette localhost:$(($(($RANDOM))+2000)) $TEST_PARAMS 2>&1 | tee $TEST_DIR/reftest$TEST_FLAVOUR
|
||||||
|
#fi
|
||||||
|
#if [ $RUN_CRASHTEST -ne 0 ] ; then
|
||||||
|
# ./mach crashtest --marionette localhost:$(($(($RANDOM))+2000)) $TEST_PARAMS 2>&1 | tee $TEST_DIR/crashtest$TEST_FLAVOUR
|
||||||
|
#fi
|
||||||
|
#if [ $RUN_MOCHITEST -ne 0 ] ; then
|
||||||
|
# ./mach mochitest --marionette localhost:$(($(($RANDOM))+2000)) $MOCHITEST_PARAMS $TEST_PARAMS 2>&1 | tee $TEST_DIR/mochitest$TEST_FLAVOUR
|
||||||
|
#fi
|
||||||
|
|
||||||
|
# WebRender testing
|
||||||
|
export TEST_PARAMS="--enable-webrender $TEST_PARAMS"
|
||||||
|
export TEST_FLAVOUR="-wr"
|
||||||
|
# Use dom/base/test or dom/base/test/chrome for short version
|
||||||
|
export MOCHITEST_DIR='dom'
|
||||||
|
if [ $RUN_REFTEST -ne 0 ] ; then
|
||||||
|
./mach reftest $TEST_PARAMS 2>&1 | tee $TEST_DIR/reftest$TEST_FLAVOUR
|
||||||
|
sleep 60
|
||||||
|
fi
|
||||||
|
if [ $RUN_CRASHTEST -ne 0 ] ; then
|
||||||
|
./mach crashtest $TEST_PARAMS 2>&1 | tee $TEST_DIR/crashtest$TEST_FLAVOUR
|
||||||
|
sleep 60
|
||||||
|
fi
|
||||||
|
if [ $RUN_MOCHITEST -ne 0 ] ; then
|
||||||
|
./mach mochitest $MOCHITEST_DIR $MOCHITEST_PARAMS $TEST_PARAMS 2>&1 | tee $TEST_DIR/mochitest$TEST_FLAVOUR
|
||||||
|
sleep 60
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm -f objdir/dist/bin/certutil
|
||||||
|
rm -f objdir/dist/bin/pk12util
|
||||||
|
}
|
||||||
|
|
||||||
|
function run_tests_x11() {
|
||||||
|
set -x
|
||||||
|
|
||||||
|
export MACH_USE_SYSTEM_PYTHON=1
|
||||||
|
export MOZ_NODE_PATH=/usr/bin/node
|
||||||
|
export X_PARAMS="-screen 0 1600x1200x24"
|
||||||
|
export MOCHITEST_PARAMS="--timeout 1 --chunk-by-dir 4"
|
||||||
|
export TEST_DIR="test_results"
|
||||||
|
|
||||||
|
# Fix for system nss
|
||||||
|
ln -s /usr/bin/certutil objdir/dist/bin/certutil
|
||||||
|
ln -s /usr/bin/pk12util objdir/dist/bin/pk12util
|
||||||
|
|
||||||
|
NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"
|
||||||
|
|
||||||
|
# Basic render testing
|
||||||
|
export TEST_PARAMS=""
|
||||||
|
export TEST_FLAVOUR=""
|
||||||
|
#xvfb-run -s "$X_PARAMS" -n 91 ./mach xpcshell-test --sequential $TEST_PARAMS 2>&1 | cat - | tee $TEST_DIR/xpcshell
|
||||||
|
#xvfb-run -s "$X_PARAMS" -n 92 ./mach reftest --marionette localhost:$(($(($RANDOM))+2000)) $TEST_PARAMS 2>&1 | tee $TEST_DIR/reftest$TEST_FLAVOUR
|
||||||
|
#xvfb-run -s "$X_PARAMS" -n 93 ./mach crashtest --marionette localhost:$(($(($RANDOM))+2000)) $TEST_PARAMS 2>&1 | tee $TEST_DIR/crashtest$TEST_FLAVOUR
|
||||||
|
#xvfb-run -s "$X_PARAMS" -n 94 ./mach mochitest --marionette localhost:$(($(($RANDOM))+2000)) $MOCHITEST_PARAMS $TEST_PARAMS 2>&1 | tee $TEST_DIR/mochitest$TEST_FLAVOUR
|
||||||
|
|
||||||
|
# WebRender testing
|
||||||
|
export TEST_PARAMS="--enable-webrender $TEST_PARAMS"
|
||||||
|
export TEST_FLAVOUR="-wr"
|
||||||
|
#xvfb-run -s "$X_PARAMS" -n 95 ./mach xpcshell-test --sequential $TEST_PARAMS 2>&1 | cat - | tee $TEST_DIR/xpcshell-wr
|
||||||
|
#sleep 60
|
||||||
|
#xvfb-run -s "$X_PARAMS" -n 96 ./mach reftest $TEST_PARAMS 2>&1 | tee $TEST_DIR/reftest$TEST_FLAVOUR
|
||||||
|
#sleep 60
|
||||||
|
#xvfb-run -s "$X_PARAMS" -n 97 ./mach crashtest $TEST_PARAMS 2>&1 | tee $TEST_DIR/crashtest$TEST_FLAVOUR
|
||||||
|
#sleep 60
|
||||||
|
#export DISPLAY=:0
|
||||||
|
#./mach mochitest dom/base/test/ $MOCHITEST_PARAMS $TEST_PARAMS 2>&1 | tee $TEST_DIR/mochitest$TEST_FLAVOUR
|
||||||
|
export DISPLAY=:98
|
||||||
|
xvfb-run -s "$X_PARAMS" -n 98 ./mach mochitest dom/base/test/ $MOCHITEST_PARAMS $TEST_PARAMS 2>&1 | tee $TEST_DIR/mochitest$TEST_FLAVOUR
|
||||||
|
|
||||||
|
rm -f objdir/dist/bin/certutil
|
||||||
|
rm -f objdir/dist/bin/pk12util
|
||||||
|
}
|
||||||
|
|
||||||
|
function run_wayland_compositor() {
|
||||||
|
# Run wayland compositor and set WAYLAND_DISPLAY env variable
|
||||||
|
set -x
|
||||||
|
|
||||||
|
echo export DESKTOP_SESSION=gnome > $HOME/.xsessionrc
|
||||||
|
echo export XDG_CURRENT_DESKTOP=GNOME > $HOME/.xsessionrc
|
||||||
|
echo export XDG_SESSION_TYPE=wayland >> $HOME/.xsessionrc
|
||||||
|
|
||||||
|
# Turn off the screen saver and screen locking
|
||||||
|
gsettings set org.gnome.desktop.screensaver idle-activation-enabled false
|
||||||
|
gsettings set org.gnome.desktop.screensaver lock-enabled false
|
||||||
|
gsettings set org.gnome.desktop.screensaver lock-delay 3600
|
||||||
|
|
||||||
|
# Disable the screen saver
|
||||||
|
# This starts the gnome-keyring-daemon with an unlocked login keyring. libsecret uses this to
|
||||||
|
# store secrets. Firefox uses libsecret to store a key that protects sensitive information like
|
||||||
|
# credit card numbers.
|
||||||
|
if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
|
||||||
|
# if not found, launch a new one
|
||||||
|
eval `dbus-launch --sh-syntax`
|
||||||
|
fi
|
||||||
|
eval `echo '' | /usr/bin/gnome-keyring-daemon -r -d --unlock --components=secrets`
|
||||||
|
|
||||||
|
if [ -z "$XDG_RUNTIME_DIR" ]; then
|
||||||
|
export XDG_RUNTIME_DIR=$HOME
|
||||||
|
fi
|
||||||
|
|
||||||
|
. xvfb-run -s "-screen 0 1600x1200x24" -n 80 mutter --display=:80 --wayland --nested &
|
||||||
|
export DISPLAY=:80
|
||||||
|
|
||||||
|
if [ -z "$WAYLAND_DISPLAY" ] ; then
|
||||||
|
export WAYLAND_DISPLAY=wayland-0
|
||||||
|
else
|
||||||
|
export WAYLAND_DISPLAY=wayland-1
|
||||||
|
fi
|
||||||
|
sleep 10
|
||||||
|
retry_count=0
|
||||||
|
max_retries=5
|
||||||
|
until [ $retry_count -gt $max_retries ]; do
|
||||||
|
if [ -S "$XDG_RUNTIME_DIR/$WAYLAND_DISPLAY" ]; then
|
||||||
|
retry_count=$(($max_retries + 1))
|
||||||
|
else
|
||||||
|
retry_count=$(($retry_count + 1))
|
||||||
|
echo "Waiting for Mutter, retry: $retry_count"
|
||||||
|
sleep 2
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
env | grep "DISPLAY"
|
||||||
|
}
|
||||||
|
|
||||||
|
function print_error_reftest() {
|
||||||
|
# Print reftest failures and compose them to html
|
||||||
|
|
||||||
|
TEST_DIR="$1"
|
||||||
|
TEST_FLAVOUR="$2"
|
||||||
|
OUTPUT_FILE="failures-reftest$TEST_FLAVOUR.html"
|
||||||
|
|
||||||
|
grep --text -e "REFTEST TEST-UNEXPECTED-PASS" -e "REFTEST TEST-UNEXPECTED-FAIL" -e "IMAGE 1 (TEST):" -e "IMAGE 2 (REFERENCE):" $TEST_DIR/reftest$TEST_FLAVOUR 2>&1 > $OUTPUT_FILE
|
||||||
|
sed -i '/REFTEST IMAGE 1/a ">' $OUTPUT_FILE
|
||||||
|
sed -i '/REFTEST IMAGE 2/a "><BR><BR>' $OUTPUT_FILE
|
||||||
|
sed -i '/REFTEST TEST/a <BR>' $OUTPUT_FILE
|
||||||
|
sed -i -e 's/^REFTEST IMAGE 1 (TEST): /<img border=2 src="/' $OUTPUT_FILE
|
||||||
|
sed -i -e 's/^REFTEST IMAGE 2 (REFERENCE): /<img border=2 src="/' $OUTPUT_FILE
|
||||||
|
}
|
||||||
|
|
||||||
|
function print_errors() {
|
||||||
|
#!/usr/bin/bash
|
||||||
|
# Print failed tests
|
||||||
|
|
||||||
|
TEST_DIR=$1
|
||||||
|
TEST_FLAVOUR=$2
|
||||||
|
|
||||||
|
grep "TEST-UNEXPECTED-FAIL" $TEST_DIR/mochitest$TEST_FLAVOUR 2>&1 > failures-mochitest$TEST_FLAVOUR.txt
|
||||||
|
grep --text -e " FAIL " -e " TIMEOUT " $TEST_DIR/xpcshell$TEST_FLAVOUR 2>&1 > failures-xpcshell$TEST_FLAVOUR.txt
|
||||||
|
grep --text -e "REFTEST TEST-UNEXPECTED-PASS" -e "REFTEST TEST-UNEXPECTED-FAIL" $TEST_DIR/reftest$TEST_FLAVOUR 2>&1 > failures-reftest$TEST_FLAVOUR.txt
|
||||||
|
}
|
||||||
|
|
||||||
|
function print_failures() {
|
||||||
|
#!/usr/bin/bash
|
||||||
|
# Analyze and print test failures
|
||||||
|
|
||||||
|
export TEST_DIR="test_results"
|
||||||
|
|
||||||
|
#./print-errors $TEST_DIR ""
|
||||||
|
print_errors $TEST_DIR "-wr"
|
||||||
|
#./print-error-reftest $TEST_DIR ""
|
||||||
|
print_error_reftest $TEST_DIR "-wr"
|
||||||
|
}
|
||||||
|
|
||||||
|
function psummary() {
|
||||||
|
#!/usr/bin/bash
|
||||||
|
# Analyze and print specialized (basic/webrender) test results
|
||||||
|
|
||||||
|
TEST_DIR=$1
|
||||||
|
TEST_FLAVOUR=$2
|
||||||
|
|
||||||
|
MPASS=`grep "TEST_END: Test OK" $TEST_DIR/mochitest$TEST_FLAVOUR | wc -l`
|
||||||
|
MERR=`grep "TEST_END: Test ERROR" $TEST_DIR/mochitest$TEST_FLAVOUR | wc -l`
|
||||||
|
MUNEX=`grep "TEST-UNEXPECTED-FAIL" $TEST_DIR/mochitest$TEST_FLAVOUR | wc -l`
|
||||||
|
echo "Mochitest PASSED: $MPASS FAILED: $MERR UNEXPECTED-FAILURES: $MUNEX"
|
||||||
|
|
||||||
|
XPCPASS=`grep --text "Expected results:" $TEST_DIR/xpcshell$TEST_FLAVOUR | cut -d ' ' -f 3`
|
||||||
|
XPCFAIL=`grep --text "Unexpected results:" $TEST_DIR/xpcshell$TEST_FLAVOUR | cut -d ' ' -f 3`
|
||||||
|
echo "XPCShell: PASSED: $XPCPASS FAILED: $XPCFAIL"
|
||||||
|
|
||||||
|
CRPASS=`grep "REFTEST INFO | Successful:" $TEST_DIR/crashtest$TEST_FLAVOUR | cut -d ' ' -f 5`
|
||||||
|
CRFAIL=`grep "^REFTEST INFO | Unexpected:" $TEST_DIR/crashtest$TEST_FLAVOUR | cut -d ' ' -f 5`
|
||||||
|
echo "Crashtest: PASSED: $CRPASS FAILED: $CRFAIL"
|
||||||
|
|
||||||
|
RFPASS=`grep --text "REFTEST INFO | Successful:" $TEST_DIR/reftest$TEST_FLAVOUR | cut -d ' ' -f 5`
|
||||||
|
RFUN=`grep --text "^REFTEST INFO | Unexpected:" $TEST_DIR/reftest$TEST_FLAVOUR | cut -d ' ' -f 5`
|
||||||
|
RFKNOWN=`grep --text "REFTEST INFO | Known problems:" $TEST_DIR/reftest$TEST_FLAVOUR | cut -d ' ' -f 6`
|
||||||
|
echo "Reftest: PASSED: $RFPASS FAILED: $RFUN Known issues: $RFKNOWN"
|
||||||
|
}
|
||||||
|
|
||||||
|
function print_results() {
|
||||||
|
#!/usr/bin/bash
|
||||||
|
# Analyze and print general test results
|
||||||
|
|
||||||
|
export TEST_DIR="test_results"
|
||||||
|
|
||||||
|
echo "Test results"
|
||||||
|
#echo "Basic compositor"
|
||||||
|
#./psummary $TEST_DIR ""
|
||||||
|
echo "WebRender"
|
||||||
|
psummary $TEST_DIR "-wr"
|
||||||
|
}
|
||||||
|
|
||||||
|
set -x
|
||||||
|
first=$1
|
||||||
|
shift
|
||||||
|
$first $*
|
||||||
|
|
Loading…
Reference in New Issue
Block a user