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

Unified Diff: tests/html/location_test.dart

Issue 16019002: Merge the dart:uri library into dart:core and update the Uri class (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Final cleanup Created 7 years, 7 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/form_data_test.dart ('k') | tests/lib/analyzer/analyze_tests.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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}';
}
« no previous file with comments | « tests/html/form_data_test.dart ('k') | tests/lib/analyzer/analyze_tests.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698