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
Got the following error while interacting with the sandbox. I will try to inspect the actual localStorage content and report back. According to the spec, localStorage should be 5Mb which seems plenty enough for the sandbox history!
Maybe consider compress content before adding to the storage?
I'm on Chrome. I don't know if the quota is set for the whole browser or on a key basis. Hence, if that's for the whole browser, data could come from any webapp. Otherwise, I don't recall typing a 5Mb full of javascript:-)
On a side note, maybe you could use the sessionStorage instead? I understand the idea of using a persistent localStorage but the sandbox might end up adding stuff forever. Another options would be to have a rolling history buffer like in a bash or something, with a configurable size. In fact, a flag could also be set during init to either use session or local storage (i.e. {persistentHistory: false})
Got the following error while interacting with the sandbox. I will try to inspect the actual localStorage content and report back. According to the spec, localStorage should be 5Mb which seems plenty enough for the sandbox history!
Maybe consider compress content before adding to the storage?
The text was updated successfully, but these errors were encountered: