0
Files
src/android_webview
Mustafa Emre Acer 0ce005b0c6 [HFM] Ignore URLs with non-default ports from Site Engagement Heuristic
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}
2023-11-17 03:10:00 +00:00
..
2023-11-07 18:30:43 +00:00
2023-09-19 16:47:03 +00:00

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