Bug 638218 - Asynchronous policy-uri fetching causes connection problems when using NTML proxy; r=dveditz a=hardblocker
authorHonza Bambas <honzab.moz@firemni.cz>
Wed, 02 Mar 2011 17:46:14 -0800
changeset 63297 2a993660946f62144028b0087007c6677019430d
parent 63296 bb7ae274c2711c69c4a775397a4e37033d3562a6
child 63298 bde96a66842976a7c9213111f044044b0cdbb51d
push id19132
push usereakhgari@mozilla.com
push dateThu, 03 Mar 2011 02:31:03 +0000
treeherdermozilla-central@bde96a668429 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdveditz, hardblocker
bugs638218
milestone2.0b13pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 638218 - Asynchronous policy-uri fetching causes connection problems when using NTML proxy; r=dveditz a=hardblocker
content/base/src/CSPUtils.jsm
--- a/content/base/src/CSPUtils.jsm
+++ b/content/base/src/CSPUtils.jsm
@@ -157,17 +157,17 @@ CSPPolicyURIListener.prototype = {
   function(request, context, status) {
     if (Components.isSuccessCode(status)) {
       // send the policy we received back to the parent document's CSP
       // for parsing
       this._csp.refinePolicy(this._policy, this._docURI, this._docRequest);
     }
     else {
       // problem fetching policy so fail closed
-      this._csp.refinePolicy("allow 'none'", null, this._docURI, this._docRequest);
+      this._csp.refinePolicy("allow 'none'", this._docURI, this._docRequest);
     }
     // resume the parent document request
     this._docRequest.resume();
   }
 };
 
 //:::::::::::::::::::::::: CLASSES :::::::::::::::::::::::::://