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

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

Issue 11417143: Tolerate FF17's CSS2Properties (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 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;
}
« 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