Re: Extending javascript

2006-12-12 Thread Mitchi
rk (not only nsIClassInfo). I promise i'll write a tutorial-for-dumbs as soon as I make it work in c++, containing both javascript and c++ implementations, but I'll need some time. Please, be patient. Regards. timeless ha escrito: > Mitchi wrote: > > i was trying to understand it

Re: Extending javascript

2006-11-27 Thread Mitchi
interface and shows itself as a DOM object to the component manager), but i was trying to understand it line to line. But my problem is with the C++ version, where things aren't as clear as in the sidebar implementation. timeless ha escrito: > Mitchi wrote: > > Sure. As soon as

Re: Extending javascript

2006-11-10 Thread Mitchi
> I hate to ask this, but would you possibly be willing to keep track of the > steps > you need to take to do this? Once that's written down somewhere we can throw > it > up on the wiki and it'll at least be _something_. Sure. As soon as i can solve the problem (I hope I'll solve it), i'll wri

Re: Extending javascript

2006-11-09 Thread Mitchi
Boris Zbarsky ha escrito: > Mitchi wrote: > >> You missed timeless' point. His point was that your component can attach > >> hooks > >> to the global JS object allowing untrusted content to call into your > >> component > >> and only your c

Re: Extending javascript

2006-11-08 Thread Mitchi
Thanks for your answer. Boris Zbarsky ha escrito: > Mitchi wrote: > >> Look at how window.sidebar and window.XMLHttpRequest and friends work. > >> You don't need to require things to be signed. > > > > Sure, but these are part of the DOM, and accessin

Re: Extending javascript

2006-11-06 Thread Mitchi
timeless ha escrito: > Look at how window.sidebar and window.XMLHttpRequest and friends work. > You don't need to require things to be signed. Sure, but these are part of the DOM, and accessing them is not so critical. The problem is that XPCOM is a very powerful way to let developers extend mo

Extending javascript

2006-10-24 Thread Mitchi
Hi. We're developing a CSP that works within a Flash Memory Stick with USB interface with its own OS that offer services through sockets. We've got a pkcs11 that works on firefox, and we wanted to develop a XPCOM component to provide a set of javascript functions to interact with the CSP device,

Re: extended privileges prompt

2006-10-20 Thread Mitchi
Thanks everybody ___ dev-security mailing list dev-security@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-security