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?
Features are added based on need of the user bases. This is something that has only recently come up. If this is something you may be interested in sponsoring email consulting@freeswitch.org <mailto:consulting@freeswitch.org> or if you have the required skills to patch the C for this a pull request for this sort of feature would almost always be accepted after a standard code review. From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Jason Moran Sent: Monday, June 13, 2016 2:00 PM To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] mod_v8 - still no File object? 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?
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?
@Jason I think I have a local patch not sure if it solves your issue. but if you would like to test and make pull request create a jira I can attach the patch. -- Seven Du Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Tuesday, June 14, 2016 at 3:37 AM, Michael Jerris wrote:
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...
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 (mailto: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?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org (mailto:consulting@freeswitch.org) http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org (mailto:FreeSWITCH-users@lists.freeswitch.org) http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (4)
-
Jason Moran
-
Ken Rice
-
Michael Jerris
-
Seven Du