• hush's avatar
    Remember user's decisions on SSL errors. · 8e5bcae5
    hush authored
    After CL: https://codereview.chromium.org/369703002, Android
    WebView just has a NULL SSLHostStateDelegate. So it does not remember
    any user decisions on SSL errors. This is a regression of behavior from
    L (m37).
    
    History:
    JB behavior: Larger error codes are assumed to have higher severity. And
    if the user has allowed an SSL error with a high severity, the user
    won't be prompted for a lower severity SSL error.
    
    K and L behavior: A specific SSL error will be allowed only if the error
    bit field is a subset of previously allowed error codes.
    
    trunk behavior for webview (without this patch): We don't remember
    user's decision at all.
    
    This CL:
    Maintain the same behavior with K and L.
    
    BUG=441065
    
    Review URL: https://codereview.chromium.org/794023002
    
    Cr-Commit-Position: refs/heads/master@{#308160}
    8e5bcae5
aw_browser_context.h 5.9 KB