diff options
author | Matt A. Tobin <email@mattatobin.com> | 2018-06-26 15:13:40 -0400 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2018-06-26 15:13:40 -0400 |
commit | 51279224505ac236d3e4307de1407f889e15c7b0 (patch) | |
tree | b9d50c2c9aac4c3bcd13d0bb9a2c12238c11824f /toolkit/mozapps/extensions/amContentHandler.js | |
parent | 431fe926e002cfcf8996bc17201ee885a3860c8b (diff) | |
download | UXP-51279224505ac236d3e4307de1407f889e15c7b0.tar UXP-51279224505ac236d3e4307de1407f889e15c7b0.tar.gz UXP-51279224505ac236d3e4307de1407f889e15c7b0.tar.lz UXP-51279224505ac236d3e4307de1407f889e15c7b0.tar.xz UXP-51279224505ac236d3e4307de1407f889e15c7b0.zip |
[AllAM] De-duplicate amContentHander.js
Diffstat (limited to 'toolkit/mozapps/extensions/amContentHandler.js')
-rw-r--r-- | toolkit/mozapps/extensions/amContentHandler.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/mozapps/extensions/amContentHandler.js b/toolkit/mozapps/extensions/amContentHandler.js index 708f670b1..8dc4dfecd 100644 --- a/toolkit/mozapps/extensions/amContentHandler.js +++ b/toolkit/mozapps/extensions/amContentHandler.js @@ -28,7 +28,7 @@ amContentHandler.prototype = { * @param aRequest * The nsIRequest dealing with the content */ - handleContent: function XCH_handleContent(aMimetype, aContext, aRequest) { + handleContent: function(aMimetype, aContext, aRequest) { if (aMimetype != XPI_CONTENT_TYPE) throw Cr.NS_ERROR_WONT_HANDLE_CONTENT; @@ -89,7 +89,7 @@ amContentHandler.prototype = { classID: Components.ID("{7beb3ba8-6ec3-41b4-b67c-da89b8518922}"), QueryInterface: XPCOMUtils.generateQI([Ci.nsIContentHandler]), - log : function XCH_log(aMsg) { + log : function(aMsg) { let msg = "amContentHandler.js: " + (aMsg.join ? aMsg.join("") : aMsg); Cc["@mozilla.org/consoleservice;1"].getService(Ci.nsIConsoleService). logStringMessage(msg); |