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 ee92e5b2ecc67ef1cf78f7012be7e3c21ae5a145..98eea0219a45b27e85f188a3ba1c83a761dffd12 100644 |
--- a/sdk/lib/_internal/compiler/implementation/lib/native_helper.dart |
+++ b/sdk/lib/_internal/compiler/implementation/lib/native_helper.dart |
@@ -42,13 +42,14 @@ String typeNameInOpera(obj) { |
String typeNameInFirefox(obj) { |
String name = JS('String', '#', constructorNameFallback(obj)); |
if (name == 'Window') return 'DOMWindow'; |
- if (name == 'XMLDocument') return 'Document'; |
- if (name == 'WorkerMessageEvent') return 'MessageEvent'; |
- if (name == 'DragEvent') return 'MouseEvent'; |
+ if (name == 'CSS2Properties') return 'CSSStyleDeclaration'; |
if (name == 'DataTransfer') return 'Clipboard'; |
+ if (name == 'DragEvent') return 'MouseEvent'; |
+ if (name == 'GeoGeolocation') return 'Geolocation'; |
if (name == 'MouseScrollEvent') return 'WheelEvent'; |
if (name == 'OfflineResourceList') return 'DOMApplicationCache'; |
- if (name == 'GeoGeolocation') return 'Geolocation'; |
+ if (name == 'WorkerMessageEvent') return 'MessageEvent'; |
+ if (name == 'XMLDocument') return 'Document'; |
return name; |
} |