Uncaught SecurityError: Failed to read the 'sessionStorage' property from 'Window'

Hi everyone,

To reproduce:

Uncaught (in promise) SecurityError: Failed to read the ‘sessionStorage’ property from ‘Window’: Access is denied for this document.
at checkBabylonVersionAsync (index.js:172:25)
at index.js:246:1

I had to block storage access otherwise the playground became unusable for large setups.

Best wishes
Joe

I don’t think Playground (and all our other tools) can work without access to local storage…

Locally, I tried to define a try/catch around the access that generates the error you see, which fixes it, but then I get another error later due to another access to local storage.

Maybe we should try to fix this problem. Do you have more information about it?

Oh, wait. I was under the impression that this is just normal behaviour. You know if there is too much data to JSON.stringify. I will report back after some more testing.

1 Like

cc @knervous cause it might be a bug in the local saving perf

1 Like

Will take a look today!

2 Likes