Index: tests/html/typed_arrays_range_checks_test.dart |
diff --git a/tests/html/typed_arrays_range_checks_test.dart b/tests/html/typed_arrays_range_checks_test.dart |
index bb8ee105650bbae5c6e953f906c126584d110e62..7c1debfa43744a1f70cbc98a5afc21b1cb4b5004 100644 |
--- a/tests/html/typed_arrays_range_checks_test.dart |
+++ b/tests/html/typed_arrays_range_checks_test.dart |
@@ -10,6 +10,11 @@ import 'dart:html'; |
main() { |
useHtmlConfiguration(); |
+ // Only perform tests if ArrayBuffer is supported. |
+ if (!ArrayBuffer.supported) { |
+ return; |
+ } |
+ |
test('outOfRangeAccess_dynamic', () { |
var a = new Uint8Array(1024); |