Index: lib/compiler/implementation/lib/native_helper.dart |
=================================================================== |
--- lib/compiler/implementation/lib/native_helper.dart (revision 11534) |
+++ lib/compiler/implementation/lib/native_helper.dart (working copy) |
@@ -7,6 +7,7 @@ |
if (name == 'Window') return 'DOMWindow'; |
if (name == 'CanvasPixelArray') return 'Uint8ClampedArray'; |
if (name == 'WebKitMutationObserver') return 'MutationObserver'; |
+ if (name == 'FormData') return 'DOMFormData'; |
return name; |
} |
@@ -16,12 +17,14 @@ |
if (name == 'Window') return 'DOMWindow'; |
if (name == 'CanvasPixelArray') return 'Uint8ClampedArray'; |
if (name == 'WebKitMutationObserver') return 'MutationObserver'; |
+ if (name == 'FormData') return 'DOMFormData'; |
return name; |
} |
String typeNameInOpera(obj) { |
String name = JS('String', '#', constructorNameFallback(obj)); |
if (name == 'Window') return 'DOMWindow'; |
+ if (name == 'FormData') return 'DOMFormData'; |
return name; |
} |
@@ -33,6 +36,7 @@ |
if (name == 'WorkerMessageEvent') return 'MessageEvent'; |
if (name == 'DragEvent') return 'MouseEvent'; |
if (name == 'DataTransfer') return 'Clipboard'; |
+ if (name == 'FormData') return 'DOMFormData'; |
return name; |
} |
@@ -55,6 +59,7 @@ |
if (name == 'HTMLPhraseElement') return 'HTMLElement'; |
if (name == 'MSStyleCSSProperties') return 'CSSStyleDeclaration'; |
if (name == 'MouseWheelEvent') return 'WheelEvent'; |
+ if (name == 'FormData') return 'DOMFormData'; |
return name; |
} |