Fix path browser test.

BUG=https://code.google.com/p/dart/issues/detail?id=12121
R=nweiz@google.com

Review URL: https://codereview.chromium.org//21164005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/path@25628 260f80e4-7a28-3924-810f-c04153c831b5
diff --git a/test/browser_test.dart b/test/browser_test.dart
index 3e88500..0725646 100644
--- a/test/browser_test.dart
+++ b/test/browser_test.dart
@@ -12,9 +12,9 @@
   useHtmlConfiguration();
 
   group('new Builder()', () {
-    test('uses the current directory if root and style are omitted', () {
+    test('uses the window location if root and style are omitted', () {
       var builder = new path.Builder();
-      expect(builder.root, io.Directory.current.path);
+      expect(builder.root, window.location.href);
     });
 
     test('uses "." if root is omitted', () {