In a javascript code, I'am trying to use nsIMIMEService.GetTypeFromFile(nsIFile).
In which Mozilla version? What exception does it throw (if any)?
nsIFile.GetNativeLeafName().
In my case, this returns "undefined", making GetTypeFromFile() fail.
How do you know that it returns undefined? GetNativeLeafName is not accessible from javascript, and |undefined| does not exist in C++...
_______________________________________________ Mozilla-xpcom mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpcom
