Index: tests/html/typed_arrays_dataview_test.dart |
diff --git a/tests/html/typed_arrays_dataview_test.dart b/tests/html/typed_arrays_dataview_test.dart |
index d73f31263af5de3f7978c2cf0017b135b33b4f25..ebadb1af7dcf6ca8eac17021e184af9fde528126 100644 |
--- a/tests/html/typed_arrays_dataview_test.dart |
+++ b/tests/html/typed_arrays_dataview_test.dart |
@@ -10,6 +10,11 @@ import 'dart:html'; |
main() { |
useHtmlConfiguration(); |
+ // Only perform tests if ArrayBuffer is supported. |
+ if (!ArrayBuffer.supported) { |
+ return; |
+ } |
+ |
test('access8', () { |
var a1 = new Uint8Array.fromList([0,0,3,255,0,0,0,0,0,0]); |