Back to Chromium

Web Serial Testing

third_party/blink/web_tests/wpt_internal/serial/README.md

149.0.7827.2972 B
Original Source

Web Serial Testing

Automated testing for the Web Serial API relies on a test-only interface which must be provided by browsers under test. This is similar to WebUSB however there is no separate specification of the API other than the tests themselves and the Chromium implementation.

Tests in this suite include resources/automation.js to detect and load the test API as needed and the Chromium implementation is provided by external/wpt/resources/chromium/fake-serial.js using MojoJS.

This directory contains Chromium-specific tests for the Web Serial API. Once Web Serial Test API spec is defined, tests should be upstreamed to the equivalent Web Platform Tests directory instead.