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

Unified Diff: tests/html/form_data_test.dart

Issue 18850007: Add back appendBlob and send variants in WebSocket. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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/form_data_test.dart
diff --git a/tests/html/form_data_test.dart b/tests/html/form_data_test.dart
index 0cbe6bc4968693e2b79587649fb420bb2d3e90ee..140c253a9363d9343bf24786f808ae0d53d70233 100644
--- a/tests/html/form_data_test.dart
+++ b/tests/html/form_data_test.dart
@@ -62,7 +62,7 @@ void main() {
var blob = new Blob(
['Indescribable... Indestructible! Nothing can stop it!'],
'text/plain');
- form.append('theBlob', blob, 'theBlob.txt');
+ form.appendBlob('theBlob', blob, 'theBlob.txt');
});
test('send', () {
@@ -72,7 +72,7 @@ void main() {
var blob = new Blob(
[blobString],
'text/plain');
- form.append('theBlob', blob, 'theBlob.txt');
+ form.appendBlob('theBlob', blob, 'theBlob.txt');
var xhr = new HttpRequest();
xhr.open('POST',

Powered by Google App Engine
This is Rietveld 408576698