How to instantiate nsISimpleEnumerator in JS?
Gabriel Baines <[email protected]> Sun, 03 Nov 2002 15:05:42 +0100
| Newsgroups | gmane.comp.mozilla.devel.xpcom |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
I would like to call enumerateModules() method of nsINetModuleMgr from JS code. However, enumerateModules() expects an instance of nsISimpleEnumerator as the second parameter. How can I get/create an instance of nsISimpleEnumerator that I could safely pass to nsINetModuleMgr.enumerateModules() ? Thanks. == Gabriel