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

Unified Diff: tests/html/postmessage_structured_test.dart

Issue 129003002: Redo "dart2js typed data constructor argument validation" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 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/html.status ('k') | tests/lib/typed_data/constructor_checks_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/postmessage_structured_test.dart
diff --git a/tests/html/postmessage_structured_test.dart b/tests/html/postmessage_structured_test.dart
index 0ff9665333e4e693e16beae4ee6389b03dbba6df..c41c33500cd951a8e743e0e225188219a866b9e0 100644
--- a/tests/html/postmessage_structured_test.dart
+++ b/tests/html/postmessage_structured_test.dart
@@ -137,7 +137,7 @@ main() {
});
group('typed_arrays', () {
- var array_buffer = new Uint8List(16);
+ var array_buffer = new Uint8List(16).buffer;
var view_a = new Float32List.view(array_buffer, 0, 4);
var view_b = new Uint8List.view(array_buffer, 1, 13);
var typed_arrays_list = [view_a, array_buffer, view_b];
« no previous file with comments | « tests/html/html.status ('k') | tests/lib/typed_data/constructor_checks_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698