Subj : Update for Delphi/SpiderMonkey bridge To : netscape.public.mozilla.jseng From : Sterling Bates Date : Tue Aug 17 2004 02:41 pm For those lurking here, there's an update to the bridge code for Delphi, and it needs some testers to help work any bugs out. The two new features are: 1. Debug window. The debug object can be created internally by a TJSEngine instance, or you can pass your own object in. The window includes an error report, stack trace, code view, and hierarchy of all variables and objects in the JS runtime. 2. Function results. Prior to this release function results were simply ignored. You can now specify a) the number of parameters for a function, and b) the result type (if any). The native Delphi result types allowed are String, Double/float, Integer, Boolean and TObject. (TObject instances must be visible to the TJSEngine instance via TJSObject.AddNativeObject to be properly returned from functions.) The code is available from CVS at http://delphi.mozdev.org. Any help working through bugs (or just reporting them) is really appreciated! Take care, Sterling .