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

Unified Diff: tests/standalone/io/web_socket_test.dart

Issue 14036017: Revert "Add new InternetAddress class with a static lookup function (including IPv6 results)." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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/standalone/io/socket_upgrade_to_secure_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/web_socket_test.dart
diff --git a/tests/standalone/io/web_socket_test.dart b/tests/standalone/io/web_socket_test.dart
index 5579e8f65af55110695941528b8a353ba67ccc64..40ca3b18884a66f6400497f4302cee4be49d70fd 100644
--- a/tests/standalone/io/web_socket_test.dart
+++ b/tests/standalone/io/web_socket_test.dart
@@ -15,6 +15,7 @@ import "dart:typed_data";
import "dart:uri";
const String CERT_NAME = 'localhost_cert';
+const String SERVER_ADDRESS = '127.0.0.1';
const String HOST_NAME = 'localhost';
/**
@@ -26,11 +27,11 @@ class SecurityConfiguration {
SecurityConfiguration({bool this.secure});
Future<HttpServer> createServer({int backlog: 0}) =>
- secure ? HttpServer.bindSecure(HOST_NAME,
+ secure ? HttpServer.bindSecure(SERVER_ADDRESS,
0,
backlog: backlog,
certificateName: CERT_NAME)
- : HttpServer.bind(HOST_NAME,
+ : HttpServer.bind(SERVER_ADDRESS,
0,
backlog);
« no previous file with comments | « tests/standalone/io/socket_upgrade_to_secure_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698