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

Unified Diff: tests/html/form_data_test.dart

Issue 18277003: "Reverting 24655" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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/canvasrenderingcontext2d_test.dart ('k') | tests/html/indexeddb_1_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/form_data_test.dart
diff --git a/tests/html/form_data_test.dart b/tests/html/form_data_test.dart
index 140c253a9363d9343bf24786f808ae0d53d70233..301781082cd61bc6b70d55509fa60ccb8d80810b 100644
--- a/tests/html/form_data_test.dart
+++ b/tests/html/form_data_test.dart
@@ -53,7 +53,7 @@ void main() {
form.append('test', '1');
form.append('username', 'Elmo');
form.append('address', '1 Sesame Street');
- form.append('password', '123456');
+ form.append('password', '123456', 'foo');
expect(form, isNotNull);
});
@@ -62,7 +62,7 @@ void main() {
var blob = new Blob(
['Indescribable... Indestructible! Nothing can stop it!'],
'text/plain');
- form.appendBlob('theBlob', blob, 'theBlob.txt');
+ form.append('theBlob', blob, 'theBlob.txt');
});
test('send', () {
@@ -72,7 +72,7 @@ void main() {
var blob = new Blob(
[blobString],
'text/plain');
- form.appendBlob('theBlob', blob, 'theBlob.txt');
+ form.append('theBlob', blob, 'theBlob.txt');
var xhr = new HttpRequest();
xhr.open('POST',
« no previous file with comments | « tests/html/canvasrenderingcontext2d_test.dart ('k') | tests/html/indexeddb_1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698