Verified Commit 51564f53 authored by Kathleen Brade's avatar Kathleen Brade Committed by Pier Angelo Vendrame
Browse files

Bug 40002: Remove about:ion

Firefox Ion (previously Firefox Pioneer) is an opt-in program in which people
volunteer to participate in studies that collect detailed, sensitive data about
how they use their browser.

Bug 41662: Disable about:sync-logs

Even though we disable sync by default with
`identity.fxaccounts.enabled`, this about: page is still avilable.
We could throw an exception on the constructor of the related
component, but it would result only in an error in the console, without
a visible "this address does not look right" error page.
If we fix the issues with MOZ_SERVICES_SYNC, we can restore the
component.
parent 21f7a720
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -2347,8 +2347,6 @@ BrowserGlue.prototype = {
    this._monitorScreenshotsPref();
    this._monitorWebcompatReporterPref();
    this._monitorHTTPSOnlyPref();
    this._monitorIonPref();
    this._monitorIonStudies();
    this._setupSearchDetection();

    this._monitorGPCPref();
+0 −3
Original line number Diff line number Diff line
@@ -138,9 +138,6 @@ static const RedirEntry kRedirMap[] = {
         nsIAboutModule::URI_MUST_LOAD_IN_CHILD | nsIAboutModule::ALLOW_SCRIPT |
         nsIAboutModule::URI_CAN_LOAD_IN_PRIVILEGEDABOUT_PROCESS |
         nsIAboutModule::IS_SECURE_CHROME_UI},
    {"ion", "chrome://browser/content/ion.html",
     nsIAboutModule::ALLOW_SCRIPT | nsIAboutModule::HIDE_FROM_ABOUTABOUT |
         nsIAboutModule::IS_SECURE_CHROME_UI},
};

static nsAutoCString GetAboutModuleName(nsIURI* aURI) {
+0 −1
Original line number Diff line number Diff line
@@ -14,7 +14,6 @@ pages = [
    'loginsimportreport',
    'firefoxview',
    'newtab',
    'ion',
    'pocket-home',
    'pocket-saved',
    'pocket-signup',
+0 −1
Original line number Diff line number Diff line
@@ -40,7 +40,6 @@ DIRS += [
    "migration",
    "newtab",
    "originattributes",
    "ion",
    "places",
    "pocket",
    "preferences",
+0 −6
Original line number Diff line number Diff line
@@ -11,10 +11,4 @@ Classes = [
        'jsm': 'resource://services-sync/Weave.jsm',
        'constructor': 'WeaveService',
    },
    {
        'cid': '{d28f8a0b-95da-48f4-b712-caf37097be41}',
        'contract_ids': ['@mozilla.org/network/protocol/about;1?what=sync-log'],
        'jsm': 'resource://services-sync/Weave.jsm',
        'constructor': 'AboutWeaveLog',
    },
]