2

In Firefox, after I perform

localStorage.clear() my localStorage comes back when I refresh the page.

The scenario is:

1) window opens a popup

2) in this popup, I open the dev tools and type in localStorage.clear();->local Storage is cleaned !

3) I refresh the window popup page and.. my localStorage is BACK !

(If I close the popup, then localStroage is cleared)

Everything works fine in Chrome.

How can I clear localStorage in Firefox ?

I also tried : localStoparge.removeItem("myItem") and SAME !

rogerdeuce
  • 1,471
  • 6
  • 31
  • 48
yarek
  • 11,278
  • 30
  • 120
  • 219

0 Answers0