Index: tests/html/typed_arrays_5_test.dart |
diff --git a/tests/html/typed_arrays_5_test.dart b/tests/html/typed_arrays_5_test.dart |
index b1930feda2a1bf06196b7a206d78974ed15eb430..d4da175c0c5a5ad193e3a44cbe03928e739662f9 100644 |
--- a/tests/html/typed_arrays_5_test.dart |
+++ b/tests/html/typed_arrays_5_test.dart |
@@ -10,6 +10,11 @@ import 'dart:html'; |
main() { |
useHtmlConfiguration(); |
+ // Only perform tests if ArrayBuffer is supported. |
+ if (!ArrayBuffer.supported) { |
+ return; |
+ } |
+ |
test('filter_dynamic', () { |
var a = new Float32Array(1024); |
for (int i = 0; i < a.length; i++) { |