Browser Quirks

localStorage is supported in almost all browsers, you can find the full list here. But some browsers have some quirks like some versions of iOS store localStorage data in a location that may occasionally be cleared out by the OS.

IE11 does not properly synchronize localStorage between different windows

Browsers also set limits (usually 10 Mb) on how much data you can store in localStorage.