Index: tests/html/typed_arrays_3_test.dart |
diff --git a/tests/html/typed_arrays_3_test.dart b/tests/html/typed_arrays_3_test.dart |
index 6dcd67b6bc41b6817f6b60d8fed8276703e368bd..682b09e57d1d84647b30f6381849b193ccd02f45 100644 |
--- a/tests/html/typed_arrays_3_test.dart |
+++ b/tests/html/typed_arrays_3_test.dart |
@@ -10,6 +10,11 @@ import 'dart:html'; |
main() { |
useHtmlConfiguration(); |
+ // Only perform tests if ArrayBuffer is supported. |
+ if (!ArrayBuffer.supported) { |
+ return; |
+ } |
+ |
test('setElementsTest_dynamic', () { |
var a1 = new Int8Array(1024); |