Closed austinjackson closed 11 years ago
The localStorage check from Modernizr gives a false positive in Safari 5.1.2 when Private Browsing is enabled. I fixed it by using the following in the try block:
if (!!window.localStorage) { localStorage.setItem('testKey', 1); localStorage.removeItem('testKey'); return true; }; return false;
Sorry I didn't submit a change - have only had a github account for 5 minutes.
So this is still an issue ? The ticket is open
Our test does that now, closing.
The localStorage check from Modernizr gives a false positive in Safari 5.1.2 when Private Browsing is enabled. I fixed it by using the following in the try block:
if (!!window.localStorage) { localStorage.setItem('testKey', 1); localStorage.removeItem('testKey'); return true; }; return false;
Sorry I didn't submit a change - have only had a github account for 5 minutes.