Am I doing something Stupid?

View: New views
2 Messages — Rating Filter:   Alert me  

Am I doing something Stupid?

by Jeff Dickson-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I modified and installed jslib into firefox 2.0 and cannot get any of
the install verify steps to work.

I then tried to install an un-modified version into firefox 1.5 and
still not of the verify steps worked.

Verify steps

firefox.exe -jslib                <= Does nothing
chrome://jslib/content        <= Opens a blank page
chrome://jsliblive/content   <= Provides a test button which returns,
cannot initialize jslib

I tried to change the manifest file but this just made things worse.

Do I need to insert the line

<script type="application/x-javascript" src="chrome://jslib/content/jslib.js" />

into the jslib.xul and jsliblive.xul file?

I wouldn't think so!

Please, anyone, what am I doing incorrectly!

Thanks,
Jeff



_______________________________________________
Jslib mailing list
Jslib@...
http://mozdev.org/mailman/listinfo/jslib

Re: Am I doing something Stupid?

by Pete Collins :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


>
>Please, anyone, what am I doing incorrectly!
>
>  
>

Actually jsLib initialization is broken on later builds of FIrefox. It
has been for a while now.

  jslib.init(this);  // is broken

So use:

  <script type="application/x-javascript"
src="chrome://jslib/content/jslib.js" />

In your XUL fies ...

commandline interface is also broken:

  -jslib


This bustage is all due to interface changes. (In Firefox the
commandline interface has been entirely changed).

So just try:

  jslib:about

in your browser urlbar to see if jsLib actually works.

Quite honestly it gets tiresome keeping up w/ a continually breaking
platform - Firefox/Mozilla is a never ending moving target.

I will try to get the required fixes in asap.

Regards

--pete

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

_______________________________________________
Jslib mailing list
Jslib@...
http://mozdev.org/mailman/listinfo/jslib
LightInTheBox - Buy quality products at wholesale price!