The Mac is getting stuck within Jmol, before the conclusion of an Eval, not in the JavaScript. I'll test more.

Thanks, Tim -- I at least have console.log. I can load that into Firefox and just click on reload to redisplay when needed.

http://fusion.stolaf.edu/chemistry/jmol/xtalx/test.htm

TEST 1: applet.scriptWait() employs a new Eval(this) each time.
RESULT 1: crashing continues -- note, it is not the full Mac, just Safari crashing. I still have access to console.log via Firefox. Especially apparent during file load.

TEST 2: change Jmol.js .script() call to .scriptWait().
RESULT 2: Safari does not crash with any sequence of radio button presses. Rapid succession of moveto requests works perfectly, with one move beginning right after previous move completes. File loading generally successful. Still hangs on occasional file load and on atom picking.

TEST 3: remove all statusText and statusTextbox events. No callbacks. All status reports are "by demand" from the JavaScript via the return string in scriptWait() and getProperty().

RESULT 3: I CAN'T GET SAFARI TO CRASH. Can you?


Bob


Miguel wrote:

what other eval() is being executed that you are thinking of?


I am not sure exactly what you are doing, so I should admit that I am just
speculating.

If you are setting any JavaScript or HTML data structures from Java, then
it seems to me that there is some kind of JavaScript eval() that is being
done ... either explicitly or implicitly within LiveConnect.

I am not in a position where I can focus on this and assist at this time
... perhaps I should have stayed out of the discussion.


Miguel



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers

--

Robert M. Hanson, [EMAIL PROTECTED], 507-646-3107
Professor of Chemistry, St. Olaf College
1520 St. Olaf Ave., Northfield, MN 55057
mailto:[EMAIL PROTECTED]
http://www.stolaf.edu/people/hansonr

"Imagination is more important than knowledge."  - Albert Einstein


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to