Chromium Code Reviews| Index: tests/html/xhr_test.dart |
| diff --git a/tests/html/xhr_test.dart b/tests/html/xhr_test.dart |
| index d47707f7497bcbce4bef1ec1c7f739a006205bc7..1d532093852bec6622c01f9debb8aa0f81d1f3c8 100644 |
| --- a/tests/html/xhr_test.dart |
| +++ b/tests/html/xhr_test.dart |
| @@ -201,7 +201,7 @@ main() { |
| for (var i = 0; i < data.length; ++i) { |
| data[i] = i & 0xFF; |
| } |
| - xhr.send(data); |
| + xhr.send(new Uint8List.view(data.buffer)); |
| return xhr.onLoad.first.then((_) { |
| expect(progressCalled, isTrue); |