author | Wolfgang Rosenauer <wr@rosenauer.org> |
Sat, 11 Nov 2017 10:08:36 +0100 | |
changeset 1008 | 77c890186192 |
parent 1006 | 5ba9b67de554 |
child 1033 | 51bfdd19b9e9 |
permissions | -rw-r--r-- |
933 | 1 |
# HG changeset patch |
2 |
# Parent a5cfa3aa11a9d3391df49de6fc5a0e5232c12c10 |
|
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
985
diff
changeset
|
3 |
# Parent 6906d2adcc834114de3118365cb75b113df8564e |
933 | 4 |
Bug 991344 - Rpi3: Firefox crashes after a few seconds of usage |
5 |
||
6 |
diff --git a/netwerk/base/nsIOService.cpp b/netwerk/base/nsIOService.cpp |
|
7 |
--- a/netwerk/base/nsIOService.cpp |
|
8 |
+++ b/netwerk/base/nsIOService.cpp |
|
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
985
diff
changeset
|
9 |
@@ -892,17 +892,23 @@ nsIOService::NewChannelFromURIWithProxyF |
985 | 10 |
"doesn't support nsIUploadChannel2. An extension has " |
11 |
"supplied a non-functional http protocol handler. This will " |
|
12 |
"break behavior and in future releases not work at all."); |
|
933 | 13 |
} |
14 |
gHasWarnedUploadChannel2 = true; |
|
15 |
} |
|
16 |
} |
|
17 |
||
18 |
+#if defined(__aarch64__) |
|
19 |
+ if (result) { |
|
20 |
+ channel.forget(result); |
|
21 |
+ } |
|
22 |
+#else |
|
23 |
channel.forget(result); |
|
24 |
+#endif |
|
25 |
return NS_OK; |
|
26 |
} |
|
27 |
||
28 |
NS_IMETHODIMP |
|
29 |
nsIOService::NewChannelFromURIWithProxyFlags2(nsIURI* aURI, |
|
30 |
nsIURI* aProxyURI, |
|
31 |
uint32_t aProxyFlags, |
|
32 |
nsIDOMNode* aLoadingNode, |