Jakobo/inject — Issue #14: localStorage shim for IE 6/7
Author: Jakobo
Created: 2011-11-15 21:23:32+00:00
State: open
Labels: Feature Request

lscache does not have support for IE6/7 by default. It does, however, look for globalContext.localStorage. It's possible to emulate a localStorage interface using userdata storage. @mattpowell did some initial research on the issue. Here's the known limitations:

* userdata is restricted to the same path. To solve this for inject(), we would need a file such as relay.html or a static image file that can be referenced. We can then use an iframe for storing the userdata.
* Storage is limited at 128kb max
* On overflowing storage, an error w/ error text (not a constant string... sigh) is thrown. lscache can be modified to check for this exception when it does its cache-overflow checks