| Index: tests/html/xhr_test.dart
|
| diff --git a/tests/html/xhr_test.dart b/tests/html/xhr_test.dart
|
| index 4758a8a1038551642a34582e8276b701181c3f3d..ae4faea80c514c8cfc5028ba867c06963de73fff 100644
|
| --- a/tests/html/xhr_test.dart
|
| +++ b/tests/html/xhr_test.dart
|
| @@ -8,6 +8,7 @@ import '../../pkg/unittest/lib/html_individual_config.dart';
|
| import 'dart:async';
|
| import 'dart:html';
|
| import 'dart:json' as json;
|
| +import 'dart:typeddata';
|
|
|
| void fail(message) {
|
| guardAsync(() {
|
| @@ -147,9 +148,9 @@ main() {
|
| HttpRequest.request(url, responseType: 'arraybuffer').then(
|
| expectAsync1((xhr) {
|
| expect(xhr.status, equals(200));
|
| - var arrayBuffer = xhr.response;
|
| - expect(arrayBuffer, new isInstanceOf<ArrayBuffer>());
|
| - expect(arrayBuffer, isNotNull);
|
| + var byteBuffer = xhr.response;
|
| + expect(byteBuffer, new isInstanceOf<ByteBuffer>());
|
| + expect(byteBuffer, isNotNull);
|
| }));
|
| }
|
| });
|
|
|