summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorKristian Monsen <kristianm@google.com>2011-08-09 07:44:25 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-08-09 07:44:25 -0700
commit291743b4b8cba3a1c447c25a7ac5b44ca17c57cf (patch)
tree0991d642b20b16d9d5b13b0bb4699b6dbd023bde /Source
parent78fdfbadbd9b4ba76a2a021f85b98bc2b098b8ea (diff)
parenta400b57ca4a032d2a1b830cc447e810a006992a4 (diff)
downloadexternal_webkit-291743b4b8cba3a1c447c25a7ac5b44ca17c57cf.zip
external_webkit-291743b4b8cba3a1c447c25a7ac5b44ca17c57cf.tar.gz
external_webkit-291743b4b8cba3a1c447c25a7ac5b44ca17c57cf.tar.bz2
Merge "Fix for bug 5104510 Log chromium values of unknown browser errors"
Diffstat (limited to 'Source')
-rw-r--r--Source/WebKit/android/WebCoreSupport/WebViewClientError.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/WebKit/android/WebCoreSupport/WebViewClientError.cpp b/Source/WebKit/android/WebCoreSupport/WebViewClientError.cpp
index d5270a9..260c76e 100644
--- a/Source/WebKit/android/WebCoreSupport/WebViewClientError.cpp
+++ b/Source/WebKit/android/WebCoreSupport/WebViewClientError.cpp
@@ -26,6 +26,8 @@
#include "config.h"
#include "WebViewClientError.h"
+#include <cutils/log.h>
+
using namespace net;
namespace android {
@@ -121,9 +123,11 @@ WebViewClientError ToWebViewClientError(net::Error error) {
case ERR_CERT_INVALID:
case ERR_CERT_WEAK_SIGNATURE_ALGORITHM:
case ERR_CERT_NOT_IN_DNS:
+ case ERR_CERT_NON_UNIQUE_NAME:
return ERROR_OK;
default:
+ android_printLog(ANDROID_LOG_DEBUG, "chromium", "Unknown chromium error: %d", error);
return ERROR_UNKNOWN;
}
}