1

I believe the maximum storage is domain based...i.e. each domain gets x amount of data.

But what about when a user switches between browsers?

Do they use two completely separate spaces and similarly separate maximum data amounts.

Secondly,

is localStorage.a in Browser 1 different from localStorage.a in Browser 2?

Similar SO

What is the max size of localStorage values?

HTML5 localStorage size limit for subdomains

Reference

W3

Mozilla

Wikipedia

Community
  • 1
  • 1

2 Answers2

3

Put simply, yes they do. It is browser specific/domain specific storage.

Joel Fischer
  • 6,521
  • 5
  • 35
  • 46
3

Browsers vendors won't implement shared localStorage. Each browser that supports localStorage will have an independent instance of however it has been implemented.

Matthew Abbott
  • 60,571
  • 9
  • 104
  • 129