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

Unified Diff: tests/html/blob_constructor_test.dart

Issue 14367012: Move to new dart:typeddata types for dart2js (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Revert generated files for html lib 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
Index: tests/html/blob_constructor_test.dart
diff --git a/tests/html/blob_constructor_test.dart b/tests/html/blob_constructor_test.dart
index 93336f712d3133db2106ecbec9c8d1f21213d9c1..480ab88b24e98d250166aab720445dda48b2dd75 100644
--- a/tests/html/blob_constructor_test.dart
+++ b/tests/html/blob_constructor_test.dart
@@ -6,6 +6,7 @@ library blob_test;
import '../../pkg/unittest/lib/unittest.dart';
import '../../pkg/unittest/lib/html_config.dart';
import 'dart:html';
+import 'dart:typeddata';
main() {
useHtmlConfiguration();
@@ -55,7 +56,7 @@ main() {
});
test('fromArrayBuffer', () {
- var a = new Uint8Array(100).buffer; // i.e. new ArrayBuffer(100);
+ var a = new Uint8List(100).buffer; // i.e. new ArrayBuffer(100);
var b = new Blob([a, a]);
expect(b.size, 200);
});

Powered by Google App Engine
This is Rietveld 408576698