forked from web-platform-tests/wpt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
serial: Migrate Web Serial MojoJS based tests to internal folder
This CL migrate Web Serial MojsJS based tests to internal folder temporary. We will move it back once Web Serial Testing specification for test-only interface is defined. Bug: 1524403 Change-Id: I75323dfe2a649348e23c333e1a635cf8cc9ba806 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5259047 Reviewed-by: Matt Reynolds <[email protected]> Commit-Queue: Alvin Ji <[email protected]> Reviewed-by: Alvin Ji <[email protected]> Cr-Commit-Position: refs/heads/main@{#1257126}
- Loading branch information
1 parent
a68f313
commit 39e3ec2
Showing
28 changed files
with
2 additions
and
1,523 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,10 @@ | ||
# 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]. | ||
Currently Web Serial only provide permission policy and maualy tests. The goal in future is to define test API specification similar to [WebUSB] and provide test-only interface to support more comprehensive tests. | ||
|
||
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. | ||
|
||
[MojoJS]: https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/testing/web_platform_tests.md#mojojs | ||
[WebUSB]: ../webusb | ||
[WebUSB]: webusb | ||
[Web Serial API]: https://wicg.github.io/serial |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.