Please sign in to comment.
Bug 1148064 - Enable interception of pings through service workers; r…
…=nsm,smaug Currently when sending a beacon, 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 nsPingListener object. This patch extends nsPingListener 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.
- Loading branch information...
Showing with 23 additions and 7 deletions.