The comment here mentions that localStorage appears to be available in Safari's private browsing mode when it is not.
The same seems to apply for sessionStorage (window['sessionStorage'] is defined) but it is not actually supported. QuotaExceededError: DOM Exception 22 is thrown.
Note that Modernizr correctly reports it as false (Modernizr.sessionstorage).
The comment here mentions that localStorage appears to be available in Safari's private browsing mode when it is not.
The same seems to apply for sessionStorage (
window['sessionStorage']
is defined) but it is not actually supported.QuotaExceededError: DOM Exception 22
is thrown.Note that Modernizr correctly reports it as false (
Modernizr.sessionstorage
).