diff --git a/mozilla/browser/locales/en-US/chrome/cookie/cookieAcceptDialog.dtd b/mozilla/browser/locales/en-US/chrome/cookie/cookieAcceptDialog.dtd
deleted file mode 100644
index 05780463406..00000000000
--- a/mozilla/browser/locales/en-US/chrome/cookie/cookieAcceptDialog.dtd
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/browser/locales/en-US/chrome/cookie/cookieAcceptDialog.properties b/mozilla/browser/locales/en-US/chrome/cookie/cookieAcceptDialog.properties
deleted file mode 100644
index 3a1bd2f13f4..00000000000
--- a/mozilla/browser/locales/en-US/chrome/cookie/cookieAcceptDialog.properties
+++ /dev/null
@@ -1,17 +0,0 @@
-hostColon=Host:
-domainColon=Domain:
-forSecureOnly=Encrypted connections only
-forAnyConnection=Any type of connection
-atEndOfSession=at end of session
-
-showDetails=Show Details
-hideDetails=Hide Details
-detailsAccessKey=T
-
-permissionToSetACookie = The site %S wants to set a cookie.
-permissionToSetSecondCookie = The site %S wants to set a second cookie.
-# LOCALIZATION NOTE (PermissionToSetAnotherCookie): First %S: sitename, second %S: number of cookies already present for that site
-permissionToSetAnotherCookie = The site %S wants to set another cookie.\nYou already have %S cookies from this site.
-permissionToModifyCookie = The site %S wants to modify an existing cookie.
-permissionToAcceptImage = The site %S wants to load an image.
-rememberThisDecision = Remember this decision
diff --git a/mozilla/browser/locales/generic/chrome/cookie/contents.rdf b/mozilla/browser/locales/generic/chrome/cookie/contents.rdf
deleted file mode 100644
index 8265ba52eb0..00000000000
--- a/mozilla/browser/locales/generic/chrome/cookie/contents.rdf
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-#filter substitution
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/extensions/cookie/jar.mn b/mozilla/extensions/cookie/jar.mn
deleted file mode 100644
index fd13a50a21d..00000000000
--- a/mozilla/extensions/cookie/jar.mn
+++ /dev/null
@@ -1,36 +0,0 @@
-comm.jar:
-* content/cookie/contents.rdf (resources/content/contents.rdf)
- content/cookie/cookieTasksOverlay.xul (resources/content/cookieTasksOverlay.xul)
- content/cookie/cookieNavigatorOverlay.xul (resources/content/cookieNavigatorOverlay.xul)
- content/cookie/cookieContextOverlay.xul (resources/content/cookieContextOverlay.xul)
- content/cookie/cookiePrefsOverlay.xul (resources/content/cookiePrefsOverlay.xul)
- content/cookie/pref-cookies.xul (resources/content/pref-cookies.xul)
- content/cookie/pref-images.xul (resources/content/pref-images.xul)
- content/cookie/pref-popups.xul (resources/content/pref-popups.xul)
- content/cookie/cookieOverlay.js (resources/content/cookieOverlay.js)
- content/cookie/p3p.xul (resources/content/p3p.xul)
- content/cookie/p3pDialog.xul (resources/content/p3pDialog.xul)
- content/cookie/cookieAcceptDialog.xul (resources/content/cookieAcceptDialog.xul)
- content/cookie/cookieAcceptDialog.js (resources/content/cookieAcceptDialog.js)
-
-modern.jar:
- skin/modern/communicator/cookie/taskbar-cookie.gif (resources/skin/modern/taskbar-cookie.gif)
- skin/modern/communicator/cookie/status-cookie.gif (resources/skin/modern/status-cookie.gif)
-
-classic.jar:
- skin/classic/communicator/cookie/taskbar-cookie.gif (resources/skin/classic/taskbar-cookie.gif)
- skin/classic/communicator/cookie/status-cookie.gif (resources/skin/classic/status-cookie.gif)
-
-en-US.jar:
-* locale/en-US/cookie/contents.rdf (resources/locale/en-US/contents.rdf)
- locale/en-US/cookie/cookieTasksOverlay.dtd (resources/locale/en-US/cookieTasksOverlay.dtd)
- locale/en-US/cookie/cookieNavigatorOverlay.dtd (resources/locale/en-US/cookieNavigatorOverlay.dtd)
- locale/en-US/cookie/cookieContextOverlay.dtd (resources/locale/en-US/cookieContextOverlay.dtd)
- locale/en-US/cookie/cookiePrefsOverlay.dtd (resources/locale/en-US/cookiePrefsOverlay.dtd)
- locale/en-US/cookie/pref-cookies.dtd (resources/locale/en-US/pref-cookies.dtd)
- locale/en-US/cookie/pref-images.dtd (resources/locale/en-US/pref-images.dtd)
- locale/en-US/cookie/pref-popups.dtd (resources/locale/en-US/pref-popups.dtd)
- locale/en-US/cookie/p3p.dtd (resources/locale/en-US/p3p.dtd)
- locale/en-US/cookie/cookie.properties (resources/locale/en-US/cookie.properties)
- locale/en-US/cookie/cookieAcceptDialog.properties (resources/locale/en-US/cookieAcceptDialog.properties)
- locale/en-US/cookie/cookieAcceptDialog.dtd (resources/locale/en-US/cookieAcceptDialog.dtd)
diff --git a/mozilla/extensions/cookie/resources/content/contents.rdf b/mozilla/extensions/cookie/resources/content/contents.rdf
deleted file mode 100644
index 1f902175b47..00000000000
--- a/mozilla/extensions/cookie/resources/content/contents.rdf
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- chrome://cookie/content/cookieContextOverlay.xul
-
-
-
- chrome://cookie/content/cookiePrefsOverlay.xul
-
-
-
- chrome://cookie/content/cookieNavigatorOverlay.xul
- chrome://cookie/content/cookieTasksOverlay.xul
-
-
-
- chrome://cookie/content/cookieContextOverlay.xul
-
-
-
diff --git a/mozilla/extensions/cookie/resources/content/cookieAcceptDialog.js b/mozilla/extensions/cookie/resources/content/cookieAcceptDialog.js
deleted file mode 100644
index 2b6280489d5..00000000000
--- a/mozilla/extensions/cookie/resources/content/cookieAcceptDialog.js
+++ /dev/null
@@ -1,218 +0,0 @@
-/* ***** 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 cookie manager code.
- *
- * The Initial Developer of the Original Code is
- * Michiel van Leeuwen.
- * Portions created by the Initial Developer are Copyright (C) 2002
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- *
- * 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 ***** */
-
-const nsICookieAcceptDialog = Components.interfaces.nsICookieAcceptDialog;
-const nsIDialogParamBlock = Components.interfaces.nsIDialogParamBlock;
-const nsICookie = Components.interfaces.nsICookie;
-const nsICookiePromptService = Components.interfaces.nsICookiePromptService;
-
-var params;
-var cookieBundle;
-var gDateService = null;
-
-var showDetails = "";
-var hideDetails = "";
-var detailsAccessKey = "";
-
-function onload()
-{
- doSetOKCancel(cookieAcceptNormal, cookieDeny, cookieAcceptSession);
-
- var dialog = document.documentElement;
-
- document.getElementById("Button2").collapsed = false;
-
- document.getElementById("ok").label = dialog.getAttribute("acceptLabel");
- document.getElementById("ok").accessKey = dialog.getAttribute("acceptKey");
- document.getElementById("Button2").label = dialog.getAttribute("extra1Label");
- document.getElementById("Button2").accessKey = dialog.getAttribute("extra1Key");
- document.getElementById("cancel").label = dialog.getAttribute("cancelLabel");
- document.getElementById("cancel").accessKey = dialog.getAttribute("cancelKey");
-
- if (!gDateService) {
- const nsScriptableDateFormat_CONTRACTID = "@mozilla.org/intl/scriptabledateformat;1";
- const nsIScriptableDateFormat = Components.interfaces.nsIScriptableDateFormat;
- gDateService = Components.classes[nsScriptableDateFormat_CONTRACTID]
- .getService(nsIScriptableDateFormat);
- }
-
- cookieBundle = document.getElementById("cookieBundle");
-
- //cache strings
- if (!showDetails) {
- showDetails = cookieBundle.getString('showDetails');
- }
- if (!hideDetails) {
- hideDetails = cookieBundle.getString('hideDetails');
- }
- detailsAccessKey = cookieBundle.getString('detailsAccessKey');
-
- if (document.getElementById('infobox').hidden) {
- document.getElementById('disclosureButton').setAttribute("label",showDetails);
- } else {
- document.getElementById('disclosureButton').setAttribute("label",hideDetails);
- }
- document.getElementById('disclosureButton').setAttribute("accesskey",detailsAccessKey);
-
- if ("arguments" in window && window.arguments.length >= 1 && window.arguments[0]) {
- try {
- params = window.arguments[0].QueryInterface(nsIDialogParamBlock);
- var objects = params.objects;
- var cookie = params.objects.queryElementAt(0,nsICookie);
-
- var cookiesFromHost = params.GetInt(nsICookieAcceptDialog.COOKIESFROMHOST);
-
- var messageFormat;
- if (params.GetInt(nsICookieAcceptDialog.CHANGINGCOOKIE))
- messageFormat = 'permissionToModifyCookie';
- else if (cookiesFromHost > 1)
- messageFormat = 'permissionToSetAnotherCookie';
- else if (cookiesFromHost == 1)
- messageFormat = 'permissionToSetSecondCookie';
- else
- messageFormat = 'permissionToSetACookie';
-
- var hostname = params.GetString(nsICookieAcceptDialog.HOSTNAME);
-
- var messageText;
- if (cookie)
- messageText = cookieBundle.getFormattedString(messageFormat,[hostname, cookiesFromHost]);
- else
- // No cookies means something went wrong. Bring up the dialog anyway
- // to not make the mess worse.
- messageText = cookieBundle.getFormattedString(messageFormat,["",cookiesFromHost]);
-
- var messageParent = document.getElementById("dialogtextbox");
- var messageParagraphs = messageText.split("\n");
-
- // use value for the header, so it doesn't wrap.
- var headerNode = document.getElementById("dialog-header");
- headerNode.setAttribute("value",messageParagraphs[0]);
-
- // use childnodes here, the text can wrap
- for (var i = 1; i < messageParagraphs.length; i++) {
- var descriptionNode = document.createElement("description");
- text = document.createTextNode(messageParagraphs[i]);
- descriptionNode.appendChild(text);
- messageParent.appendChild(descriptionNode);
- }
-
- if (cookie) {
- document.getElementById('ifl_name').setAttribute("value",cookie.name);
- document.getElementById('ifl_value').setAttribute("value",cookie.value);
- document.getElementById('ifl_host').setAttribute("value",cookie.host);
- document.getElementById('ifl_path').setAttribute("value",cookie.path);
- document.getElementById('ifl_isSecure').setAttribute("value",
- cookie.isSecure ?
- cookieBundle.getString("forSecureOnly") : cookieBundle.getString("forAnyConnection")
- );
- document.getElementById('ifl_expires').setAttribute("value",GetExpiresString(cookie.expires));
- document.getElementById('ifl_isDomain').setAttribute("value",
- cookie.isDomain ?
- cookieBundle.getString("domainColon") : cookieBundle.getString("hostColon")
- );
- }
- // set default result to not accept the cookie
- params.SetInt(nsICookieAcceptDialog.ACCEPT_COOKIE, 0);
- // and to not persist
- params.SetInt(nsICookieAcceptDialog.REMEMBER_DECISION, 0);
- } catch (e) {
- }
- }
-}
-
-function showhideinfo()
-{
- var infobox=document.getElementById('infobox');
-
- if (infobox.hidden) {
- infobox.setAttribute("hidden","false");
- document.getElementById('disclosureButton').setAttribute("label",hideDetails);
- } else {
- infobox.setAttribute("hidden","true");
- document.getElementById('disclosureButton').setAttribute("label",showDetails);
- }
- sizeToContent();
-}
-
-function cookieAcceptNormal()
-{
- // accept the cookie normally
- params.SetInt(nsICookieAcceptDialog.ACCEPT_COOKIE, nsICookiePromptService.ACCEPT_COOKIE);
- // And remember that when needed
- params.SetInt(nsICookieAcceptDialog.REMEMBER_DECISION, document.getElementById('persistDomainAcceptance').checked);
- window.close();
-}
-
-function cookieAcceptSession()
-{
- // accept for the session only
- params.SetInt(nsICookieAcceptDialog.ACCEPT_COOKIE, nsICookiePromptService.ACCEPT_SESSION_COOKIE);
- // And remember that when needed
- params.SetInt(nsICookieAcceptDialog.REMEMBER_DECISION, document.getElementById('persistDomainAcceptance').checked);
- window.close();
-}
-
-function cookieDeny()
-{
- // say that the cookie was rejected
- params.SetInt(nsICookieAcceptDialog.ACCEPT_COOKIE, nsICookiePromptService.DENY_COOKIE);
- // And remember that when needed
- params.SetInt(nsICookieAcceptDialog.REMEMBER_DECISION, document.getElementById('persistDomainAcceptance').checked);
- window.close();
-}
-
-function GetExpiresString(secondsUntilExpires) {
- if (secondsUntilExpires) {
- var date = new Date(1000*secondsUntilExpires);
-
- // if a server manages to set a really long-lived cookie, the dateservice
- // can't cope with it properly, so we'll just return a blank string
- // see bug 238045 for details
- var expiry = "";
- try {
- expiry = gDateService.FormatDateTime("", gDateService.dateFormatLong,
- gDateService.timeFormatSeconds,
- date.getFullYear(), date.getMonth()+1,
- date.getDate(), date.getHours(),
- date.getMinutes(), date.getSeconds());
- } catch(ex) {
- // do nothing
- }
- return expiry;
- }
- return cookieBundle.getString("atEndOfSession");
-}
diff --git a/mozilla/extensions/cookie/resources/content/cookieAcceptDialog.xul b/mozilla/extensions/cookie/resources/content/cookieAcceptDialog.xul
deleted file mode 100644
index bc85da43049..00000000000
--- a/mozilla/extensions/cookie/resources/content/cookieAcceptDialog.xul
+++ /dev/null
@@ -1,156 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/extensions/cookie/resources/content/cookieContextOverlay.xul b/mozilla/extensions/cookie/resources/content/cookieContextOverlay.xul
deleted file mode 100644
index a804c23dd53..00000000000
--- a/mozilla/extensions/cookie/resources/content/cookieContextOverlay.xul
+++ /dev/null
@@ -1,160 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/extensions/cookie/resources/content/cookieNavigatorOverlay.xul b/mozilla/extensions/cookie/resources/content/cookieNavigatorOverlay.xul
deleted file mode 100644
index ed5d82db146..00000000000
--- a/mozilla/extensions/cookie/resources/content/cookieNavigatorOverlay.xul
+++ /dev/null
@@ -1,286 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/extensions/cookie/resources/content/cookieOverlay.js b/mozilla/extensions/cookie/resources/content/cookieOverlay.js
deleted file mode 100644
index 45328e4cf2a..00000000000
--- a/mozilla/extensions/cookie/resources/content/cookieOverlay.js
+++ /dev/null
@@ -1,71 +0,0 @@
-/* -*- Mode: Java; tab-width: 4; 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 mozilla.org Code.
- *
- * The Initial Developer of the Original Code is
- * Netscape Communications Corporation.
- * Portions created by the Initial Developer are Copyright (C) 1998
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * Neil Rashbrook
- *
- * 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 openCookieViewer(viewerType)
-{
- const wm = Components.classes["@mozilla.org/appshell/window-mediator;1"]
- .getService(Components.interfaces.nsIWindowMediator);
- var enumerator = wm.getEnumerator("mozilla:cookieviewer");
- while (enumerator.hasMoreElements()) {
- var viewer = enumerator.getNext();
- if (viewer.arguments[0] == viewerType) {
- viewer.focus();
- return;
- }
- }
- window.openDialog("chrome://communicator/content/wallet/CookieViewer.xul",
- "_blank", "chrome,resizable", viewerType);
-}
-
-function viewImages() {
- openCookieViewer("imageManager");
-}
-
-function viewCookies() {
- openCookieViewer("cookieManager");
-}
-
-function viewCookiesFromIcon() {
- openCookieViewer("cookieManagerFromIcon");
-}
-
-function viewP3P() {
- window.openDialog
- ("chrome://cookie/content/p3p.xul","_blank","chrome,resizable=no");
-}
diff --git a/mozilla/extensions/cookie/resources/content/cookiePrefsOverlay.xul b/mozilla/extensions/cookie/resources/content/cookiePrefsOverlay.xul
deleted file mode 100644
index 89086e72159..00000000000
--- a/mozilla/extensions/cookie/resources/content/cookiePrefsOverlay.xul
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/extensions/cookie/resources/content/cookieTasksOverlay.xul b/mozilla/extensions/cookie/resources/content/cookieTasksOverlay.xul
deleted file mode 100644
index 418bf1f3654..00000000000
--- a/mozilla/extensions/cookie/resources/content/cookieTasksOverlay.xul
+++ /dev/null
@@ -1,135 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/extensions/cookie/resources/content/p3p.xul b/mozilla/extensions/cookie/resources/content/p3p.xul
deleted file mode 100644
index d946903492f..00000000000
--- a/mozilla/extensions/cookie/resources/content/p3p.xul
+++ /dev/null
@@ -1,262 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/extensions/cookie/resources/content/p3pDialog.xul b/mozilla/extensions/cookie/resources/content/p3pDialog.xul
deleted file mode 100644
index ff13004847a..00000000000
--- a/mozilla/extensions/cookie/resources/content/p3pDialog.xul
+++ /dev/null
@@ -1,113 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/extensions/cookie/resources/content/pref-cookies.xul b/mozilla/extensions/cookie/resources/content/pref-cookies.xul
deleted file mode 100644
index 5a01f1f443d..00000000000
--- a/mozilla/extensions/cookie/resources/content/pref-cookies.xul
+++ /dev/null
@@ -1,163 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- &whenBlock.description;
-
-
-
-
-
-
-
-
-
-
-
-
- &popupNote.description;
-
-
-
-
-
diff --git a/mozilla/extensions/cookie/resources/locale/en-US/contents.rdf b/mozilla/extensions/cookie/resources/locale/en-US/contents.rdf
deleted file mode 100644
index 84e99ebac56..00000000000
--- a/mozilla/extensions/cookie/resources/locale/en-US/contents.rdf
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/extensions/cookie/resources/locale/en-US/cookie.properties b/mozilla/extensions/cookie/resources/locale/en-US/cookie.properties
deleted file mode 100644
index 9c727a5e0fb..00000000000
--- a/mozilla/extensions/cookie/resources/locale/en-US/cookie.properties
+++ /dev/null
@@ -1,46 +0,0 @@
-# ***** 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 mozilla.org code.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#
-# 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 *****
-
-Domain = Domain
-Host = Host
-Yes = Yes
-No = No
-AtEndOfSession = at end of session
-
-Confirm = Confirm
-
-PermissionToAcceptImage = The site %s wants to load an image. Do you want to allow it?
-RememberThisDecision = Remember this decision
diff --git a/mozilla/extensions/cookie/resources/locale/en-US/cookieAcceptDialog.dtd b/mozilla/extensions/cookie/resources/locale/en-US/cookieAcceptDialog.dtd
deleted file mode 100644
index 05780463406..00000000000
--- a/mozilla/extensions/cookie/resources/locale/en-US/cookieAcceptDialog.dtd
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/extensions/cookie/resources/locale/en-US/cookieAcceptDialog.properties b/mozilla/extensions/cookie/resources/locale/en-US/cookieAcceptDialog.properties
deleted file mode 100644
index 3a1bd2f13f4..00000000000
--- a/mozilla/extensions/cookie/resources/locale/en-US/cookieAcceptDialog.properties
+++ /dev/null
@@ -1,17 +0,0 @@
-hostColon=Host:
-domainColon=Domain:
-forSecureOnly=Encrypted connections only
-forAnyConnection=Any type of connection
-atEndOfSession=at end of session
-
-showDetails=Show Details
-hideDetails=Hide Details
-detailsAccessKey=T
-
-permissionToSetACookie = The site %S wants to set a cookie.
-permissionToSetSecondCookie = The site %S wants to set a second cookie.
-# LOCALIZATION NOTE (PermissionToSetAnotherCookie): First %S: sitename, second %S: number of cookies already present for that site
-permissionToSetAnotherCookie = The site %S wants to set another cookie.\nYou already have %S cookies from this site.
-permissionToModifyCookie = The site %S wants to modify an existing cookie.
-permissionToAcceptImage = The site %S wants to load an image.
-rememberThisDecision = Remember this decision
diff --git a/mozilla/extensions/cookie/resources/locale/en-US/cookieContextOverlay.dtd b/mozilla/extensions/cookie/resources/locale/en-US/cookieContextOverlay.dtd
deleted file mode 100644
index e028d4cbc45..00000000000
--- a/mozilla/extensions/cookie/resources/locale/en-US/cookieContextOverlay.dtd
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/mozilla/extensions/cookie/resources/locale/en-US/cookieNavigatorOverlay.dtd b/mozilla/extensions/cookie/resources/locale/en-US/cookieNavigatorOverlay.dtd
deleted file mode 100644
index d61ec695bfd..00000000000
--- a/mozilla/extensions/cookie/resources/locale/en-US/cookieNavigatorOverlay.dtd
+++ /dev/null
@@ -1,47 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/extensions/cookie/resources/locale/en-US/cookiePrefsOverlay.dtd b/mozilla/extensions/cookie/resources/locale/en-US/cookiePrefsOverlay.dtd
deleted file mode 100644
index 93a392268c1..00000000000
--- a/mozilla/extensions/cookie/resources/locale/en-US/cookiePrefsOverlay.dtd
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
diff --git a/mozilla/extensions/cookie/resources/locale/en-US/cookieTasksOverlay.dtd b/mozilla/extensions/cookie/resources/locale/en-US/cookieTasksOverlay.dtd
deleted file mode 100644
index 9674fc64d87..00000000000
--- a/mozilla/extensions/cookie/resources/locale/en-US/cookieTasksOverlay.dtd
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
diff --git a/mozilla/extensions/cookie/resources/locale/en-US/p3p.dtd b/mozilla/extensions/cookie/resources/locale/en-US/p3p.dtd
deleted file mode 100644
index 4d48282ac34..00000000000
--- a/mozilla/extensions/cookie/resources/locale/en-US/p3p.dtd
+++ /dev/null
@@ -1,75 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/extensions/cookie/resources/locale/en-US/pref-cookies.dtd b/mozilla/extensions/cookie/resources/locale/en-US/pref-cookies.dtd
deleted file mode 100644
index 647b22dfecf..00000000000
--- a/mozilla/extensions/cookie/resources/locale/en-US/pref-cookies.dtd
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/extensions/cookie/resources/locale/en-US/pref-images.dtd b/mozilla/extensions/cookie/resources/locale/en-US/pref-images.dtd
deleted file mode 100644
index aa6e859130e..00000000000
--- a/mozilla/extensions/cookie/resources/locale/en-US/pref-images.dtd
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/extensions/cookie/resources/locale/en-US/pref-popups.dtd b/mozilla/extensions/cookie/resources/locale/en-US/pref-popups.dtd
deleted file mode 100644
index ada4804391c..00000000000
--- a/mozilla/extensions/cookie/resources/locale/en-US/pref-popups.dtd
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/extensions/wallet/cookieviewer/resources/content/CookieViewer.xul b/mozilla/extensions/wallet/cookieviewer/resources/content/CookieViewer.xul
deleted file mode 100644
index cdb0b68a5d0..00000000000
--- a/mozilla/extensions/wallet/cookieviewer/resources/content/CookieViewer.xul
+++ /dev/null
@@ -1,210 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/extensions/wallet/cookieviewer/resources/content/nsWalletTreeUtils.js b/mozilla/extensions/wallet/cookieviewer/resources/content/nsWalletTreeUtils.js
deleted file mode 100644
index 829b233d963..00000000000
--- a/mozilla/extensions/wallet/cookieviewer/resources/content/nsWalletTreeUtils.js
+++ /dev/null
@@ -1,178 +0,0 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
- *
- * ***** 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 mozilla.org code.
- *
- * The Initial Developer of the Original Code is
- * Netscape Communications Corporation.
- * Portions created by the Initial Developer are Copyright (C) 1998
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- *
- * 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 DeleteAllFromTree
- (tree, view, table, deletedTable, removeButton, removeAllButton) {
-
- // remove all items from table and place in deleted table
- for (var i=0; i= 0; s--) {
- var i = selections[s];
- deletedTable[deletedTable.length] = table[i];
- table[i] = null;
- }
-
- // collapse list by removing all the null entries
- for (var j=0; j second.expiresSortValue)
- return 1;
- else if (first.expiresSortValue < second.expiresSortValue)
- return -1;
- else
- return 0;
- }
- } else {
- compareFunc = function compare(first, second) {
- return first[column].toLowerCase().localeCompare(second[column].toLowerCase());
- }
- }
- table.sort(compareFunc);
- if (!ascending)
- table.reverse();
-
- // restore the selection
- var selectedRow = -1;
- if (selectedNumber>=0 && updateSelection) {
- for (var s=0; s= 0) {
- tree.treeBoxObject.ensureRowIsVisible(selectedRow)
- }
-
- return ascending;
-}
-
diff --git a/mozilla/extensions/wallet/cookieviewer/resources/locale/en-US/CookieViewer.dtd b/mozilla/extensions/wallet/cookieviewer/resources/locale/en-US/CookieViewer.dtd
deleted file mode 100644
index c33759cde01..00000000000
--- a/mozilla/extensions/wallet/cookieviewer/resources/locale/en-US/CookieViewer.dtd
+++ /dev/null
@@ -1,38 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/extensions/wallet/cookieviewer/resources/locale/en-US/CookieViewer.properties b/mozilla/extensions/wallet/cookieviewer/resources/locale/en-US/CookieViewer.properties
deleted file mode 100644
index f0ee4adcab1..00000000000
--- a/mozilla/extensions/wallet/cookieviewer/resources/locale/en-US/CookieViewer.properties
+++ /dev/null
@@ -1,73 +0,0 @@
-# ***** 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 mozilla.org code.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-# Ben Goodger
-#
-# 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 *****
-
-# note this section of the code may require some tinkering in other languages =(
-# format in dialog: site [can/cannot] set cookies
-can=site can set cookies
-cannot=site cannot set cookies
-canSession=site can set session cookies
-canImages=site can load images
-cannotImages=site cannot load images
-canPopups=site can show popups
-cannotPopups=site cannot show popups
-domain=Domain for which this cookie applies:
-host=Server which set the cookie:
-imageTitle=Image Manager
-popupTitle=Pop-up Manager
-hostColon=Host:
-domainColon=Domain:
-forSecureOnly=Encrypted connections only
-forAnyConnection=Any type of connection
-AtEndOfSession = at end of session
-tabBannedImages=Image Sites
-tabBannedPopups=Pop-up Sites
-textBannedImages=Sites from which images are or are not loaded.
-textBannedPopups=Sites from which pop-up windows are or are not allowed.
-accepted=accepted
-downgraded=session
-flagged=flagged
-policyUnstated = no policy about storing identifiable information
-policyNoConsent = stores identifiable information without any user consent
-policyImplicitConsent = stores identifiable information unless user opts out
-policyExplicitConsent = stores identifiable information if user opts in
-policyNoIICollected = does not store identifiable information
-close=Close
-deleteAllCookies=Are you sure you want to delete all the cookies?
-deleteAllCookiesTitle=Remove All Cookies
-deleteAllCookiesSites=Are you sure you want to delete all of the cookie sites?
-deleteAllImagesSites=Are you sure you want to delete all of the image sites?
-deleteAllSitesTitle=Remove All Sites
diff --git a/mozilla/xpfe/communicator/resources/content/popupManager.js b/mozilla/xpfe/communicator/resources/content/popupManager.js
deleted file mode 100644
index b3787cc4584..00000000000
--- a/mozilla/xpfe/communicator/resources/content/popupManager.js
+++ /dev/null
@@ -1,403 +0,0 @@
-/* ***** 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 Mozilla Communicator client code.
- *
- * The Initial Developer of the Original Code is
- * Netscape Communications Corporation.
- * Portions created by the Initial Developer are Copyright (C) 2002
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either of 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 ***** */
-
-const nsIPermissionManager = Components.interfaces.nsIPermissionManager;
-const popupType = "popup";
-
-var permissionManager = null;
-
-var permissions = [];
-
-var additions = [];
-var removals = [];
-
-var sortColumn = "host";
-var sortAscending = false;
-
-var permissionsTreeView = {
- rowCount: 0,
- setTree: function(tree) {},
- getImageSrc: function(row, column) {},
- getProgressMode: function(row, column) {},
- getCellValue: function(row, column) {},
- getCellText: function(row, column) {
- var rv = permissions[row].host;
- return rv;
- },
- isSeparator: function(index) { return false; },
- isSorted: function() { return false; },
- isContainer: function(index) { return false; },
- cycleHeader: function(column) {},
- getRowProperties: function(row, column, prop) {},
- getColumnProperties: function(column, prop) {},
- getCellProperties: function(row, column, prop) {}
-};
-
-var permissionsTree;
-var popupStringBundle;
-
-function Startup() {
- permissionManager = Components.classes["@mozilla.org/permissionmanager;1"]
- .getService(Components.interfaces.nsIPermissionManager);
-
- permissionsTree = document.getElementById("permissionsTree");
-
- popupStringBundle = document.getElementById("popupStringBundle");
-
- sortAscending = (permissionsTree.getAttribute("sortAscending") == "true");
-
- loadPermissions(permissions);
- loadTree();
-
- // window.arguments[0] contains the host to prefill
- if (window.arguments[0] != "") {
- // fill textbox to unblock/add to whitelist
- var prefill = window.arguments[0];
- if (prefill.indexOf("www.") == 0)
- prefill = prefill.slice(4);
- document.getElementById("addSiteBox").value = prefill;
- }
-
- document.documentElement.addEventListener("keypress", onReturnHit, true);
-}
-
-function getMatch(host) {
- // pre-pend '.' so we always match on host boundaries. Otherwise
- // we might think notfoo.com matches foo.com
- var currentLoc = '.'+host;
- var nextHost;
- var inList;
-
- var matchIndex = null;
- var matchLength = 0;
-
- for (var i = 0; i < permissionsTreeView.rowCount; i++) {
- nextHost = '.'+permissions[i].host;
-
- if (currentLoc.length < nextHost.length)
- continue; // can't be a match, list host is more specific
-
- // look for an early out exact match -- check length first for speed
- if (currentLoc.length == nextHost.length && nextHost == currentLoc) {
- inList = true;
- matchIndex = i;
- break;
- }
-
- if (nextHost == currentLoc.substr(currentLoc.length - nextHost.length)) {
- inList = true;
- if (nextHost.length > matchLength) {
- matchIndex = i;
- matchLength = nextHost.length;
- }
- }
- }
-
- return matchIndex;
-}
-
-function onAccept() {
- finalizeChanges();
-
- var unblocked = additions;
-
- permissionsTree.setAttribute("sortAscending", !sortAscending);
-
- var nextLocation;
- var nextUnblocked;
-
- var windowMediator = Components.classes['@mozilla.org/appshell/window-mediator;1']
- .getService(Components.interfaces.nsIWindowMediator);
- var enumerator = windowMediator.getEnumerator("navigator:browser");
-
- //if a site that is currently open is unblocked, make icon go away
- while(enumerator.hasMoreElements()) {
- var win = enumerator.getNext();
-
- var browsers = win.getBrowser().browsers;
- for (var i = 0; i < browsers.length; i++) {
- try {
- nextLocation = browsers[i].currentURI.hostPort;
- }
- catch(ex) {
- //blank window
- }
-
- if (nextLocation) {
- nextLocation = '.'+nextLocation;
- for (var j in unblocked) {
- nextUnblocked = '.'+unblocked[j];
-
- if (nextUnblocked.length > nextLocation.length)
- continue; // can't be a match
-
- if (nextUnblocked ==
- nextLocation.substr(nextLocation.length - nextUnblocked.length)) {
- browsers[i].popupDomain = null;
- win.document.getElementById("popupIcon").hidden = true;
- }
- }
- }
- }
- }
-
- return true;
-}
-
-function Permission(host, number) {
- this.host = host;
- this.number = number;
-}
-
-function loadPermissions(table) {
- var enumerator = permissionManager.enumerator;
- var count = 0;
-
- while (enumerator.hasMoreElements()) {
- var permission = enumerator.getNext();
- if (permission) {
- permission = permission.QueryInterface(Components.interfaces.nsIPermission);
- if ((permission.type == popupType) && (permission.capability == nsIPermissionManager.ALLOW_ACTION)) {
- var host = permission.host;
- table[count] = new Permission(host,count++);
- }
- }
- }
-}
-
-function loadTree() {
- var rowCount = permissions.length;
- permissionsTreeView.rowCount = rowCount;
- permissionsTree.treeBoxObject.view = permissionsTreeView;
- permissionColumnSort();
-
- if (permissions.length == 0)
- document.getElementById("removeAllPermissions").setAttribute("disabled","true");
- else
- document.getElementById("removeAllPermissions").removeAttribute("disabled");
-}
-
-function permissionColumnSort() {
- sortAscending =
- SortTree(permissionsTree, permissionsTreeView, permissions,
- sortColumn, sortColumn, sortAscending);
-}
-
-function permissionSelected() {
- var selections = GetTreeSelections(permissionsTree);
- if (selections.length) {
- document.getElementById("removePermission").removeAttribute("disabled");
- }
-}
-
-function deletePermissions() {
- var selections = GetTreeSelections(permissionsTree);
-
- for (var s = selections.length - 1; s >= 0; s--) {
- var i = selections[s];
-
- var host = permissions[i].host;
- updatePendingRemovals(host);
-
- permissions[i] = null;
- }
-
- for (var j = 0; j < permissions.length; j++) {
- if (permissions[j] == null) {
- var k = j;
- while ((k < permissions.length) && (permissions[k] == null)) {
- k++;
- }
- permissions.splice(j, k-j);
- permissionsTreeView.rowCount -= k - j;
- permissionsTree.treeBoxObject.rowCountChanged(j, j - k);
- }
- }
-
- if (permissions.length) {
- var nextSelection = (selections[0] < permissions.length) ? selections[0] : permissions.length - 1;
- permissionsTreeView.selection.select(nextSelection);
- permissionsTree.treeBoxObject.ensureRowIsVisible(nextSelection);
- }
- else {
- document.getElementById("removePermission").setAttribute("disabled", "true")
- document.getElementById("removeAllPermissions").setAttribute("disabled","true");
- }
-}
-
-function deleteAllPermissions() {
- for (var i = 0; i < permissions.length; i++) {
- var host = permissions[i].host;
- updatePendingRemovals(host);
- }
-
- permissions.length = 0;
- clearTree();
-}
-
-function updatePendingRemovals(host) {
- if (additions[host])
- additions[host] = null;
- else
- removals[host] = host;
-}
-
-function clearTree() {
- var oldCount = permissionsTreeView.rowCount;
- permissionsTreeView.rowCount = 0;
- permissionsTree.treeBoxObject.rowCountChanged(0, -oldCount);
-
- document.getElementById("removePermission").setAttribute("disabled", "true")
- document.getElementById("removeAllPermissions").setAttribute("disabled","true");
-}
-
-function finalizeChanges() {
- var ioService = Components.classes["@mozilla.org/network/io-service;1"]
- .getService(Components.interfaces.nsIIOService);
-
- var uri;
- var host;
- var i;
-
- //note: the scheme will be taken off later, it is being added now only to
- //create the uri for add/remove
- for (i in additions) {
- host = additions[i];
- if (host != null) {
- host = "http://" + host;
- uri = ioService.newURI(host, null, null);
- permissionManager.add(uri, popupType, true);
- }
- }
-
- for (i in removals) {
- host = removals[i];
- if (host != null) {
- permissionManager.remove(host, popupType);
- }
- }
-
-}
-
-function handlePermissionKeyPress(e) {
- if (e.keyCode == 46) {
- deletePermissions();
- }
-}
-
-function addPermission() {
- var addSiteBox = document.getElementById("addSiteBox");
- var host = addSiteBox.value;
-
- if (host != "") {
- host = host.replace(/^\s*([-\w]*:\/+)?/, ""); // trim any leading space and scheme
-
- var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"]
- .getService(Components.interfaces.nsIPromptService);
- var ioService = Components.classes["@mozilla.org/network/io-service;1"]
- .getService(Components.interfaces.nsIIOService);
-
- try {
- var uri = ioService.newURI("http://"+host, null, null);
- }
- catch(ex) {
- var msgInvalid = popupStringBundle.getFormattedString("alertInvalid", [host]);
- if (promptService)
- promptService.alert(window, "", msgInvalid);
- addSiteBox.value = "";
- return;
- }
-
- host = uri.hostPort;
-
- if (!host) {
- addSiteBox.value = "";
- return;
- }
-
- var length = permissions.length;
-
- var isDuplicate = false;
- for (var i = 0; i < length; i++) {
- if (permissions[i].host == host) {
- var msgDuplicate = popupStringBundle.getFormattedString("alertDuplicate", [host]);
- if (promptService)
- promptService.alert(window, "", msgDuplicate);
- isDuplicate = true;
- break;
- }
- }
-
- if (!isDuplicate) {
- var newPermission = new Permission(host, length);
- permissions.push(newPermission);
-
- sortAscending = !sortAscending; //keep same sort direction
- loadTree();
-
- if (removals[host] != null)
- removals[host] = null;
- else
- additions[host] = host;
- }
-
- addSiteBox.value = "";
- }
-}
-
-function onReturnHit(event) {
- var focusedElement = document.commandDispatcher.focusedElement;
- var addSiteBox = document.getElementById("addSiteBox");
- if (event.keyCode == 13) {
- if (focusedElement) {
- if (focusedElement.id == "permissionsTree")
- return;
- else {
- event.preventBubble();
- if (focusedElement == addSiteBox.inputField) {
- var addSiteButton = document.getElementById("addSiteButton");
- addSiteButton.doCommand();
- }
- }
- }
- }
-}
-
-function doHelpButton() {
- openHelp("pop_up_blocking");
- return true;
-}
-
diff --git a/mozilla/xpfe/communicator/resources/content/popupManager.xul b/mozilla/xpfe/communicator/resources/content/popupManager.xul
deleted file mode 100644
index 6d8b2b030f1..00000000000
--- a/mozilla/xpfe/communicator/resources/content/popupManager.xul
+++ /dev/null
@@ -1,100 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/xpfe/communicator/resources/locale/en-US/aboutPopups.dtd b/mozilla/xpfe/communicator/resources/locale/en-US/aboutPopups.dtd
deleted file mode 100644
index 17ec1c60c51..00000000000
--- a/mozilla/xpfe/communicator/resources/locale/en-US/aboutPopups.dtd
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/xpfe/communicator/resources/locale/en-US/popupManager.dtd b/mozilla/xpfe/communicator/resources/locale/en-US/popupManager.dtd
deleted file mode 100644
index a09773bd352..00000000000
--- a/mozilla/xpfe/communicator/resources/locale/en-US/popupManager.dtd
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/xpfe/communicator/resources/locale/en-US/popupManager.properties b/mozilla/xpfe/communicator/resources/locale/en-US/popupManager.properties
deleted file mode 100644
index 63f17efb30c..00000000000
--- a/mozilla/xpfe/communicator/resources/locale/en-US/popupManager.properties
+++ /dev/null
@@ -1,2 +0,0 @@
-alertDuplicate=The web site %S already exists in this list.
-alertInvalid=The web site %S is invalid.