Remove MOZ_B2G leftovers and some dead B2G-only components.

This commit is contained in:
wolfbeast 2018-05-12 14:32:03 +02:00 committed by Roy Tam
commit 719ac1bc38
91 changed files with 28 additions and 5017 deletions

View file

@ -817,15 +817,6 @@ nsCSPContext::SendReports(nsISupports* aBlockedContentSource,
{
NS_ENSURE_ARG_MAX(aViolatedPolicyIndex, mPolicies.Length() - 1);
#ifdef MOZ_B2G
// load group information (on process-split necko implementations like b2g).
// (fix this in bug 1011086)
if (!mCallingChannelLoadGroup) {
NS_WARNING("Load group required but not present for report sending; cannot send CSP violation reports");
return NS_ERROR_FAILURE;
}
#endif
dom::CSPReport report;
nsresult rv;