Storage API not yest working?

72 views
Skip to first unread message

zorro

unread,
May 26, 2012, 3:45:55 PM5/26/12
to google-we...@googlegroups.com
Found in GWT Release (e.g. 2.4.0, 2.5.0 RC):
2.4.0


Encountered on OS / Browser (e.g. WinXP, IE8-9, FF7):
Windnows Vista, Chrome 19 latest stable


Detailed description (please be as specific as possible):
Storage.getLocalStorageIfSupported() returns null when called from a GWTTestcase in both devmode and in production mode

Shortest code snippet which demonstrates issue (please indicate where
actual result differs from expected result):

public void gwtSetUp() throws Exception{
super.gwtSetUp();
Storage localStorage = Storage.getLocalStorageIfSupported();

I know status of the Storage API is experimental. Does it work the same for you or is problem in other settings of mine?



Message has been deleted

Thomas Broyer

unread,
May 27, 2012, 5:24:57 AM5/27/12
to google-we...@googlegroups.com


On Saturday, May 26, 2012 11:50:13 PM UTC+2, Joseph Lust wrote:
Zorro,

Please check your description. You said your problem is that the localStorage support flag is set wrong in IE8, IE9, FF7, and Chrome19 according to a GWTTestCase? GWTTestCase runs on a headless browser in HtmlUnit (on a FF 3.5 instance I believe). I don't see how you can assert that you're testing these through GWTTestCase on these browsers.

AFAIK, Google tests GWT in Safari, Firefox and IE in various versions in their CI environment.

Joseph Lust

unread,
May 27, 2012, 9:54:03 AM5/27/12
to google-we...@googlegroups.com
Touche, I must admit I have not used GWTTestCase in this remote manner. It sounds quite powerful and I'll investigate it further.

Joseph
Reply all
Reply to author
Forward
0 new messages