diff options
author | Kristian Monsen <kristianm@google.com> | 2011-08-04 16:12:21 +0100 |
---|---|---|
committer | Kristian Monsen <kristianm@google.com> | 2011-08-04 16:18:03 +0100 |
commit | a400b57ca4a032d2a1b830cc447e810a006992a4 (patch) | |
tree | ce188d6c8d3ee1298015841130b770672da2edbc /Source/WebKit | |
parent | 9c20fe3057959d107a9b9f8ee78f2d244313fe77 (diff) | |
download | external_webkit-a400b57ca4a032d2a1b830cc447e810a006992a4.zip external_webkit-a400b57ca4a032d2a1b830cc447e810a006992a4.tar.gz external_webkit-a400b57ca4a032d2a1b830cc447e810a006992a4.tar.bz2 |
Fix for bug 5104510 Log chromium values of unknown browser errors
There are many errors that are not used at the moment, will look
at the output and add the ones that are used.
Change-Id: I16da444b9e1aa0ca12a17cfd77aa8f220e642914
Diffstat (limited to 'Source/WebKit')
-rw-r--r-- | Source/WebKit/android/WebCoreSupport/WebViewClientError.cpp | 4 |
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; } } |