Index: tests/html/xhr_cross_origin_test.dart |
diff --git a/tests/html/xhr_cross_origin_test.dart b/tests/html/xhr_cross_origin_test.dart |
index 5f22ee77ca10ed8cdccf5442d397a650faf0a5e5..d4dbecdc13a83f8a0165343f08a1bb31f32a238d 100644 |
--- a/tests/html/xhr_cross_origin_test.dart |
+++ b/tests/html/xhr_cross_origin_test.dart |
@@ -33,7 +33,7 @@ main() { |
var url = "http://localhost:$port/" |
"root_dart/tests/html/xhr_cross_origin_data.txt"; |
var xhr = new HttpRequest(); |
- xhr.open('GET', url, true); |
+ xhr.open('GET', url, async: true); |
var validate = expectAsync1((data) { |
expect(data, contains('feed')); |
expect(data['feed'], contains('entry')); |