mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 22:25:30 +00:00
Bug 673588 - use correct location when resolving CSP sources and report-uris, r=dveditz
This commit is contained in:
parent
d05a9ff08e
commit
33f4a72172
@ -126,7 +126,7 @@ function CSPPolicyURIListener(policyURI, docRequest, csp) {
|
|||||||
this._policy = ""; // contents fetched from policyURI
|
this._policy = ""; // contents fetched from policyURI
|
||||||
this._wrapper = null; // nsIScriptableInputStream
|
this._wrapper = null; // nsIScriptableInputStream
|
||||||
this._docURI = docRequest.QueryInterface(Components.interfaces.nsIChannel)
|
this._docURI = docRequest.QueryInterface(Components.interfaces.nsIChannel)
|
||||||
.originalURI; // parent document URI (to be used as 'self')
|
.URI; // parent document URI (to be used as 'self')
|
||||||
}
|
}
|
||||||
|
|
||||||
CSPPolicyURIListener.prototype = {
|
CSPPolicyURIListener.prototype = {
|
||||||
|
Loading…
Reference in New Issue
Block a user