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

Unified Diff: tests/html/xhr_test.dart

Issue 14651023: Moving overrideMimeType to depend on typed data. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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 a3d7a852155ce289befaf9ad65d79ce16fcaa05c..180e5d0fdc56f774e79baaf4ddb9756943474973 100644
--- a/tests/html/xhr_test.dart
+++ b/tests/html/xhr_test.dart
@@ -146,7 +146,6 @@ main() {
test('XHR.request responseType arraybuffer', () {
if (Platform.supportsTypedData) {
HttpRequest.request(url, responseType: 'arraybuffer',
- mimeType: 'application/binary',
requestHeaders: {'Content-Type': 'text/xml'}).then(
expectAsync1((xhr) {
expect(xhr.status, equals(200));
@@ -170,7 +169,8 @@ main() {
group('xhr_requestBlob', () {
test('XHR.request responseType blob', () {
if (Platform.supportsTypedData) {
- return HttpRequest.request(url, responseType: 'blob').then(
+ return HttpRequest.request(url, responseType: 'blob',
+ mimeType: 'application/binary').then(
(xhr) {
expect(xhr.status, equals(200));
var blob = xhr.response;
« 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