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;
-
-
-
-
diff --git a/browser/components/preferences/securityWarnings.js b/browser/components/preferences/securityWarnings.js
deleted file mode 100644
index 4b2fc6881857..000000000000
--- a/browser/components/preferences/securityWarnings.js
+++ /dev/null
@@ -1,44 +0,0 @@
-# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
-# ***** BEGIN LICENSE BLOCK *****
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
-#
-# The contents of this file are subject to the Mozilla Public License Version
-# 1.1 (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-# http://www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS" basis,
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-# for the specific language governing rights and limitations under the
-# License.
-#
-# The Original Code is the Firefox Preferences System.
-#
-# The Initial Developer of the Original Code is
-# Gavin Sharp.
-# Portions created by the Initial Developer are Copyright (C) 2006
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-# Gavin Sharp
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either the GNU General Public License Version 2 or later (the "GPL"), or
-# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-# in which case the provisions of the GPL or the LGPL are applicable instead
-# of those above. If you wish to allow use of your version of this file only
-# under the terms of either the GPL or the LGPL, and not to allow others to
-# use your version of this file under the terms of the MPL, indicate your
-# decision by deleting the provisions above and replace them with the notice
-# and other provisions required by the GPL or the LGPL. If you do not delete
-# the provisions above, a recipient may use your version of this file under
-# the terms of any one of the MPL, the GPL or the LGPL.
-#
-# ***** END LICENSE BLOCK *****
-
-function secWarningSyncTo(aEvent) {
- var prefName = aEvent.target.getAttribute("preference") + ".show_once";
- var prefOnce = document.getElementById(prefName);
- prefOnce.value = false;
- return undefined;
-}
diff --git a/browser/components/preferences/securityWarnings.xul b/browser/components/preferences/securityWarnings.xul
deleted file mode 100644
index 1f0ae4357986..000000000000
--- a/browser/components/preferences/securityWarnings.xul
+++ /dev/null
@@ -1,115 +0,0 @@
-
-
-# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
-# ***** BEGIN LICENSE BLOCK *****
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
-#
-# The contents of this file are subject to the Mozilla Public License Version
-# 1.1 (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-# http://www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS" basis,
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-# for the specific language governing rights and limitations under the
-# License.
-#
-# The Original Code is the Firefox Preferences System.
-#
-# The Initial Developer of the Original Code is
-# Gavin Sharp.
-# Portions created by the Initial Developer are Copyright (C) 2006
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-# Gavin Sharp
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either the GNU General Public License Version 2 or later (the "GPL"), or
-# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-# in which case the provisions of the GPL or the LGPL are applicable instead
-# of those above. If you wish to allow use of your version of this file only
-# under the terms of either the GPL or the LGPL, and not to allow others to
-# use your version of this file under the terms of the MPL, indicate your
-# decision by deleting the provisions above and replace them with the notice
-# and other provisions required by the GPL or the LGPL. If you do not delete
-# the provisions above, a recipient may use your version of this file under
-# the terms of any one of the MPL, the GPL or the LGPL.
-#
-# ***** END LICENSE BLOCK *****
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/browser/locales/en-US/chrome/browser/preferences/security.dtd b/browser/locales/en-US/chrome/browser/preferences/security.dtd
index 8de2c205b45f..f8c076783680 100644
--- a/browser/locales/en-US/chrome/browser/preferences/security.dtd
+++ b/browser/locales/en-US/chrome/browser/preferences/security.dtd
@@ -32,11 +32,3 @@
-
-
-
-
-
-
-
-
diff --git a/browser/locales/en-US/chrome/browser/preferences/securityWarnings.dtd b/browser/locales/en-US/chrome/browser/preferences/securityWarnings.dtd
deleted file mode 100644
index 2f808d03a0e4..000000000000
--- a/browser/locales/en-US/chrome/browser/preferences/securityWarnings.dtd
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/browser/locales/jar.mn b/browser/locales/jar.mn
index aff609838890..6d22e1eaa540 100644
--- a/browser/locales/jar.mn
+++ b/browser/locales/jar.mn
@@ -59,7 +59,6 @@
locale/browser/preferences/preferences.properties (%chrome/browser/preferences/preferences.properties)
locale/browser/preferences/privacy.dtd (%chrome/browser/preferences/privacy.dtd)
locale/browser/preferences/security.dtd (%chrome/browser/preferences/security.dtd)
- locale/browser/preferences/securityWarnings.dtd (%chrome/browser/preferences/securityWarnings.dtd)
locale/browser/preferences/tabs.dtd (%chrome/browser/preferences/tabs.dtd)
locale/browser/sidebar/sidebar.properties (%chrome/browser/sidebar/sidebar.properties)
% locale browser-region @AB_CD@ %locale/browser-region/