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

Unified Diff: frog/corejs.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 | « no previous file | lib/compiler/implementation/lib/native_helper.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/corejs.dart
diff --git a/frog/corejs.dart b/frog/corejs.dart
index 464f0f73ab87b540309119eb0cd190bf704f1190..c82ec8b267ad038724846cecc9074a2b594851ea 100644
--- a/frog/corejs.dart
+++ b/frog/corejs.dart
@@ -434,6 +434,7 @@ $defProp(Object.prototype, '$typeNameOf', (function() {
if (name == 'Window') return 'DOMWindow';
if (name == 'Document') return 'HTMLDocument';
if (name == 'XMLDocument') return 'Document';
+ if (name == 'WorkerMessageEvent') return 'MessageEvent';
return name;
}
@@ -444,6 +445,9 @@ $defProp(Object.prototype, '$typeNameOf', (function() {
// xmlVersion property, which is the empty string on HTML documents.
if (name == 'Document' && this.xmlVersion) return 'Document';
if (name == '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 | « no previous file | lib/compiler/implementation/lib/native_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698