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 eb6f2a943d8f0112772b3895649b0cefa602a03f..cc8eef3ef8b55d6e3a7dc6e1dd0938bb9e343971 100644 |
--- a/tools/dom/templates/html/impl/impl_XMLHttpRequest.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_XMLHttpRequest.darttemplate |
@@ -85,7 +85,7 @@ $(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
if (method == null) { |
method = 'GET'; |
} |
- xhr.open(method, url, async: true); |
+ xhr.open(method, url, true); |
if (withCredentials != null) { |
xhr.withCredentials = withCredentials; |