Loading core/java/android/webkit/SslCertLookupTable.java +4 −0 Original line number Diff line number Diff line Loading @@ -46,4 +46,8 @@ final class SslCertLookupTable { public boolean isAllowed(SslError sslError) { return table.getBoolean(sslError.toString()); } public void clear() { table.clear(); } } core/java/android/webkit/WebViewCore.java +8 −2 Original line number Diff line number Diff line Loading @@ -1349,8 +1349,14 @@ public final class WebViewCore { } case CLEAR_SSL_PREF_TABLE: Network.getInstance(mContext) .clearUserSslPrefTable(); if (JniUtil.useChromiumHttpStack()) { // FIXME: This will not work for connections currently in use, as // they cache the certificate responses. See http://b/5324235. SslCertLookupTable.getInstance().clear(); nativeCloseIdleConnections(); } else { Network.getInstance(mContext).clearUserSslPrefTable(); } break; case TOUCH_UP: Loading Loading
core/java/android/webkit/SslCertLookupTable.java +4 −0 Original line number Diff line number Diff line Loading @@ -46,4 +46,8 @@ final class SslCertLookupTable { public boolean isAllowed(SslError sslError) { return table.getBoolean(sslError.toString()); } public void clear() { table.clear(); } }
core/java/android/webkit/WebViewCore.java +8 −2 Original line number Diff line number Diff line Loading @@ -1349,8 +1349,14 @@ public final class WebViewCore { } case CLEAR_SSL_PREF_TABLE: Network.getInstance(mContext) .clearUserSslPrefTable(); if (JniUtil.useChromiumHttpStack()) { // FIXME: This will not work for connections currently in use, as // they cache the certificate responses. See http://b/5324235. SslCertLookupTable.getInstance().clear(); nativeCloseIdleConnections(); } else { Network.getInstance(mContext).clearUserSslPrefTable(); } break; case TOUCH_UP: Loading