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 cc8eef3ef8b55d6e3a7dc6e1dd0938bb9e343971..eb6f2a943d8f0112772b3895649b0cefa602a03f 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, true); |
+ xhr.open(method, url, async: true); |
if (withCredentials != null) { |
xhr.withCredentials = withCredentials; |