| Index: tests/html/xhr_test.dart
|
| diff --git a/tests/html/xhr_test.dart b/tests/html/xhr_test.dart
|
| index 85d8cc3b0568146bbf2c42b2a1a47c1be2ace3dd..6214581348fa2f52c81539eae33689163c6e5af5 100644
|
| --- a/tests/html/xhr_test.dart
|
| +++ b/tests/html/xhr_test.dart
|
| @@ -142,8 +142,6 @@ main() {
|
| }));
|
| });
|
|
|
| - // TODO(antonm): enable again.
|
| - if (false)
|
| test('XHR.request responseType arraybuffer', () {
|
| if (ArrayBuffer.supported) {
|
| HttpRequest.request(url, responseType: 'arraybuffer').then(
|
| @@ -166,20 +164,17 @@ main() {
|
| });
|
| });
|
|
|
| - // TODO(antonm): enable again.
|
| - /*
|
| - *groupXX('xhr_requestBlob', () {
|
| - * testXX('XHR.request responseType blob', () {
|
| - * if (ArrayBuffer.supported) {
|
| - * return HttpRequest.request(url, responseType: 'blob').then(
|
| - * (xhr) {
|
| - * expect(xhr.status, equals(200));
|
| - * var blob = xhr.response;
|
| - * expect(blob is Blob, isTrue);
|
| - * expect(blob, isNotNull);
|
| - * });
|
| - * }
|
| - * });
|
| - *});
|
| - */
|
| + group('xhr_requestBlob', () {
|
| + test('XHR.request responseType blob', () {
|
| + if (ArrayBuffer.supported) {
|
| + return HttpRequest.request(url, responseType: 'blob').then(
|
| + (xhr) {
|
| + expect(xhr.status, equals(200));
|
| + var blob = xhr.response;
|
| + expect(blob is Blob, isTrue);
|
| + expect(blob, isNotNull);
|
| + });
|
| + }
|
| + });
|
| + });
|
| }
|
|
|