summaryrefslogtreecommitdiff
path: root/www/librewolf/files/patch-toolkit_xre_nsEmbedFunctions.cpp
diff options
context:
space:
mode:
authorMartin Filla <freebsd@sysctl.cz>2025-05-30 05:05:12 +0300
committerVladimir Druzenko <vvd@FreeBSD.org>2025-05-30 05:05:12 +0300
commitcd416f407aa5c31b8cd7a362ff44518d9eca7aba (patch)
treedc05c527bded7ffcafad19f62c45cb98b1db4f41 /www/librewolf/files/patch-toolkit_xre_nsEmbedFunctions.cpp
parentdns/dnsjava: Build with Java 8 only (diff)
www/librewolf: Update 138.0.4-1 => 139.0-1
Release notes: https://www.mozilla.org/en-US/firefox/139.0/releasenotes/ PR: 287141 MFH: 2025Q2
Diffstat (limited to 'www/librewolf/files/patch-toolkit_xre_nsEmbedFunctions.cpp')
-rw-r--r--www/librewolf/files/patch-toolkit_xre_nsEmbedFunctions.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/www/librewolf/files/patch-toolkit_xre_nsEmbedFunctions.cpp b/www/librewolf/files/patch-toolkit_xre_nsEmbedFunctions.cpp
new file mode 100644
index 000000000000..caac874012c9
--- /dev/null
+++ b/www/librewolf/files/patch-toolkit_xre_nsEmbedFunctions.cpp
@@ -0,0 +1,17 @@
+diff --git toolkit/xre/nsEmbedFunctions.cpp toolkit/xre/nsEmbedFunctions.cpp
+index 9ce6af94637c..44165558f7ec 100644
+--- toolkit/xre/nsEmbedFunctions.cpp
++++ toolkit/xre/nsEmbedFunctions.cpp
+@@ -360,10 +360,12 @@ nsresult XRE_InitChildProcess(int aArgc, char* aArgv[],
+ static_cast<CrashReporter::ProcessId>(*crashHelperPidArg);
+ #endif // defined(XP_LINUX) && !defined(MOZ_WIDGET_ANDROID)
+
++#if !defined(XP_FREEBSD)
+ exceptionHandlerIsSet = CrashReporter::SetRemoteExceptionHandler(
+ std::move(*crashReporterArg), crashHelperPid);
+ MOZ_ASSERT(exceptionHandlerIsSet,
+ "Should have been able to set remote exception handler");
++#endif
+
+ if (!exceptionHandlerIsSet) {
+ // Bug 684322 will add better visibility into this condition