From a9142d831d01d20286a67044729a1c758b669575 Mon Sep 17 00:00:00 2001 From: Ehsan Akhgari Date: Sat, 19 Sep 2009 21:08:56 +0430 Subject: [PATCH] Bug 513166 - Remove "Warning Messages" settings button from Preferences --> Security; r=dao --- browser/components/preferences/jar.mn | 2 - browser/components/preferences/security.js | 14 --- browser/components/preferences/security.xul | 14 --- .../preferences/securityWarnings.js | 44 ------- .../preferences/securityWarnings.xul | 115 ------------------ .../chrome/browser/preferences/security.dtd | 8 -- .../browser/preferences/securityWarnings.dtd | 13 -- browser/locales/jar.mn | 1 - 8 files changed, 211 deletions(-) delete mode 100644 browser/components/preferences/securityWarnings.js delete mode 100644 browser/components/preferences/securityWarnings.xul delete mode 100644 browser/locales/en-US/chrome/browser/preferences/securityWarnings.dtd diff --git a/browser/components/preferences/jar.mn b/browser/components/preferences/jar.mn index a11131fc3823..2f3a104d1bba 100644 --- a/browser/components/preferences/jar.mn +++ b/browser/components/preferences/jar.mn @@ -30,8 +30,6 @@ browser.jar: * content/browser/preferences/sanitize.xul * content/browser/preferences/security.xul * content/browser/preferences/security.js -* content/browser/preferences/securityWarnings.xul -* content/browser/preferences/securityWarnings.js * content/browser/preferences/selectBookmark.xul * content/browser/preferences/selectBookmark.js * content/browser/preferences/tabs.xul diff --git a/browser/components/preferences/security.js b/browser/components/preferences/security.js index 5082b6b7c324..5161b05f4628 100644 --- a/browser/components/preferences/security.js +++ b/browser/components/preferences/security.js @@ -244,20 +244,6 @@ var gSecurityPane = { document.documentElement.openWindow("Toolkit:PasswordManager", "chrome://passwordmgr/content/passwordManager.xul", "", null); - }, - - - // WARNING MESSAGES - - /** - * Displays the security warnings dialog which allows changing the - * "submitting unencrypted information", "moving from secure to unsecure", - * etc. dialogs that every user immediately disables when he sees them. - */ - showWarningMessageSettings: function () - { - document.documentElement.openSubDialog("chrome://browser/content/preferences/securityWarnings.xul", - "", null); } }; diff --git a/browser/components/preferences/security.xul b/browser/components/preferences/security.xul index ad1db133a19c..58186bb767e3 100644 --- a/browser/components/preferences/security.xul +++ b/browser/components/preferences/security.xul @@ -141,20 +141,6 @@ - - - - - - &chooseWarnings.label; -