Bug 568691 - Convert existing JS components to use NSGetFactory and add manifest files for them. In a followup we will link the .manifest files together at packaging time. This patch was developed on Linux: Windows and Mac may require additional changes.

This commit is contained in:
Benjamin Smedberg
2010-06-22 12:59:15 -04:00
parent 8b5d6a8488
commit 4eb44d9d34
144 changed files with 593 additions and 1562 deletions

View File

@@ -66,12 +66,8 @@ jsConsoleHandler.prototype = {
helpInfo : " -jsconsole Open the Error console.\n",
classDescription: "jsConsoleHandler",
classID: Components.ID("{2cd0c310-e127-44d0-88fc-4435c9ab4d4b}"),
contractID: "@mozilla.org/toolkit/console-clh;1",
QueryInterface: XPCOMUtils.generateQI([Ci.nsICommandLineHandler]),
_xpcom_categories: [{category: "command-line-handler", entry: "b-jsconsole"}]
};
function NSGetModule(compMgr, fileSpec)
XPCOMUtils.generateModule([jsConsoleHandler]);
var NSGetFactory = XPCOMUtils.generateNSGetFactory([jsConsoleHandler]);