Re: eval error in Firefox 1.0.4 , not in 1.0 and IE

Steve Holdener <[email protected]>
Newsgroups gmane.comp.mozilla.devel.jsdebugger
Message-ID <[email protected]>
I asked the same question a few weeks ago.  Someone sent me this link:
 https://bugzilla.mozilla.org/show_bug.cgi?id=293933

In that bug, post #7 includes a patch for a file called venkman-eval.js.  I
have gotten Venkman working with 1.04 by doing the following:

1) Go to the directory containing "venkman.jar".  On my Win XP work
PC, this was a few levels under "%HOME%/Application
Data/Mozilla/Firefox/Profiles".
2) Un-jar this file with "jar -xf venkman.jar"
3) Edit "content/venkman/venkman-eval.js", changing the two lines as
indicated by neil's patch.
4) To be safe, make a backup copy of the original venkman.jar.
5) Recreate the JAR with "jar -0cf venkman.jar content locale skin"
6) Restart Firefox.

That worked, but I should mention that I had problems the next day. 
Specfically, I could not open new windows with the patch applied.  I
backed out the patch and was again able to open windows.  YMMV.


-Steve


On 21 Jun 2005 23:44:51 -0700, [email protected] <[email protected]> wrote:
> Hello,
> 
> i got a javascript error: "function eval must be called directly, and
> not by way of a function of another name."
> in my website (www.cvotemse.be).
> 
> str="a=1;";
> eval(a);
> 
> The problem is the eval function, but in older firefox versions and IE
> it works fine.
> 
> Who can help me?
> 
> thanks
> 
> Pascal
> 
> _______________________________________________
> mozilla-jsdebugger mailing list
> [email protected]
> http://mail.mozilla.org/listinfo/mozilla-jsdebugger
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.