OSDN Git Service

Better document the ignore behavior for client cert api
authorSelim Gurun <sgurun@google.com>
Tue, 16 Feb 2016 20:30:08 +0000 (12:30 -0800)
committerSelim Gurun <sgurun@google.com>
Tue, 16 Feb 2016 20:30:08 +0000 (12:30 -0800)
Bug: 26361557

When the embedded app requests a ignore of a client cert request,
webview does not cache the response of the app. However, underlying
layers could. Clarify the document.

Change-Id: I43e6a4c91727f71c88ca69e1334f64de9f66905a

core/java/android/webkit/WebViewClient.java

index 0e5034d..8318656 100644 (file)
@@ -332,7 +332,9 @@ public class WebViewClient {
      * in memory (for the life of the application) if proceed() or cancel() is
      * called and does not call onReceivedClientCertRequest() again for the
      * same host and port pair. Webview does not store the response if ignore()
-     * is called.
+     * is called. Note that, multiple layers in chromium network stack might be
+     * caching the responses, so the behavior for ignore is only a best case
+     * effort.
      *
      * This method is called on the UI thread. During the callback, the
      * connection is suspended.