2016-12-12 19:36:34 +01:00
|
|
|
# HG changeset patch
|
|
|
|
# Parent a5cfa3aa11a9d3391df49de6fc5a0e5232c12c10
|
2018-03-13 20:46:06 +01:00
|
|
|
# Parent 3005da37da3f1e2c568b1675307d10860182d214
|
2016-12-12 19:36:34 +01:00
|
|
|
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
|
2018-03-13 20:46:06 +01:00
|
|
|
@@ -887,17 +887,23 @@ nsIOService::NewChannelFromURIWithProxyF
|
2017-09-05 12:10:37 +02:00
|
|
|
"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.");
|
2016-12-12 19:36:34 +01:00
|
|
|
}
|
|
|
|
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,
|
|
|
|
nsIDOMNode* aLoadingNode,
|