Commit bfc88b31 authored by Alex Catarineu's avatar Alex Catarineu Committed by Richard Pospesel
Browse files

Bug 26345: Hide tracking protection UI

parent 8ba339b8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -898,10 +898,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
@@ -133,11 +133,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
@@ -45,7 +45,6 @@ DIRS += [
    "preferences",
    "privatebrowsing",
    "prompts",
    "protections",
    "protocolhandler",
    "resistfingerprinting",
    "screenshots",
+4 −0
Original line number Diff line number Diff line
@@ -65,6 +65,10 @@

/* Content Blocking */

#trackingGroup {
  display: none;
}

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