Index: sdk/lib/_internal/compiler/implementation/lib/native_helper.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/lib/native_helper.dart b/sdk/lib/_internal/compiler/implementation/lib/native_helper.dart |
index f6ee855e2e17ed342cfc3880bc00b63d1949c750..ee92e5b2ecc67ef1cf78f7012be7e3c21ae5a145 100644 |
--- a/sdk/lib/_internal/compiler/implementation/lib/native_helper.dart |
+++ b/sdk/lib/_internal/compiler/implementation/lib/native_helper.dart |
@@ -48,6 +48,7 @@ String typeNameInFirefox(obj) { |
if (name == 'DataTransfer') return 'Clipboard'; |
if (name == 'MouseScrollEvent') return 'WheelEvent'; |
if (name == 'OfflineResourceList') return 'DOMApplicationCache'; |
+ if (name == 'GeoGeolocation') return 'Geolocation'; |
return name; |
} |
@@ -71,6 +72,7 @@ String typeNameInIE(obj) { |
if (name == 'HTMLPhraseElement') return 'HTMLElement'; |
if (name == 'MSStyleCSSProperties') return 'CSSStyleDeclaration'; |
if (name == 'MouseWheelEvent') return 'WheelEvent'; |
+ if (name == 'Position') return 'Geoposition'; |
return name; |
} |