Revert "Use absolute URLs in testRequestFocusNodeHref CTS test."

This reverts commit 7db509e4ec95490f9dd1da75faad4b0e6b439b5e.

Change-Id: I88f302db1d050f721f165355f7e3467d446f9f2c
diff --git a/tests/tests/webkit/src/android/webkit/cts/TestHtmlConstants.java b/tests/tests/webkit/src/android/webkit/cts/TestHtmlConstants.java
index a9bfd6d..63354d4 100644
--- a/tests/tests/webkit/src/android/webkit/cts/TestHtmlConstants.java
+++ b/tests/tests/webkit/src/android/webkit/cts/TestHtmlConstants.java
@@ -47,7 +47,6 @@
     public static final String NETWORK_STATE_URL = "webkit/network_state.html";
     public static final String TEST_TIMER_URL = "webkit/test_timer.html";
 
-    public static final String HTML_BASE_URL = "http://base/";
     public static final String HTML_URL1 = "webkit/test_firstPage.html";
     public static final String HTML_URL2 = "webkit/test_secondPage.html";
     public static final String HTML_URL3 = "webkit/test_thirdPage.html";
diff --git a/tests/tests/webkit/src/android/webkit/cts/WebViewTest.java b/tests/tests/webkit/src/android/webkit/cts/WebViewTest.java
index b242ca9..6c66f52 100755
--- a/tests/tests/webkit/src/android/webkit/cts/WebViewTest.java
+++ b/tests/tests/webkit/src/android/webkit/cts/WebViewTest.java
@@ -1111,10 +1111,9 @@
     }
 
     public void testRequestFocusNodeHref() throws Throwable {
-        final String absUrl1 = TestHtmlConstants.HTML_BASE_URL + TestHtmlConstants.HTML_URL1;
-        final String absUrl2 = TestHtmlConstants.HTML_BASE_URL + TestHtmlConstants.HTML_URL2;
-        final String links = "<DL><p><DT><A HREF=\"" + absUrl1 + "\">HTML_URL1</A>"
-                + "<DT><A HREF=\"" + absUrl2 + "\">HTML_URL2</A></DL><p>";
+        final String links = "<DL><p><DT><A HREF=\"" + TestHtmlConstants.HTML_URL1
+                + "\">HTML_URL1</A><DT><A HREF=\"" + TestHtmlConstants.HTML_URL2
+                + "\">HTML_URL2</A></DL><p>";
         mOnUiThread.loadDataAndWaitForCompletion("<html><body>" + links + "</body></html>", "text/html", null);
         getInstrumentation().waitForIdleSync();
 
@@ -1143,7 +1142,7 @@
                 return done;
             }
         }.run();
-        assertEquals(absUrl1, handler.getResultUrl());
+        assertEquals(TestHtmlConstants.HTML_URL1, handler.getResultUrl());
 
         // focus on second link
         handler.reset();
@@ -1157,7 +1156,7 @@
                 boolean done = false;
                 if (handler.hasCalledHandleMessage()) {
                     if (handler.mResultUrl != null &&
-                            handler.mResultUrl.equals(absUrl2)) {
+                            handler.mResultUrl.equals(TestHtmlConstants.HTML_URL2)) {
                         done = true;
                     } else {
                         handler.reset();
@@ -1169,7 +1168,7 @@
                 return done;
             }
         }.run();
-        assertEquals(absUrl2, handler.getResultUrl());
+        assertEquals(TestHtmlConstants.HTML_URL2, handler.getResultUrl());
 
         mOnUiThread.requestFocusNodeHref(null);
     }