Initial commit of WebSerial code
Categories
(Core :: DOM: Device Interfaces, enhancement)
Tracking
()
People
(Reporter: gstoll, Assigned: gstoll)
References
(Blocks 11 open bugs)
Details
Attachments
(9 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
This should have all basic WebSerial functionality. This will be behind a pref dom.webserial.enabled.
| Assignee | ||
Updated•28 days ago
|
| Assignee | ||
Comment 1•14 days ago
|
||
Also adds a few declarations for the "connect" and "disconnect" events
| Assignee | ||
Comment 2•14 days ago
|
||
| Assignee | ||
Comment 3•14 days ago
|
||
IPC Parent/Child classes for SerialManager and SerialPort.
| Assignee | ||
Comment 4•14 days ago
|
||
See part 2 for the base SerialPlatformService class.
| Assignee | ||
Comment 5•14 days ago
|
||
See part 2 for the base SerialPlatformService class.
| Assignee | ||
Comment 6•14 days ago
|
||
When a page tries to use the WebSerial API, we require the user to install
a generated add-on to grant that permission, just like we do for WebMIDI.
After that is installed, we pop a dialog that lets the user choose a port
to grant access to.
| Assignee | ||
Comment 7•14 days ago
|
||
There is some information about the security policy in the WebSerial
WICG proposal here: https://wicg.github.io/serial/#permissions-policy
| Assignee | ||
Comment 8•14 days ago
|
||
Needed so Firefox has access to USB ports for serial devices that are
connected to a USB port.
| Assignee | ||
Comment 9•14 days ago
|
||
The browser/ tests are mainly around testing the site permission add-on
and requestPort() dialog, while the mochitests test mostly test the
actual WebSerial API.
Updated•10 days ago
|
Description
•