Search completed in 1.24 seconds.
1 results for "how_to_build_an_xpcom_component_in_javascript":
Creating a Login Manager storage module
Mozilla › Creating a login manager storage module
Mac OS X keychain (bug 106400) and Gnome Keyring Manager (bug 309807). You should start with the existing code if you want to implement that in your extension. To see some debugging output in the console set signon.debug to true using about:config. Sample JavaScript implementation The following code snippet is a JavaScript component that implements a dummy nsILoginManagerStorage interface. See How_to_Build_an_XPCOM_Component_in_Javascript for more details about JavaScript components. const Cc = Components.classes; const Ci = Components.interfaces; Components.utils.import("resource://gre/modules/XPCOMUtils.jsm"); function SampleLoginManagerStorage() {} SampleLoginManagerStorage.prototype = { classDescription: "Sample nsILoginManagerStorage implementation", contractID: "@example.com/login-manager/storage/sample;1", classID:...