trifleJS
trifleJS copied to clipboard
StackOverflowException returning self-referenced objects to the console.
STEPS TO REPRODUCE:
- Run TrifleJS.exe on REPL (no arguments)
- Enter
trifle.trifle = trifle
- StackOverflowException occurs
MORE INFO:
This issue actually occurs in the Noesis.Javascript.dll dependency, the parameter conversion from V8 to C# does not take infinite recursions into account.
POSSIBLE FIX:
Recurse over objects inside V8 and remove self-references before passing back to C#.