Can the delphi-javascript library (js15/spidermonkey) easily be updated to mozilla's latest javascript engine version?

255 views Asked by At

I currently use an old version of the delphi-javascript library in my applications which interfaces js32.dll. But I bumped into an annoying bug. So I wonder if it is hard to update the source of the delphi-javascript spidermonkey library to the latest version of the mozilla's spidermonkey javascript engine. Has the interface changed much since the code on https://code.google.com/archive/p/delphi-javascript/source/default/source. I found some documentation on https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey but I don't know how to start.

1

There are 1 answers

1
Arnaud Bouchez On

You may try https://github.com/synopse/mORMot/tree/master/SyNode which interfaces SpiderMonkey52 and includes the compiled dll libraries.

An updated version to access latest SpiderMonkey is available in the https://github.com/synopse/mORMot/tree/feature/synodeCleanup branch of mORMot. But it is for FPC only currently.