Index: client/tests/client/dom/XHRTest.dart |
diff --git a/client/tests/client/dom/XHRTest.dart b/client/tests/client/dom/XHRTest.dart |
deleted file mode 100644 |
index 758dfb6d3f57539b5d8012229de700413e6f7729..0000000000000000000000000000000000000000 |
--- a/client/tests/client/dom/XHRTest.dart |
+++ /dev/null |
@@ -1,22 +0,0 @@ |
-#library('XHRTest'); |
-#import('../../../../lib/unittest/unittest.dart'); |
-#import('../../../../lib/unittest/dom_config.dart'); |
-#import('dart:dom'); |
- |
-main() { |
- useDomConfiguration(); |
- asyncTest('XHR', 1, () { |
- XMLHttpRequest xhr = new XMLHttpRequest(); |
- // TODO: figure out how to place a resource file with fixed name alongside |
- // the .html file. |
- xhr.open('GET', 'MISSING-FILE', true); |
- xhr.addEventListener('readystatechange', (event) { |
- if (xhr.readyState == 4) { |
- Expect.equals(0, xhr.status); |
- Expect.stringEquals('', xhr.responseText); |
- callbackDone(); |
- } |
- }, true); |
- xhr.send(); |
- }); |
-} |