Reputation: 9369
Why does Firebug always report the window.localStorage object as empty? If I open the console and type,
>>> window.localStorage.setItem('foo', 'bar')
undefined
>>> window.localStorage
0 items in Storage
Is there some security setting that is preventing me from using localStorage?
Upvotes: 0
Views: 254
Reputation: 2376
Your page is presumably https, which causes Firebug not to be able to read localStorage.
Upvotes: 1