| 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 43e02e82c19148c78a05859ba4c285c7f16cf721..566fb58d7021b588e69322e1b52b68c739c929d6 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/lib/native_helper.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/lib/native_helper.dart
|
| @@ -41,6 +41,7 @@ String typeNameInOpera(obj) {
|
| String typeNameInFirefox(obj) {
|
| String name = JS('String', '#', constructorNameFallback(obj));
|
| if (name == 'Window') return 'DOMWindow';
|
| + if (name == 'BeforeUnloadEvent') return 'Event';
|
| if (name == 'CSS2Properties') return 'CSSStyleDeclaration';
|
| if (name == 'DataTransfer') return 'Clipboard';
|
| if (name == 'DragEvent') return 'MouseEvent';
|
| @@ -62,6 +63,7 @@ String typeNameInIE(obj) {
|
| return 'HTMLDocument';
|
| }
|
| if (name == 'ApplicationCache') return 'DOMApplicationCache';
|
| + if (name == 'BeforeUnloadEvent') return 'Event';
|
| if (name == 'CanvasPixelArray') return 'Uint8ClampedArray';
|
| if (name == 'DataTransfer') return 'Clipboard';
|
| if (name == 'DragEvent') return 'MouseEvent';
|
|
|