Thanks.. that works for me as we just got to support IE8 onwards.
On Wednesday, November 13, 2013 12:37:21 PM UTC-5, Thomas Broyer wrote:
-- Anyway, if anyone else is copying that code snippet, the correct version should be:
<replace-with class="com.google.gwt.user.client.impl.HistoryImpl">
<when-type-is class="com.google.gwt.user.client.impl.HistoryImpl" />
<when-property-is name="user.agent" value="safari" />
</replace-with>
On Wednesday, November 13, 2013 12:37:21 PM UTC-5, Thomas Broyer wrote:
I have no idea what iOS version matches each Mobile Safari version, but here is the compat table: http://caniuse.com/hashchange I think we could just switch everyone (but ie6) to the onhashchange version "right now", but there's low chances that it'd ship in GWT 2.6, so it wouldn't be worth it, and it's relatively easy to workaround if you want/need it.
On Wednesday, November 13, 2013 6:30:42 PM UTC+1, Samyem Tuladhar wrote:Is it only older Safari? How about iOS version of Safari - upto which version needs the timer based implementation?
On Wednesday, November 13, 2013 12:26:19 PM UTC-5, Thomas Broyer wrote:
On Wednesday, November 13, 2013 5:38:25 PM UTC+1, Samyem Tuladhar wrote:Noticed this old thread and found that the current version of GWT still uses the timer. Is this still necessary for Chrome? Seems to be taking a lot of memory.It's for compatibility with older versions of Safari (we don't support older versions of Chrome, given that it auto-updates). You should be able to easily switch to using onhashchange by adding a rebind rule to your gwt.xml:<replace-with name="com.google.gwt.user.client.impl.HistoryImpl"> <when-type-is name="com.google.gwt.user.client.impl.HistoryImpl" /> <when-property-is name="user.agent" value="safari" /></replace-with>FYI, onhashchange will be used for every browser in GWT 3.0 (where support for IE6/7 will definitely be dropped)
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/groups/opt_out.
No comments:
Post a Comment