You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 11, 2019. It is now read-only.
Now what happens is that within my terminalObj.write is e.g. a slice on an array of numbers that is a property of my terminalObj. Right at the slice (I've narrowed it down to just the slice) the sandbox kicks in and claims: "Error: You cannot set properties on a sandboxed object"
Here is a screenshot I took from apply right before the set function will throw the top exception with the error message above:
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm trying to provide a write function to my sandbox.
The write command in itself is pretty complex and written in TypeScript, so I won't post it.
The sandboxed code looks like this:
and I run it like this:
Now what happens is that within my
terminalObj.write
is e.g. a slice on an array of numbers that is a property of my terminalObj. Right at the slice (I've narrowed it down to just the slice) the sandbox kicks in and claims: "Error: You cannot set properties on a sandboxed object"Here is a screenshot I took from
![image](https://cloud.githubusercontent.com/assets/7047377/24476672/8a721620-14d4-11e7-833e-5ebcf7b64f0d.png)
apply
right before theset
function will throw the top exception with the error message above:The text was updated successfully, but these errors were encountered: