Store: Investigate IE 9's web storage behavior #10

Closed
scottgonzalez opened this Issue May 20, 2011 · 1 comment

Projects

None yet

1 participant

@scottgonzalez
Contributor

IE 9 appears to have unlimited localStorage and sessionStorage support when using direct access via dot or bracket notation. However, there is a very real limit of 5 MB when using .setItem(). Figure out whether there really is unlimited storage with direct access and switch to using .setItem() for proper error handling if not (this may be a good idea regardless). Also, check if userData is really unlimited.

@scottgonzalez
Contributor

Data stored over the limit using bracket notation just disappears: http://dev-test.nemikor.com/web-storage/bracket-limit/

Numeric keys with bracket notation are all kinds of messed up: http://dev-test.nemikor.com/web-storage/keys

@scottgonzalez scottgonzalez added a commit that closed this issue May 31, 2011
@scottgonzalez scottgonzalez Store: Always use .get/set/removeItem on Storage Interface. Fixes #10
…- Store: Investigate IE 9's web storage behavior.
fe38ea5
@scottgonzalez scottgonzalez removed their assignment Mar 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment