Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1693)

Unified Diff: sdk/lib/_internal/compiler/implementation/lib/native_helper.dart

Issue 11280074: Fixing geolocation on Firefox and IE. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698