[tbb-commits] [tor-browser/tor-browser-38.1.0esr-5.0-1] fixup! Bug 13670.1: Isolate favicon requests by first party.

gk at torproject.org gk at torproject.org
Thu Aug 6 15:52:27 UTC 2015


commit bfdfcccae99d1af38b3320eb7409377bd0ebc154
Author: Kathy Brade <brade at pearlcrescent.com>
Date:   Wed Aug 5 11:16:12 2015 -0400

    fixup! Bug 13670.1: Isolate favicon requests by first party.
    
    Fix debug build error: Inside nsContentUtils::LoadImage(), remove
    the NS_PRECONDITION() call that references the aLoadingDocument
    parameter (which had been removed).
---
 dom/base/nsContentUtils.cpp |    1 -
 1 file changed, 1 deletion(-)

diff --git a/dom/base/nsContentUtils.cpp b/dom/base/nsContentUtils.cpp
index 0ce2095..6b7461a 100644
--- a/dom/base/nsContentUtils.cpp
+++ b/dom/base/nsContentUtils.cpp
@@ -2997,7 +2997,6 @@ nsContentUtils::LoadImage(nsIURI* aURI, nsINode* aLoadingNode,
                           uint32_t aContentPolicyType)
 {
   NS_PRECONDITION(aURI, "Must have a URI");
-  NS_PRECONDITION(aLoadingDocument, "Must have a document");
   NS_PRECONDITION(aLoadingPrincipal, "Must have a principal");
   NS_PRECONDITION(aRequest, "Null out param");
 



More information about the tbb-commits mailing list