| Index: sdk/lib/html/dart2js/html_dart2js.dart
|
| diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
|
| index ec0a8078043e7b6d1999c5c7515d757e9e7fbdf2..e4cb604669bde982b13b9d2e366b8f26fe8a963a 100644
|
| --- a/sdk/lib/html/dart2js/html_dart2js.dart
|
| +++ b/sdk/lib/html/dart2js/html_dart2js.dart
|
| @@ -18415,7 +18415,8 @@ class MessageEvent extends Event native "MessageEvent" {
|
| if (source == null) {
|
| source = window;
|
| }
|
| - if (!Device.isIE) {
|
| + if (!Device.isIE) { // TODO: This if check should be removed once IE
|
| + // implements the constructor.
|
| return JS('MessageEvent', 'new MessageEvent(#, {bubbles: #, cancelable: #, data: #, origin: #, lastEventId: #, source: #, ports: #})',
|
| type, canBubble, cancelable, data, origin, lastEventId, source,
|
| messagePorts);
|
|
|