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

Unified Diff: tests/html/typed_arrays_1_test.dart

Issue 13954014: Add Supported class to dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Moved to Platform.supportsTypedData Created 7 years, 8 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/transferables_test.dart ('k') | tests/html/typed_arrays_2_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/typed_arrays_1_test.dart
diff --git a/tests/html/typed_arrays_1_test.dart b/tests/html/typed_arrays_1_test.dart
index 12bd9f6aae58b8b94972154365b747829e975c69..52cd41b282e6569dece7c7bf7a01c7d0cb15ea96 100644
--- a/tests/html/typed_arrays_1_test.dart
+++ b/tests/html/typed_arrays_1_test.dart
@@ -12,11 +12,11 @@ main() {
var isnumList = predicate((x) => x is List<num>, 'is a List<num>');
var isStringList = predicate((x) => x is List<String>, 'is a List<String>');
- var expectation = ArrayBuffer.supported ? returnsNormally : throws;
+ var expectation = Platform.supportsTypedData ? returnsNormally : throws;
group('supported', () {
test('supported', () {
- expect(ArrayBuffer.supported, true);
+ expect(Platform.supportsTypedData, true);
});
});
« no previous file with comments | « tests/html/transferables_test.dart ('k') | tests/html/typed_arrays_2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698