mozilla-aarch64-startup-crash.patch
changeset 1129 146af4f081b9
parent 1123 7fa561e5d7c7
child 1190 2a24a948b5cf
--- a/mozilla-aarch64-startup-crash.patch	Mon Nov 25 08:41:45 2019 +0100
+++ b/mozilla-aarch64-startup-crash.patch	Thu Jun 11 22:04:26 2020 +0200
@@ -3,14 +3,19 @@
 # Date 1558442998 -7200
 #      Tue May 21 14:49:58 2019 +0200
 # Node ID 386083b58d8558141901d796ec6919a4aba7ad3a
-# Parent  835641be7eb9408aa1eff0d38b37f6c523d2ef98
+# Parent  a30a9b9aae5740f096a16118ed9e4bc45d3d1c35
 bsc#991344 - Rpi3: Firefox crashes after a few seconds of usage
 bmo#1302554 - ARM/AARCH64: Firefox crashes on NULL nsIChannel** result pointer in nsIOService::NewChannelFromURIWithProxyFlagsInternal()
 
-diff -r 835641be7eb9 -r 386083b58d85 netwerk/base/nsIOService.cpp
---- a/netwerk/base/nsIOService.cpp	Fri Feb 26 16:20:09 2016 +0000
-+++ b/netwerk/base/nsIOService.cpp	Tue May 21 14:49:58 2019 +0200
-@@ -1000,7 +1000,13 @@
+diff --git a/netwerk/base/nsIOService.cpp b/netwerk/base/nsIOService.cpp
+--- a/netwerk/base/nsIOService.cpp
++++ b/netwerk/base/nsIOService.cpp
+@@ -1032,17 +1032,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;
      }
    }
  
@@ -24,3 +29,8 @@
    return NS_OK;
  }
  
+ NS_IMETHODIMP
+ nsIOService::NewChannelFromURIWithProxyFlags(
+     nsIURI* aURI, nsIURI* aProxyURI, uint32_t aProxyFlags,
+     nsINode* aLoadingNode, nsIPrincipal* aLoadingPrincipal,
+     nsIPrincipal* aTriggeringPrincipal, uint32_t aSecurityFlags,