| Index: tests/html/xhr_test.dart
|
| diff --git a/tests/html/xhr_test.dart b/tests/html/xhr_test.dart
|
| index 8cba59cd7780d962721dd677e44ac1a41de111cf..1932ccb68e583bfe781257b67d6914a38422f9f1 100644
|
| --- a/tests/html/xhr_test.dart
|
| +++ b/tests/html/xhr_test.dart
|
| @@ -23,4 +23,13 @@ main() {
|
| });
|
| xhr.send();
|
| });
|
| +
|
| + asyncTest('XHR.get', 1, () {
|
| + new XMLHttpRequest.get("NonExistingFile", (xhr) {
|
| + Expect.equals(XMLHttpRequest.DONE, xhr.readyState);
|
| + Expect.equals(0, xhr.status);
|
| + Expect.stringEquals('', xhr.responseText);
|
| + callbackDone();
|
| + });
|
| + });
|
| }
|
|
|