Verified Commit 617aaaf7 authored by Alex Catarineu's avatar Alex Catarineu Committed by Pier Angelo Vendrame
Browse files

Bug 26345: Hide tracking protection UI

parent 575a2254
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -896,10 +896,10 @@ var gIdentityHandler = {
      gPermissionPanel.refreshPermissionIcons();
    }

    // Hide the shield icon if it is a chrome page.
    // Bug 26345: Hide tracking protection UI.
    gProtectionsHandler._trackingProtectionIconContainer.classList.toggle(
      "chromeUI",
      this._isSecureInternalUI
      true
    );
  },

+0 −5
Original line number Diff line number Diff line
@@ -139,11 +139,6 @@ static const RedirEntry kRedirMap[] = {
         nsIAboutModule::HIDE_FROM_ABOUTABOUT},
    {"restartrequired", "chrome://browser/content/aboutRestartRequired.xhtml",
     nsIAboutModule::ALLOW_SCRIPT | nsIAboutModule::HIDE_FROM_ABOUTABOUT},
    {"protections", "chrome://browser/content/protections.html",
     nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |
         nsIAboutModule::URI_MUST_LOAD_IN_CHILD | nsIAboutModule::ALLOW_SCRIPT |
         nsIAboutModule::URI_CAN_LOAD_IN_PRIVILEGEDABOUT_PROCESS |
         nsIAboutModule::IS_SECURE_CHROME_UI},
};

static nsAutoCString GetAboutModuleName(nsIURI* aURI) {
+0 −1
Original line number Diff line number Diff line
@@ -21,7 +21,6 @@ pages = [
    'policies',
    'preferences',
    'privatebrowsing',
    'protections',
    'profiling',
    'reader',
    'restartrequired',
+0 −1
Original line number Diff line number Diff line
@@ -46,7 +46,6 @@ DIRS += [
    "preferences",
    "privatebrowsing",
    "prompts",
    "protections",
    "protocolhandler",
    "resistfingerprinting",
    "screenshots",
+4 −0
Original line number Diff line number Diff line
@@ -59,6 +59,10 @@

/* Content Blocking */

#trackingGroup {
  display: none;
}

/* Override styling that sets descriptions as grey */
#trackingGroup description.indent,
#trackingGroup .indent > description {