Double check the code in mod_v8/src dir, there are File and FileIO and XML objects... see what they are missing.. the docs are: https://freeswitch.org/confluence/display/FREESWITCH/JavaScript+API+Referenc... <https://freeswitch.org/confluence/display/FREESWITCH/JavaScript+API+Reference> not sure what all is missing in the docs, I suspect those are incomplete.
On Jun 13, 2016, at 2:59 PM, Jason Moran <jmoran@secureachsystems.com> wrote:
I’ve been running old FS w/Spidermonkey, finally upgraded and testing in mod_v8. My javascript returned this:
Exception: ReferenceError: File is not defined (near: "var fd = new File(myPath + myFileName")
I read about the lack of XML and File back in 2015, but I assumed it has been included since spidermonkey no longer is an option. No? Other options?