aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/docs/running-tests/chrome_android.md
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wpt/web-platform-tests/docs/running-tests/chrome_android.md')
-rw-r--r--tests/wpt/web-platform-tests/docs/running-tests/chrome_android.md38
1 files changed, 12 insertions, 26 deletions
diff --git a/tests/wpt/web-platform-tests/docs/running-tests/chrome_android.md b/tests/wpt/web-platform-tests/docs/running-tests/chrome_android.md
index 5851cd55722..a216a8a68b8 100644
--- a/tests/wpt/web-platform-tests/docs/running-tests/chrome_android.md
+++ b/tests/wpt/web-platform-tests/docs/running-tests/chrome_android.md
@@ -2,35 +2,21 @@
To run WPT on Chrome on an Android device, some additional set up is required.
-First of all, as usual Android development, we need to have `adb` and be able to
-connect to the device.
+As with usual Android development, you need to have `adb` and be able to
+connect to the device. Run `adb devices` to verify.
-## Hosts
+Currently, Android support is a prototype with some known issues:
-Until we find a better way, we need to root the Android device and update the
-/etc/hosts file to include the entries printed by `./wpt make-hosts-file`.
+* If you have previously run `./wpt run` against Chrome, you might need to
+ remove `_venv/bin/chromedriver` so that we can install the correct
+ ChromeDriver corresponding to your Chrome for Android version.
+* We do not support reftests at the moment.
+* You will need to manually kill Chrome (all channels) before running tests.
-## CA certificate
+Note: rooting the device or installing a root CA is no longer required.
-In order to run HTTPS tests, we need to add
-[WPT's CA](https://github.com/web-platform-tests/wpt/blob/master/tools/certs/cacert.pem)
-to the phone. First, convert the certificate from PEM to CRT:
+Example (assuming you have Chrome Canary installed on your phone):
-```
-openssl x509 -outform der -in tools/certs/cacert.pem -out cacert.crt
-```
-
-Then copy `cacert.crt` to your phone's external storage (preferably to
-Downloads/ as it'll be easier to find). Open Settings -> Security & location ->
-Encryption & credentials -> Install from storage. Find and install `cacert.crt`.
-(The setting entries might be slightly different based your Android version.)
-
-Note that having this CA installed on your device outside of a test
-environment represents a security risk.
-
-
-Finally, we may run wpt with the `chrome_android` product
-
-```
-./wpt run chrome_android [test_list]
+```bash
+./wpt run --test-type=testharness --channel=canary chrome_android TESTS
```