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

Unified Diff: tests/html/form_data_test.dart

Issue 11810004: Make browser tests all run from a server instead of the local filesystem. (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
Index: tests/html/form_data_test.dart
diff --git a/tests/html/form_data_test.dart b/tests/html/form_data_test.dart
index a8b96fd43b14ca8630923d0af8fb10e9cfd8882f..cdcca7e76abaf21d5638912c48443a1510a9727c 100644
--- a/tests/html/form_data_test.dart
+++ b/tests/html/form_data_test.dart
@@ -59,7 +59,7 @@ void main() {
form.append('theBlob', blob, 'theBlob.txt');
var xhr = new HttpRequest();
- xhr.open("POST", "http://localhost:9876/echo");
+ xhr.open("POST", "http://localhost:${window.location.port}/echo");
xhr.on.load.add(expectAsync1((e) {
expect(xhr.responseText.contains(blobString), true);

Powered by Google App Engine
This is Rietveld 408576698