Remove ie6 binding in Geolocation.
Change-Id: I7513262b62088513a7fbd3c9216985ee045597a3
diff --git a/user/src/com/google/gwt/geolocation/Geolocation.gwt.xml b/user/src/com/google/gwt/geolocation/Geolocation.gwt.xml
index d80e5c6..d2dd6e7 100644
--- a/user/src/com/google/gwt/geolocation/Geolocation.gwt.xml
+++ b/user/src/com/google/gwt/geolocation/Geolocation.gwt.xml
@@ -18,21 +18,14 @@
<source path="client" />
<public path="public" />
- <!-- Define the Geolocation support property. -->
- <define-property name="geolocationSupport" values="maybe,no" />
-
- <!-- Set the property to maybe -->
- <set-property name="geolocationSupport" value="maybe" />
-
- <!-- Older browsers do not support Geolocation -->
- <set-property name="geolocationSupport" value="no">
- <any>
- <when-property-is name="user.agent" value="ie6" />
- </any>
- </set-property>
-
<replace-with class="com.google.gwt.geolocation.client.Geolocation.GeolocationSupportDetectorNo">
<when-type-is class="com.google.gwt.geolocation.client.Geolocation.GeolocationSupportDetector" />
- <when-property-is name="geolocationSupport" value="no" />
+ <all>
+ <when-property-is name="user.agent" value="ie8"/>
+ <!-- removes IE9 fallback to IE8 -->
+ <none>
+ <when-property-is name="user.agent" value="ie9"/>
+ </none>
+ </all>
</replace-with>
</module>