Open yoh1496 opened 5 years ago
All of exception thrown while executing are caught and treated as Timeout
.
Is this code really executed correctly returning rhino version ? Or does it just return timeout error response? I guess it just return error immediately, which is intended behavior.
This probably occurs because the script accesses internal java object, org.mozilla.javascript.Context. Personium Engine is designed to be a sandboxed JS runtime, so this should return error response for that reason.
As you point out, the error message should not be "Timeout".
The code below is executed correctly.
And the engine returns
Timeout
, but it doesn't take as long as a few seconds.Is this correct ?