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

Unified Diff: tests/html/xhr_test.dart

Issue 12114039: Fixing xhr_test's responseType test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 | « 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 ef1d94eecec14a8ff251721945c37a85f547e4c3..d590acec6f227117f48a4e5c8f6bc69f4c84529a 100644
--- a/tests/html/xhr_test.dart
+++ b/tests/html/xhr_test.dart
@@ -126,9 +126,9 @@ main() {
test('XHR.request responseType', () {
if (ArrayBuffer.supported) {
- HttpRequest.request(url, responseType: 'ArrayBuffer').then(
+ HttpRequest.request(url, responseType: 'arraybuffer').then(
Emily Fortuna 2013/02/01 00:14:47 lgtm. can you add a comment on the appropriate fun
expectAsync1((xhr) {
- validate200Response(xhr);
+ expect(xhr.status, equals(200));
var arrayBuffer = xhr.response;
expect(arrayBuffer, new isInstanceOf<ArrayBuffer>());
expect(arrayBuffer, isNotNull);
« 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