knadh / localStorageDB

A simple database layer for localStorage and sessionStorage for creating structured data in the form of databases and tables
http://nadh.in/code/localstoragedb
814 stars 128 forks source link

dbName.IsNew() always returns true in Firefox 3.6 #6

Closed collincouch closed 12 years ago

collincouch commented 12 years ago

I'm trying your example in Firefox 3.6 and the dbName.IsNew() method always returns true. It works as expected in Safari.

collincouch commented 12 years ago

It turns out this is a bug in Firefox that doesn't perists local storage when accessing via file://.... This will be fixed in in Firefox 8. I downloaded the beta version of 8 and it works as expected now.

https://bugzilla.mozilla.org/show_bug.cgi?id=507361

knadh commented 12 years ago

That is indeed the case!