diff options
Diffstat (limited to 'www/firefox-esr/files/patch-toolkit_mozapps_extensions_src_nsExtensionManager.js.in')
-rw-r--r-- | www/firefox-esr/files/patch-toolkit_mozapps_extensions_src_nsExtensionManager.js.in | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/www/firefox-esr/files/patch-toolkit_mozapps_extensions_src_nsExtensionManager.js.in b/www/firefox-esr/files/patch-toolkit_mozapps_extensions_src_nsExtensionManager.js.in deleted file mode 100644 index feffd2c6344f..000000000000 --- a/www/firefox-esr/files/patch-toolkit_mozapps_extensions_src_nsExtensionManager.js.in +++ /dev/null @@ -1,17 +0,0 @@ ---- toolkit/mozapps/extensions/src/nsExtensionManager.js.in.orig Tue Jul 27 15:35:12 2004 -+++ toolkit/mozapps/extensions/src/nsExtensionManager.js.in Tue Jul 27 15:36:02 2004 -@@ -1568,9 +1568,14 @@ - - _checkForGlobalInstalls: function (aPath, aItemType) - { -+ var fPrefix = "file://"; - // First see if the path supplied is a file path - var file = Components.classes["@mozilla.org/file/local;1"] - .createInstance(Components.interfaces.nsILocalFile); -+ if (aPath.substr(0, fPrefix.length) == fPrefix) { -+ // Strip out the file:// prefix if it exists -+ aPath = aPath.substr(fPrefix.length, aPath.length); -+ } - try { - file.initWithPath(aPath); - } |