| Index: tests/html/location_test.dart
|
| diff --git a/tests/html/location_test.dart b/tests/html/location_test.dart
|
| index 88e3f2d357d91a1a6d0b2206243d651f1d5e6186..36adf4d717c8e788bcb76f0428e4a0979183691e 100644
|
| --- a/tests/html/location_test.dart
|
| +++ b/tests/html/location_test.dart
|
| @@ -2,7 +2,6 @@ library LocationTest;
|
| import '../../pkg/unittest/lib/unittest.dart';
|
| import '../../pkg/unittest/lib/html_config.dart';
|
| import 'dart:html';
|
| -import 'dart:uri';
|
|
|
| main() {
|
| useHtmlConfiguration();
|
| @@ -24,7 +23,7 @@ main() {
|
|
|
| // We build up the origin from Uri, then make sure that it matches.
|
| var uri = new Uri(window.location.href);
|
| - var reconstructedOrigin = '${uri.scheme}://${uri.domain}';
|
| + var reconstructedOrigin = '${uri.scheme}://${uri.host}';
|
| if (uri.port != 0) {
|
| reconstructedOrigin = '$reconstructedOrigin:${uri.port}';
|
| }
|
|
|