| 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 642ce567604ebafa1e992759cb61c1cba8019e83..533265e3caad727afe24d904b59b191f3f914ff9 100644
|
| --- a/tools/dom/templates/html/impl/impl_XMLHttpRequest.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_XMLHttpRequest.darttemplate
|
| @@ -160,9 +160,7 @@ $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
| }
|
| });
|
|
|
| - xhr.onError.listen((e) {
|
| - completer.completeError(e);
|
| - });
|
| + xhr.onError.listen(completer.completeError);
|
|
|
| if (sendData != null) {
|
| xhr.send(sendData);
|
|
|