servo/tests/wpt/web-platform-tests/serial
2023-03-17 01:55:41 +00:00
..
getPorts Update web-platform-tests to revision b'afdce893ed51bc1a7a7ac03b16b5a575caad071a' 2023-03-17 01:55:41 +00:00
requestPort Update web-platform-tests to revision b'afdce893ed51bc1a7a7ac03b16b5a575caad071a' 2023-03-17 01:55:41 +00:00
resources Update web-platform-tests to revision b'14684f837eba364df3de2b6683d4eb5385333158' 2023-03-08 02:09:14 +00:00
idlharness.https.any.js Update web-platform-tests to revision 1916d3f4f67ab06325b4f0f8ac65b5ebad404bf2 2020-09-28 10:56:45 +00:00
META.yml Update web-platform-tests to revision 1c5816e523d00ad3854082245a52f09f7bdb0ff5 2020-12-23 10:29:12 +00:00
README.md Update web-platform-tests to revision b'ee6da9d71d0268d7fdb04e8e5b26858f46ee0cc4' 2022-01-20 20:57:54 +09:00
serial-allowed-by-permissions-policy-attribute-redirect-on-load.https.sub.html Update web-platform-tests to revision b'4435c35d9085ed2be61e64d0093b8e1b0e7a877b' 2022-11-25 01:25:18 +00:00
serial-allowed-by-permissions-policy-attribute.https.sub.html Update web-platform-tests to revision b'4435c35d9085ed2be61e64d0093b8e1b0e7a877b' 2022-11-25 01:25:18 +00:00
serial-allowed-by-permissions-policy.https.sub.html Update web-platform-tests to revision b'4435c35d9085ed2be61e64d0093b8e1b0e7a877b' 2022-11-25 01:25:18 +00:00
serial-allowed-by-permissions-policy.https.sub.html.headers Update web-platform-tests to revision b'4435c35d9085ed2be61e64d0093b8e1b0e7a877b' 2022-11-25 01:25:18 +00:00
serial-default-permissions-policy.https.sub.html Update web-platform-tests to revision b'4435c35d9085ed2be61e64d0093b8e1b0e7a877b' 2022-11-25 01:25:18 +00:00
serial-disabled-by-permissions-policy.https.sub.html Update web-platform-tests to revision b'afdce893ed51bc1a7a7ac03b16b5a575caad071a' 2023-03-17 01:55:41 +00:00
serial-disabled-by-permissions-policy.https.sub.html.headers Update web-platform-tests to revision b'4435c35d9085ed2be61e64d0093b8e1b0e7a877b' 2022-11-25 01:25:18 +00:00
serial_getPorts.https.any.js Update web-platform-tests to revision 2b4f117a8fc636fc316b3864763db6b28e8a42bc 2020-12-10 10:49:16 +00:00
serial_onconnect.https.any.js Update web-platform-tests to revision 2b4f117a8fc636fc316b3864763db6b28e8a42bc 2020-12-10 10:49:16 +00:00
serial_ondisconnect.https.any.js Update web-platform-tests to revision 2b4f117a8fc636fc316b3864763db6b28e8a42bc 2020-12-10 10:49:16 +00:00
serial_requestPort.https.window.js Update web-platform-tests to revision 2b4f117a8fc636fc316b3864763db6b28e8a42bc 2020-12-10 10:49:16 +00:00
serialPort_close.https.any.js Update web-platform-tests to revision 2b4f117a8fc636fc316b3864763db6b28e8a42bc 2020-12-10 10:49:16 +00:00
serialPort_disconnect-manual.https.html Update web-platform-tests to revision b'ee6da9d71d0268d7fdb04e8e5b26858f46ee0cc4' 2022-01-20 20:57:54 +09:00
serialPort_events.https.any.js Update web-platform-tests to revision 2b4f117a8fc636fc316b3864763db6b28e8a42bc 2020-12-10 10:49:16 +00:00
serialPort_forget.https.any.js Update web-platform-tests to revision b'b728032f59a396243864b0f8584e7211e3632005' 2022-11-10 01:27:28 +00:00
serialPort_getInfo.https.any.js Update web-platform-tests to revision 2b4f117a8fc636fc316b3864763db6b28e8a42bc 2020-12-10 10:49:16 +00:00
serialPort_getSignals.https.any.js Update web-platform-tests to revision 2b4f117a8fc636fc316b3864763db6b28e8a42bc 2020-12-10 10:49:16 +00:00
serialPort_loopback-manual.https.html Update web-platform-tests to revision b'ee6da9d71d0268d7fdb04e8e5b26858f46ee0cc4' 2022-01-20 20:57:54 +09:00
serialPort_loopback_BreakError-manual.https.html Update web-platform-tests to revision b'ee6da9d71d0268d7fdb04e8e5b26858f46ee0cc4' 2022-01-20 20:57:54 +09:00
serialPort_loopback_BufferOverrunError-manual.https.html Update web-platform-tests to revision b'ee6da9d71d0268d7fdb04e8e5b26858f46ee0cc4' 2022-01-20 20:57:54 +09:00
serialPort_loopback_flowControl-manual.https.html Update web-platform-tests to revision b'ee6da9d71d0268d7fdb04e8e5b26858f46ee0cc4' 2022-01-20 20:57:54 +09:00
serialPort_ondisconnect.https.any.js Update web-platform-tests to revision 2b4f117a8fc636fc316b3864763db6b28e8a42bc 2020-12-10 10:49:16 +00:00
serialPort_open.https.any.js Update web-platform-tests to revision 2b4f117a8fc636fc316b3864763db6b28e8a42bc 2020-12-10 10:49:16 +00:00
serialPort_readable-manual.https.html Update web-platform-tests to revision b'ee6da9d71d0268d7fdb04e8e5b26858f46ee0cc4' 2022-01-20 20:57:54 +09:00
serialPort_readable_byob.https.any.js Update web-platform-tests to revision b'b728032f59a396243864b0f8584e7211e3632005' 2022-11-10 01:27:28 +00:00
serialPort_readable_cancel.https.any.js Update web-platform-tests to revision 2b4f117a8fc636fc316b3864763db6b28e8a42bc 2020-12-10 10:49:16 +00:00
serialPort_readable_chain.https.any.js Update web-platform-tests to revision 2b4f117a8fc636fc316b3864763db6b28e8a42bc 2020-12-10 10:49:16 +00:00
serialPort_readable_closeLocked.https.any.js Update web-platform-tests to revision 2b4f117a8fc636fc316b3864763db6b28e8a42bc 2020-12-10 10:49:16 +00:00
serialPort_readable_disconnect.https.any.js Update web-platform-tests to revision 2b4f117a8fc636fc316b3864763db6b28e8a42bc 2020-12-10 10:49:16 +00:00
serialPort_readable_largeRead.https.any.js Update web-platform-tests to revision 2b4f117a8fc636fc316b3864763db6b28e8a42bc 2020-12-10 10:49:16 +00:00
serialPort_readable_open.https.any.js Update web-platform-tests to revision 2b4f117a8fc636fc316b3864763db6b28e8a42bc 2020-12-10 10:49:16 +00:00
serialPort_readable_parityError.https.any.js Update web-platform-tests to revision 2b4f117a8fc636fc316b3864763db6b28e8a42bc 2020-12-10 10:49:16 +00:00
serialPort_readable_pipeThrough.https.any.js Update web-platform-tests to revision 2b4f117a8fc636fc316b3864763db6b28e8a42bc 2020-12-10 10:49:16 +00:00
serialPort_readable_smallRead.https.any.js Update web-platform-tests to revision b'b728032f59a396243864b0f8584e7211e3632005' 2022-11-10 01:27:28 +00:00
serialPort_setSignals.https.any.js Update web-platform-tests to revision 2b4f117a8fc636fc316b3864763db6b28e8a42bc 2020-12-10 10:49:16 +00:00
serialPort_writable.https.any.js Update web-platform-tests to revision b'b728032f59a396243864b0f8584e7211e3632005' 2022-11-10 01:27:28 +00:00
serialPort_writable_detachBuffer.https.any.js Update web-platform-tests to revision b'ee6da9d71d0268d7fdb04e8e5b26858f46ee0cc4' 2022-01-20 20:57:54 +09:00

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.

The Chromium implementation is provided by ../resources/chromium/fake-serial.js using MojoJS.

Tests with the "-manual" suffix do not use the test-only interface and expect a real hardware device to be connected. The specific characteristics of the device are described in each test.