
Site Engagement heuristic can auto-enable HTTPS-First Mode if a hostname has a high engagement score on its HTTPS URLs and a low score on its HTTP URLs. Presently, it can auto-enable HFM on an origin with a non-default port. However, the persisted HTTPS-enforcement list only stores hostnames, so a high site engagement score on https://example.com:8443 enables HFM on all of example.com. Reverse is also true: a high score on https://example.com auto-enables HFM on https://example.com:8443. This behavior may be confusing to developers and is in general error prone. This CL does two things: - It ignores site engagement scores of origins with non-default ports. - It stops automatically enforcing HTTPS on origins with non-default ports. Bug: 1442679 Change-Id: I69bc0376b32adf501f2e5f61e71cfd35eeb9dd8e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5035039 Reviewed-by: Scott Violet <sky@chromium.org> Reviewed-by: Nate Fischer <ntfschr@chromium.org> Commit-Queue: Mustafa Emre Acer <meacer@chromium.org> Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Reviewed-by: Chris Thompson <cthomp@chromium.org> Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Cr-Commit-Position: refs/heads/main@{#1225896}
Android WebView
Android WebView is an Android system component for displaying web content.
WebView (and
the related Android classes) are implemented by the code in the
//android_webview/
folder.
This directory contains the Android WebView implementation, as well as the implementation for the AndroidX Webkit support library.
Overview for Chromium team members and contributors
Please see WebView Architecture.
Want to use WebView in an Android app?
Please consult our API documentation and app development guides:
Want to build and install WebView on a device?
See our Chromium developer documentation.
Public mailing lists
- android-webview-dev@chromium.org: external discussion group for WebView developers and interested community members.
- android-webview-reviews@chromium.org: subscribe to code reviews affecting Android WebView code.