Closed defvol closed 10 years ago
Fixes #65
PoC in the image attached:
As you can see, the first two windows show iPhone sessions that reached the localStorage quota (localStore is empty), the staging instance (2nd window, with applied patch) doesn't throw the error.
Code borrowed from https://github.com/Modernizr/Modernizr/blob/master/feature-detects/storage/localstorage.js
Fixes #65
PoC in the image attached:
As you can see, the first two windows show iPhone sessions that reached the localStorage quota (localStore is empty), the staging instance (2nd window, with applied patch) doesn't throw the error.
Code borrowed from https://github.com/Modernizr/Modernizr/blob/master/feature-detects/storage/localstorage.js