Trust No Program

HTML5 Local Storage Problem

Please post your problem description here

HTML5 Local Storage Problem

Postby MichaelGaribaldy » Sun Mar 18, 2012 7:03 am

Hi,

I'm just playing around with some javascript, and try to run this script (taken from https://developer.mozilla.org/en/DOM/Storage) :


// Save data to a the current session's store
sessionStorage.setItem("username", "John");

// Access some stored data
alert( "username = " + sessionStorage.getItem("username"));


Surprisingly, the browser (firefox) give an error, but since this code is directly taken from the firefox developer, it should be not the case.

So after trying some effort, I found out that running that script outside of sandboxie gave no error at all.

I've also try this site :

http://dev-test.nemikor.com/web-storage/support-test/

to check Web Storage Support test, and found that if the test performed inside sandboxie, it showed that my firefox browser (I'm using v11) is not support local storage, which is surely wrong.

So I conclude that sandboxie is not compatible with HTML5 local storage features.

Is this correct, and how to fix it ?

Thanks in advance
MichaelGaribaldy
 
Posts: 2
Joined: Sun Mar 18, 2012 6:46 am

Postby tzuk » Sun Mar 18, 2012 5:27 pm

I'm still using Firefox 6.0.2. I tried the dev-test link that you gave, and the progress bar progresses. I stopped it at 2K characters because it seems to work.

I would say the first thing to try is to create a new sandbox with default settings and see if it works better in the new sandbox.
tzuk
tzuk
Site Admin
 
Posts: 16076
Joined: Tue Jun 22, 2004 5:57 pm

Postby MichaelGaribaldy » Mon Mar 19, 2012 6:28 am

I've tried your suggestion, and Yes, it's working flawlessly in a new box.

Thank you so much for your help. :D
MichaelGaribaldy
 
Posts: 2
Joined: Sun Mar 18, 2012 6:46 am


Return to Problem Reports

Who is online

Users browsing this forum: No registered users and 1 guest