Invoke PSB#querySafeBrowsingUserConsent's callback with some default value upstream |
||
Issue descriptionRight now, the upstream implementation [1] does not invoke the callback. It would be better if the upstream implementation always invoked the callback with some sensible default, and we guaranteed that the callback will always be invoked. It's important that we continue to treat Safe Browsing as opted-in for AOSP devices, otherwise we can't have meaningful CTS tests. This behavior is essentially harmless, because AOSP devices only check the hardcoded Safe Browsing URLs (chrome://safe-browsing/match?type=malware and =phishing). So, I propose we invoke the callback with "true" and leave a comment explaining why this is. [1] https://cs.chromium.org/chromium/src/android_webview/java/src/org/chromium/android_webview/PlatformServiceBridge.java?l=57&rcl=087ef223ac784ad99fbe4bab0cd426071bf81b24
,
Sep 18
Code cleanup |
||
►
Sign in to add a comment |
||
Comment 1 by ntfschr@chromium.org
, Aug 16