prawnsalad/KiwiIRC

Embedded client fails when localStorage unavailable

Closed this issue · 1 comments

In Chrome, when the user has disabled third party cookies, localStorage is unavailable to cross-domain javascript in an iframe. KiwiIRC (at least this version) fails to load when localStorage accesses cause exceptions. Wrapping all the localStorage mentions in client/src/models/datastore.js (attached) works, but is ignorant of any context or consequences of failure.
datastore.js.txt

This version of kiwi isn't supported anymore. All development goes towards https://github.com/kiwiirc/kiwiirc