-
-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow app/twiddle to access localStorage #649
Comments
Sandboxed iframes cannot access localStorage. |
Give codesandbox a try for this scenario. |
And the iframe must always be sandboxed? |
You don't want to worry about opening an evil twiddle that does something to your Github account, right? |
As long as I had to click an "OK, hack me" button first (or alternatively if it would only allow it for my own twiddles) then I would be OK with that. Ideally, there'd be a way to grant permissions in a more granular way than all or nothing. e.g. |
I was trying to make a repro repo for the ember-localstorage-adapter using ember-twiddle, but it seems that the app is "sandboxed" or otherwise disallowed from accessing
localStorage
. I assume this is related to some kind of security concern. Is there a way to work around it? (e.g. set a flag in the config or something?)https://ember-twiddle.com/d526982f42a741ee1379bbb76c2548c1?openFiles=routes.application.js%2C
The text was updated successfully, but these errors were encountered: