Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(339)

Unified Diff: tests/html/typed_arrays_2_test.dart

Issue 11757002: Fixing ArrayBuffer et al on IE. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/html/typed_arrays_1_test.dart ('k') | tests/html/typed_arrays_3_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/typed_arrays_2_test.dart
diff --git a/tests/html/typed_arrays_2_test.dart b/tests/html/typed_arrays_2_test.dart
index d109ddcaf6b032e17bdc56d6bfd3bf2a3242462b..021de8cbe8f176e37d31139a5ef97a06127a2b7b 100644
--- a/tests/html/typed_arrays_2_test.dart
+++ b/tests/html/typed_arrays_2_test.dart
@@ -7,9 +7,15 @@ import '../../pkg/unittest/lib/unittest.dart';
import '../../pkg/unittest/lib/html_config.dart';
import 'dart:html';
+
main() {
useHtmlConfiguration();
+ // Only perform tests if ArrayBuffer is supported.
+ if (!ArrayBuffer.supported) {
+ return;
+ }
+
test('fromBufferTest_dynamic', () {
var a1 = new Uint8Array(1024);
for (int i = 0; i < a1.length; i++) {
« no previous file with comments | « tests/html/typed_arrays_1_test.dart ('k') | tests/html/typed_arrays_3_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698