shadows wrote:
> Hi,
> Can anyone tell me if there is a list of Interfaces I can use form
> JavaScript. I tried with "@mozilla.org/oldmime;1" from nsIMIMEService for
> example, but I can't get the GetTypeFromExtension function to work- no idea
> why..
>
> Thanks for any help
> Fabian
Search the IDL files for "scriptable" to find interfaces
accessible from JS. In some cases the interface is
scriptable but a select few methods will be marked
as "noscript".
You might also be running up against a security issue.
Are you running your JavaScript as priviledged chrome?
-rick