Fix the failing cts test

It seems like testClearSslPreferences is failing (was passing fine
locally). The test verifies the url in the callback by comparing it
to the url in the loadUrl() call, however, this seems not a good
comparison since there is a race between loading favicon and the
page url. Change it to check for the page title.

Change-Id: I178ef17c7cdb8126b89d82b95f203fdbe7b9c82e
diff --git a/tests/tests/webkit/src/android/webkit/cts/WebViewTest.java b/tests/tests/webkit/src/android/webkit/cts/WebViewTest.java
index 88a688b..813f8306 100755
--- a/tests/tests/webkit/src/android/webkit/cts/WebViewTest.java
+++ b/tests/tests/webkit/src/android/webkit/cts/WebViewTest.java
@@ -1435,7 +1435,7 @@
         webViewClient.resetWasOnReceivedSslErrorCalled();
         mOnUiThread.loadUrlAndWaitForCompletion(url);
         assertTrue(webViewClient.wasOnReceivedSslErrorCalled());
-        assertEquals(url, webViewClient.errorUrl());
+        assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, mOnUiThread.getTitle());
 
         // Load the page once again, without clearing the sslpreferences.
         // Make sure we do not get the callback.