shadows wrote:
> I get a JavaScript error... creating the instance and querying the interface
> works alright. But the error occurs when I try to call a function
> (GetTypeFromExtension)...
Well ... grep the *.cpp source files for "::GetTypeFromExtension"
and see what comes up. If you see something like "return
NS_ERROR_NOT_IMPLEMENTED;" then you know whats up.
Try setting breakpoints here ...
http://lxr.mozilla.org/seamonkey/source/netwerk/mime/src/nsMIMEService.cpp#117
... and here ...
http://lxr.mozilla.org/seamonkey/source/uriloader/exthandler/nsExternalHelperAppService.cpp#1392
-rick