Subj : Re: Can SpiderMonkey do this? To : netscape.public.mozilla.jseng From : Brendan Eich Date : Fri Nov 21 2003 09:42 am Bryan Ashby wrote: >>With what error report? Are you showing the entire script that fails, >>or are you leaving out a call to SomeThing? >> >> > >[snip] >I then sent this to JS_CompileScript and it failed: > > Failed how? I mentioned "error report" above. If your code, or Sterling's bridge, does not use JS_SetErrorReporter to configure an error-reporting function, you'll miss out on why compilation and execution may fail. The engine does call the error reporter with detailed information about all compile-time errors, so use JS_SetErrorReporter and see what the trouble is here. /be .