[Jslib] Error: File is not defined

Pete Collins pete at mozdevgroup.com
Tue Jun 8 10:54:41 EDT 2004


>>
>> Or are you trying to do this on a remote html page? 
>
>
> yes i'm trying in a remote application and  if i can't can you tell me 
> why?
> is it because mozilla don't give permissions or the jslib that doesn't 
> allow?
>
Simple, for the same reason you can't do it from html. XPConnect can 
only be accessed from the local chrome registry, local files system, or 
w/ signed scripts.

There are ways to get access and the privs you want.

Try looking here for starters:

 http://certs.mozdev.org/ (warning outdated docs)

--pete

-- 
Pete Collins
www.mozdevgroup.com
Mozilla Software Development Solutions 




More information about the Jslib mailing list