Not really. You have to write your session as an XPCOM component (you can write these in JavaScript, look at components/*.js for ideas)
My session is already an nsIAutoCompleteSession (and in JS), I think that's what you're saying, so step 1 OK.
and register it using the contract id you chose above.
It's this bit I can't find....
*** later ***
But I think this is a good start :-) http://lxr.mozilla.org/aviarybranch/source/xpcom/sample/nsSample.js
I guess I'm looking at the (nsISupports?).registerSelf and nsIComponentRegistrar.registerFactoryLocation
I'll have another look at it tonight. _______________________________________________ Mozilla-xpcom mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpcom
