Chromium Code Reviews| 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 38789f546a72df7f466e786acf17852e88e945d2..c9403bdd111184f96261cc17062d17f633588252 100644 |
| --- a/lib/compiler/implementation/lib/native_helper.dart |
| +++ b/lib/compiler/implementation/lib/native_helper.dart |
| @@ -38,6 +38,7 @@ String typeNameInFirefox(obj) { |
| if (name == 'DataTransfer') return 'Clipboard'; |
| if (name == 'FormData') return 'DOMFormData'; |
| if (name == 'MouseScrollEvent') return 'WheelEvent'; |
| + if (name == 'OfflineResourceList') return 'DOMApplicationCache'; |
| return name; |
| } |
| @@ -50,6 +51,7 @@ String typeNameInIE(obj) { |
| if (JS('bool', '!!#.xmlVersion', obj)) return 'Document'; |
| return 'HTMLDocument'; |
| } |
| + if (name == 'ApplicationCache') return 'DOMApplicationCache'; |
|
vsm
2012/10/03 22:52:06
We should make ApplicationCache the real name. In
blois
2012/10/03 23:05:23
Yes, we have a number of those, would be good to d
|
| if (name == 'CanvasPixelArray') return 'Uint8ClampedArray'; |
| if (name == 'DataTransfer') return 'Clipboard'; |
| if (name == 'DragEvent') return 'MouseEvent'; |