Lawrence I. Siden
Lawrence I. Siden

Reputation: 9369

Firebug can't set local storage

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

Answers (1)

Simon Lindholm
Simon Lindholm

Reputation: 2376

Your page is presumably https, which causes Firebug not to be able to read localStorage.

Upvotes: 1

Related Questions