Hi!
We at Lookback use Meteor for our production app, but today we discovered something:
Our app would show a white page of death if visiting with Safari in private mode.
The console reads:
[Log] You are running a browser with no localStorage or userData support. Logging in from one tab will not cause another tab to be logged in. (debug.js, line 41)
[Error] QuotaExceededError: DOM Exception 22: An attempt was made to add something to storage that exceeded the quota.
nonreactive (tracker.js, line 527)
_materializeView (blaze.js, line 1921)
render (blaze.js, line 2204)
insert (iron_dynamic-template.js, line 522)
insert (iron_router.js, line 1632)
maybeAutoInsertRouter (iron_router.js, line 1622)
Checkout http://lookback.io in Safari private.
Something fishy going on in Iron Router (we’re running 1.0.7).
That is, Meteor hard crashes if no localStorage
is available, since local storage isn’t available in Safari if in private mode: http://stackoverflow.com/questions/21159301/quotaexceedederror-dom-exception-22-an-attempt-was-made-to-add-something-to-st.
Works fine in Chrome and Firefox. Interesting enough, I cannot reproduce this in a vanilla Meteor app.
Has anyone else had this? This seems rather major.