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

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

Issue 10165012: FireFox compatibility fix for WorkerMessageEvent (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 8 years, 8 months 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 | « frog/corejs.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/lib/native_helper.dart
diff --git a/lib/compiler/implementation/lib/native_helper.dart b/lib/compiler/implementation/lib/native_helper.dart
index cdf0d3976eaf3c2469db852743840eb8d98d1bd1..b9adb168ca35434cc1c1fcd9f0476ac1a3e545fa 100644
--- a/lib/compiler/implementation/lib/native_helper.dart
+++ b/lib/compiler/implementation/lib/native_helper.dart
@@ -13,6 +13,7 @@ String typeNameInFirefox(obj) {
if (name == 'Window') return 'DOMWindow';
if (name == 'Document') return 'HTMLDocument';
if (name == 'XMLDocument') return 'Document';
+ if (name == 'WorkerMessageEvent') return 'MessageEvent';
return name;
}
@@ -25,6 +26,9 @@ String typeNameInIE(obj) {
if (JS('bool', '!!#.xmlVersion', obj)) return 'Document';
return 'HTMLDocument';
}
+ if (name == 'HTMLTableDataCellElement') return 'HTMLTableCellElement';
+ if (name == 'HTMLTableHeaderCellElement') return 'HTMLTableCellElement';
+ if (name == 'MSStyleCSSProperties') return 'CSSStyleDeclaration';
return name;
}
« no previous file with comments | « frog/corejs.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698