cd3a885859
- Mozilla Firefox 65.0 - requires NSS 3.41 rust/carge 1.30 rust-cbindgen 0.6.7 -rebased patches OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=709
33 lines
1.0 KiB
Diff
33 lines
1.0 KiB
Diff
# HG changeset patch
|
|
# Parent a5cfa3aa11a9d3391df49de6fc5a0e5232c12c10
|
|
# Parent 7b5f6b68a8963228f738b803177f937481e19745
|
|
Bug 991344 - Rpi3: Firefox crashes after a few seconds of usage
|
|
|
|
diff --git a/netwerk/base/nsIOService.cpp b/netwerk/base/nsIOService.cpp
|
|
--- a/netwerk/base/nsIOService.cpp
|
|
+++ b/netwerk/base/nsIOService.cpp
|
|
@@ -842,17 +842,23 @@ nsresult nsIOService::NewChannelFromURIW
|
|
"doesn't support nsIUploadChannel2. An extension has "
|
|
"supplied a non-functional http protocol handler. This will "
|
|
"break behavior and in future releases not work at all.");
|
|
}
|
|
gHasWarnedUploadChannel2 = true;
|
|
}
|
|
}
|
|
|
|
+#if defined(__aarch64__)
|
|
+ if (result) {
|
|
+ channel.forget(result);
|
|
+ }
|
|
+#else
|
|
channel.forget(result);
|
|
+#endif
|
|
return NS_OK;
|
|
}
|
|
|
|
NS_IMETHODIMP
|
|
nsIOService::NewChannelFromURIWithProxyFlags2(
|
|
nsIURI *aURI, nsIURI *aProxyURI, uint32_t aProxyFlags,
|
|
nsINode *aLoadingNode, nsIPrincipal *aLoadingPrincipal,
|
|
nsIPrincipal *aTriggeringPrincipal, uint32_t aSecurityFlags,
|