| Index: tools/dom/templates/html/impl/impl_XMLHttpRequest.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_XMLHttpRequest.darttemplate b/tools/dom/templates/html/impl/impl_XMLHttpRequest.darttemplate
|
| index aa47fc8ec4f0666b3a4be5ae36e38a0f7ee89447..7919df9cb26bfb3076192fcfdb7a791c0bf60a3d 100644
|
| --- a/tools/dom/templates/html/impl/impl_XMLHttpRequest.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_XMLHttpRequest.darttemplate
|
| @@ -250,6 +250,13 @@ $if DART2JS
|
| completer.completeError(e);
|
| }, 1));
|
|
|
| + // IE9 RTM - XDomainRequest issued requests may abort if all event handlers
|
| + // not specified
|
| + // http://social.msdn.microsoft.com/Forums/ie/en-US/30ef3add-767c-4436-b8a9-f1ca19b4812e/ie9-rtm-xdomainrequest-issued-requests-may-abort-if-all-event-handlers-not-specified
|
| + JS('', '#.onprogress = {}', xhr);
|
| + JS('', '#.ontimeout = {}', xhr);
|
| + JS('', '#.timeout = Number.MAX_VALUE', xhr);
|
| +
|
| if (sendData != null) {
|
| JS('', '#.send(#)', xhr, sendData);
|
| } else {
|
|
|