summaryrefslogtreecommitdiffstats
path: root/toolkit/obsolete/content/strres.js
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/obsolete/content/strres.js')
-rw-r--r--toolkit/obsolete/content/strres.js28
1 files changed, 0 insertions, 28 deletions
diff --git a/toolkit/obsolete/content/strres.js b/toolkit/obsolete/content/strres.js
deleted file mode 100644
index 928c8f75f..000000000
--- a/toolkit/obsolete/content/strres.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-var strBundleService = null;
-
-function srGetStrBundle(path)
-{
- var strBundle = null;
-
- if (!strBundleService) {
- try {
- strBundleService =
- Components.classes["@mozilla.org/intl/stringbundle;1"].getService();
- strBundleService =
- strBundleService.QueryInterface(Components.interfaces.nsIStringBundleService);
- } catch (ex) {
- dump("\n--** strBundleService failed: " + ex + "\n");
- return null;
- }
- }
-
- strBundle = strBundleService.createBundle(path);
- if (!strBundle) {
- dump("\n--** strBundle createInstance failed **--\n");
- }
- return strBundle;
-}