Thank you so much, Boris. I was looking on the wrong place. I'll keep working on this. And sorry for bothering you so frequently.
Boris Zbarsky ha escrito: > Mitchi wrote: > > I've seen that you could expose the constructor to JS. Could you > > explain me how? > > I've been reading the code for the XMLHttpRequest module and i couldn't > > figure it out. > > http://lxr.mozilla.org/mozilla1.8.0/source/extensions/xmlextras/build/src/nsXMLExtrasModule.cpp#153 > is what adds the constructor, basically... > > You probably also want something like > http://lxr.mozilla.org/mozilla1.8.0/source/extensions/xmlextras/build/src/nsXMLExtrasModule.cpp#182 > and the classinfo stuff at > http://lxr.mozilla.org/mozilla1.8.0/source/extensions/xmlextras/build/src/nsXMLExtrasModule.cpp#81 > for it to actually be usable, but just that category entry in the "dom class" > category should set up the constructor... Does it not? > > -Boris _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
