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

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

Issue 14081024: 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 efe3b0dd5ec30405390e3b2718ad16e290807366..2bee0d8670eeb8731762b442adf4840db2b89c82 100644
--- a/tests/standalone/io/web_socket_test.dart
+++ b/tests/standalone/io/web_socket_test.dart
@@ -15,6 +15,7 @@ import "dart:typeddata";
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