Friday, May 2, 2014

Re: nocache.js Throws SecurityError When Local Data is Disabled (Storage Detection is Broken)

gwtproject.org needs to be recompiled with a newer GWT.
2.6.0 has the issue but it should be fixed in 2.6.1-rc1 and rc2: https://code.google.com/p/google-web-toolkit/issues/detail?id=8587
And gwtproject.org is still using 2.6.0: https://gwt.googlesource.com/gwt-site-webapp/+/1b16b454a110292a57b545f17feb71fc4d902ec6/pom.xml

On Friday, May 2, 2014 4:40:48 PM UTC+2, David wrote:
When Chrome (34.0.1847.131) is configured to "Block sites from setting any data", it throws a SecurityError whenever localStorage or sessionStorage is accessed. As a result, apps with dev redirect enabled fail to load.
Try it yourself. Settings > Show advanced settings... > Privacy > Content settings... > Block sites from setting any data. Then open the inspector and load http://www.gwtproject.org/.
Based on the comments it looks like storage detection was tested with this setting, so did Chrome's behavior change? I haven't tried it with other browsers...

Thanks,

David

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment