mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 04:05:49 +00:00
972a6213f9
Currently when sending a CSP report, HttpBaseChannel::ShouldIntercept tries to get access to the nsINetworkInterceptController interface through the channel's notification callbacks, but in this case the notification callback is the CSPReportRedirectSink object (thanks to nsCORSListenerProxy::Init). This patch extends CSPReportRedirectSink to make it aware of nsINetworkInterceptController, and have it route the request for nsINetworkInterceptController correctly to the docshell without the need to mess with the notification callbacks. This will be tested in bug 1147699. |
||
---|---|---|
.. | ||
moz.build | ||
nsCORSListenerProxy.cpp | ||
nsCORSListenerProxy.h | ||
nsCSPContext.cpp | ||
nsCSPContext.h | ||
nsCSPParser.cpp | ||
nsCSPParser.h | ||
nsCSPService.cpp | ||
nsCSPService.h | ||
nsCSPUtils.cpp | ||
nsCSPUtils.h | ||
nsMixedContentBlocker.cpp | ||
nsMixedContentBlocker.h |