mozilla-aarch64-startup-crash.patch
branchfirefox67
changeset 1093 3942c205588b
parent 1085 87f893cf45b9
equal deleted inserted replaced
1092:5d7b22f6b177 1093:3942c205588b
     1 # HG changeset patch
     1 # HG changeset patch
     2 # Parent a5cfa3aa11a9d3391df49de6fc5a0e5232c12c10
     2 # Parent a5cfa3aa11a9d3391df49de6fc5a0e5232c12c10
     3 # Parent  7b5f6b68a8963228f738b803177f937481e19745
     3 # Parent  6dd2311796da4e15115fd04b181313ae62754317
     4 Bug 991344 - Rpi3: Firefox crashes after a few seconds of usage
     4 Bug 991344 - Rpi3: Firefox crashes after a few seconds of usage
     5 
     5 
     6 diff --git a/netwerk/base/nsIOService.cpp b/netwerk/base/nsIOService.cpp
     6 diff --git a/netwerk/base/nsIOService.cpp b/netwerk/base/nsIOService.cpp
     7 --- a/netwerk/base/nsIOService.cpp
     7 --- a/netwerk/base/nsIOService.cpp
     8 +++ b/netwerk/base/nsIOService.cpp
     8 +++ b/netwerk/base/nsIOService.cpp
     9 @@ -842,17 +842,23 @@ nsresult nsIOService::NewChannelFromURIW
     9 @@ -975,17 +975,23 @@ nsresult nsIOService::NewChannelFromURIW
    10              "doesn't support nsIUploadChannel2. An extension has "
    10              "doesn't support nsIUploadChannel2. An extension has "
    11              "supplied a non-functional http protocol handler. This will "
    11              "supplied a non-functional http protocol handler. This will "
    12              "break behavior and in future releases not work at all.");
    12              "break behavior and in future releases not work at all.");
    13        }
    13        }
    14        gHasWarnedUploadChannel2 = true;
    14        gHasWarnedUploadChannel2 = true;
    24 +#endif
    24 +#endif
    25    return NS_OK;
    25    return NS_OK;
    26  }
    26  }
    27  
    27  
    28  NS_IMETHODIMP
    28  NS_IMETHODIMP
    29  nsIOService::NewChannelFromURIWithProxyFlags2(
    29  nsIOService::NewChannelFromURIWithProxyFlags(
    30      nsIURI *aURI, nsIURI *aProxyURI, uint32_t aProxyFlags,
    30      nsIURI *aURI, nsIURI *aProxyURI, uint32_t aProxyFlags,
    31      nsINode *aLoadingNode, nsIPrincipal *aLoadingPrincipal,
    31      nsINode *aLoadingNode, nsIPrincipal *aLoadingPrincipal,
    32      nsIPrincipal *aTriggeringPrincipal, uint32_t aSecurityFlags,
    32      nsIPrincipal *aTriggeringPrincipal, uint32_t aSecurityFlags,