We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS


Components.ID is a constructor that creates native objects that conform to the nsIJSID interface.


var interfaceID = [ new ] Components.ID(iid);


A string of the format '{00000000-0000-0000-0000-000000000000}' giving the interface ID of the interface


Components.ID creates interface IDs for use in implementing methods like QueryInterface, getInterfaces, and other methods that take interface IDs as parameters. Components.classes, Components.classesByID, Components.interfaces provide pretty much all the nsIDs that most JavaScript code would ever need to deal with. The exception to this is the case where a component is written in JavaScript and needs to register itself with the component manager using its own nsID - an ID that is not already registered and thus does not appear in Components.classes.

Document Tags and Contributors

Contributors to this page: SphinxKnight, teoli, trevorh, Mgjbot, Waldo
Last updated by: SphinxKnight,