https://bugzilla.wikimedia.org/show_bug.cgi?id=65364

--- Comment #6 from Matthew Flaschen <mflasc...@wikimedia.org> ---
> I think this is what the error means exactly.  I.E. you can still call the 
> localStorage API, but it is no longer *persistent* storage.

I was wrong before.  The browser did not have this behavior of letting
localStorage work, but non-persistently.  Rather, this is part of jStorage's
behavior.  It first writes it to in-memory (as Ori said), then attempts to save
but suppresses any error
(https://git.wikimedia.org/blob/mediawiki%2Fcore.git/ee5b96fe5df3bfdbc811259230d2f3da7e4ff1b6/resources%2Flib%2Fjquery%2Fjquery.jStorage.js#L444).

Related, if it can't save its test on initialization, localStorageReallyWorks
will be false and it will fall back.  On a modern browser (i.e. no
globalStorage or userData), this means it will be purely in-memory
($.jStorage.currentBackend() will be false)

Disclaimer: I was using a lower version of Firefox before (I actually upgraded
to Firefox 29.0.1 so I could get it to stop on caught exceptions), but I'm
pretty certain it was jStorage catching the error in both cases.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to