hugoloza / gwt-mobile-webkit

Automatically exported from code.google.com/p/gwt-mobile-webkit
2 stars 0 forks source link

IE6,7 Storage Support #28

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Attached is a patch that will allow the gwt-mobile-webkit storage library to 
work with IE6 and 7. Those browsers do not have localStorage or sessionStorage 
capabilities but they do have an early implementation of localStorage using the 
userData behavior. This patch allows developers to continue to the storage 
engine without reverting to cookies or developing an independent solution to 
deal with these ancient browsers.

http://msdn.microsoft.com/en-us/library/ms531424%28VS.85%29.aspx

Original issue reported on code.google.com by j.casey....@gmail.com on 10 Dec 2010 at 12:25

Attachments:

GoogleCodeExporter commented 9 years ago
This is an extremely cool patch!

I'll apply the patch this weekend so it will end up in SVN.

Thanks man!

Original comment by bguijt on 10 Dec 2010 at 1:49

GoogleCodeExporter commented 9 years ago
Working on the patch.

I'd like to have a workaround for event handling, just like in StorageImplIE8.
Is the JSON code necessary?

Original comment by bguijt on 13 Dec 2010 at 1:22

GoogleCodeExporter commented 9 years ago
Yes the JSON is necessary to store and retrieve the key index. Without that 
index we lose the count and key methods. I don't have much experience with 
storage event handling so I was hoping that you might see a solution for it. 
Let me know if you need me to do anything.

Original comment by j.casey....@gmail.com on 13 Dec 2010 at 1:29

GoogleCodeExporter commented 9 years ago
I'll add the event handling code.

Thanks!

Original comment by bguijt on 13 Dec 2010 at 1:41