Skip to content Skip to sidebar Skip to footer

Did Localstorage Just Break In Firefox 6.0.2 On Mac?

I'm playing around with HTML5. For that purpose I created some small Javascript widget using localStorage amongst other things. Up until yesterday Firefox played nice. Then 6.0.2 c

Solution 1:

You should check the storage preferences, type about:config into the location bar. The relevant preferences are:

  • dom.storage.enabled - should obviously be true
  • dom.storage.default_quota - default value is 5120

Solution 2:

Works fine for me:

HTML5Test screenshot showing success

Solution 3:

I had this problem too, on Firefox 6.0.2 on Windows. Tried on two different PCs. Gets weirder though, as the flags in about:config were set correctly and the html5test.com indicator said it's supported. It definitely wasn't though - I spent 4 hours pulling my hair out at a simple implementation of setItem / getItem which just did not work. Fine in Chrome.

In the end I think I have resolved it though. Are you working locally on the filesystem by any chance? Try working from a proper domain or setting up local DNS for a test domain locally - that has done the trick for me - it now works!

Post a Comment for "Did Localstorage Just Break In Firefox 6.0.2 On Mac?"