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

Unified Diff: tests/html/xhr_test.dart

Issue 22875041: Attempting to fix XHR test on Dartium. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/xhr_test.dart
diff --git a/tests/html/xhr_test.dart b/tests/html/xhr_test.dart
index d47707f7497bcbce4bef1ec1c7f739a006205bc7..1d532093852bec6622c01f9debb8aa0f81d1f3c8 100644
--- a/tests/html/xhr_test.dart
+++ b/tests/html/xhr_test.dart
@@ -201,7 +201,7 @@ main() {
for (var i = 0; i < data.length; ++i) {
data[i] = i & 0xFF;
}
- xhr.send(data);
+ xhr.send(new Uint8List.view(data.buffer));
return xhr.onLoad.first.then((_) {
expect(progressCalled, isTrue);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698