[Jslib] Newbie question - jslib in xpcshell on windows

Pete Collins pete at mozdevgroup.com
Fri Apr 21 08:50:46 EDT 2006


>This begs the question - what is different between the
>jslib_current_signed and jslib_current_global_signed versions of jslib?
>
>  
>
>  
>
global is installed in global chrome eg:  firefox/chrome, the other is 
installed in profile chrome ...

If jsLib is installed in global it can be shared among all profiles and 
OS users.

Anyway, the fact that the about page works for you means jsLib is 
properly installed.

 From you XUL file try:

<script type="application/x-javascript">

  jslib.init(this);
  include(jslib_file);
 
  alert(typeof(File));

</script>

The alert should display type object.

--pete

-- 
Pete Collins - Founder, Mozdev Group Inc.
www.mozdevgroup.com
Mozilla Software Development Solutions
tel: 1-719-302-5811
fax: 1-719-302-5813



More information about the Jslib mailing list