Chromium Code Reviews| Index: tests/html/xhr_test.dart |
| diff --git a/tests/html/xhr_test.dart b/tests/html/xhr_test.dart |
| index ef1d94eecec14a8ff251721945c37a85f547e4c3..d590acec6f227117f48a4e5c8f6bc69f4c84529a 100644 |
| --- a/tests/html/xhr_test.dart |
| +++ b/tests/html/xhr_test.dart |
| @@ -126,9 +126,9 @@ main() { |
| test('XHR.request responseType', () { |
| if (ArrayBuffer.supported) { |
| - HttpRequest.request(url, responseType: 'ArrayBuffer').then( |
| + HttpRequest.request(url, responseType: 'arraybuffer').then( |
|
Emily Fortuna
2013/02/01 00:14:47
lgtm. can you add a comment on the appropriate fun
|
| expectAsync1((xhr) { |
| - validate200Response(xhr); |
| + expect(xhr.status, equals(200)); |
| var arrayBuffer = xhr.response; |
| expect(arrayBuffer, new isInstanceOf<ArrayBuffer>()); |
| expect(arrayBuffer, isNotNull); |