Subj : Re: API.File method execution problem using spidermonkey To : Matthew Mondor From : Brendan Eich Date : Tue Feb 01 2005 02:10 pm Matthew Mondor wrote: > The API.File constructor can be used properly to create a new File > object, and the new objects properties are working fine. However, the > object's methods refuse to work (currently a simple test() method > requireing no arguments). Whenever an attempt is made to call that > method, the script execution is immediately interrupted, without an > exception being catchable by the script. That means your code is returning false somewhere without first reporting an error or setting a pending exception. > I used jsfile.c as an example a bit to try to see what could be wrong, Don't use jsfile.c as an example of anything. We're contemplating cvs removing it. It's not well-written from a number of angles. You may have copied a bug from it, at least a bug that bites your mutation of its code. /be .