commit | 2e81a43f79b35d9f1e50a8761ce70ffc5835d206 | [log] [tgz] |
---|---|---|
author | Nate Fischer <ntfschr@google.com> | Sat Nov 20 02:00:02 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat Nov 20 02:00:02 2021 |
tree | 7d9506e33571d4e3c4d6f83104923d9be194ced7 | |
parent | 27d4d5e1b04c36671d761e74e8a7dc83b049cf03 [diff] |
AW: fix testDefaultTextEncodingWithTwoViews No change to production logic. This rewrites AwSettingsTest.testDefaultTextEncodingWithTwoViews. The test was originally disabled because it relied on 'document.defaultCharset', which has since been deprecated and removed. This change fixes the test to instead use some UTF-8 text and verify it cannot be decoded properly when the charset is Latin-1. Fixed: 587484 Test: run_webview_instrumentation_test_apk -f AwSettingsTest.testDefaultTextEncodingWithTwoViews Change-Id: I74350fe36ced6c63013e28283832d8ca3ad46279 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3294103 Commit-Queue: Nate Fischer <ntfschr@chromium.org> Commit-Queue: Shimi Zhang <ctzsm@chromium.org> Auto-Submit: Nate Fischer <ntfschr@chromium.org> Reviewed-by: Shimi Zhang <ctzsm@chromium.org> Cr-Commit-Position: refs/heads/main@{#943782}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.