Ensure that WebView's policy about cleartext connections to localhost aligns with Android's general policy. |
||
Issue descriptionRelated issue: b/77282922 A WebView CTS test recently started failing because the test needed to declare a manifest-flag to be allowed to open a cleartext connection to localhost. We should double-check that WebView and Android agree on whether cleartext connections to localhost are OK without the manifest flag.
,
Apr 24 2018
Apps that target P will default to disallowing cleartext, and the CTS tests are always built to target the current version. The test started failing when this default policy was implemented. WebView and Android do agree - another android thread confirmed that the rest of android does not special-case localhost and requires a network security policy to be specified if you want to exempt it (which is preferable to enabling cleartext entirely in real code - just setting it was fine to fix the test here though). |
||
►
Sign in to add a comment |
||
Comment 1 by ntfschr@chromium.org
, Apr 18 2018