Reference error in 1.12.0 #2768
Replies: 2 comments
-
|
Thanks for reporting. We’ll put our heads together and try to think of a way. I would not rule out the possibility, but considerable thought has been put into this already. This problem will of course not exist for a native implementation of Hardened JavaScript like Moddable’s XS and we do attempt to provide a high-fidelity emulation when possible. The mechanism we use for confining evaluated code is a waterfall of |
Beta Was this translation helpful? Give feedback.
-
|
We discussed this briefly and believe we can offer an option to choose which fidelity compromise is tolerable on a per-compartment basis: When
Currently, and by default going forward
With an option threaded through an individual
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone, based on the release notes (from version 1.12.0) it seems that endo-ses doesn't throw a ReferenceError anymore when trying to access variables that don't exist but instead returns undefined. This causes a problem for us as we can't know if the undefined was returned because of an error or if the value was actually undefined.
Would it be possible to have this somehow configurable to throw a different Error which doesn't have security vulnerabilities.
Beta Was this translation helpful? Give feedback.
All reactions