gecko-dev/dom/security
Ehsan Akhgari 972a6213f9 Bug 1147996 - Enable interception of CSP reports through service workers; r=nsm
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.
2015-03-28 16:28:40 -04:00
..
moz.build Backed out 4 changesets (bug 1117650) because moving tests causes WebRTC tests to move from running first in a linux64 debug mochitest-e10s chunk to running last in another chunk, and they fail if they run last in a chunk 2015-01-20 22:48:32 -08:00
nsCORSListenerProxy.cpp Bug 1147695 - Enable interception of beacons through service workers; r=nsm 2015-03-28 16:28:37 -04:00
nsCORSListenerProxy.h Bug 1147695 - Enable interception of beacons through service workers; r=nsm 2015-03-28 16:28:37 -04:00
nsCSPContext.cpp Bug 1147996 - Enable interception of CSP reports through service workers; r=nsm 2015-03-28 16:28:40 -04:00
nsCSPContext.h Bug 1147996 - Enable interception of CSP reports through service workers; r=nsm 2015-03-28 16:28:40 -04:00
nsCSPParser.cpp Backed out 4 changesets (bug 671389) for frequent B2G debug test_tcpsocket_client_and_server_basics.html crashes. 2015-02-05 16:48:18 -05:00
nsCSPParser.h Backed out 4 changesets (bug 671389) for frequent B2G debug test_tcpsocket_client_and_server_basics.html crashes. 2015-02-05 16:48:18 -05:00
nsCSPService.cpp Bug 1138895 - Use proper origin for CSP fast path cache. r=geekboy 2015-03-08 09:21:00 -04:00
nsCSPService.h
nsCSPUtils.cpp Bug 1147026 - CSP should ignore query string when checking a resource load (r=dveditz) 2015-03-25 22:09:10 -07:00
nsCSPUtils.h Backed out 4 changesets (bug 671389) for frequent B2G debug test_tcpsocket_client_and_server_basics.html crashes. 2015-02-05 16:48:18 -05:00
nsMixedContentBlocker.cpp Bug 1082947 - Make sure the security state is set properly in nsMixedContentBlocker. r=smaug 2015-03-25 11:23:42 -07:00
nsMixedContentBlocker.h Bug 1082837 - Call content policies on cached image redirects in imgLoader::ValidateSecurityInfo. Content policies check the last hop (final uri) of the cached image. For Mixed Content Blocker, we do an additional check to see if any of the intermediary hops went through an insecure redirect. r=smaug, feedback=seth 2015-03-24 09:18:48 -07:00