The spec at https://wicg.github.io/webusb/#dom-usbdevice-open
says that open() can raise a DOMException with "NotFoundError" or "NetworkError".
However a "SecurityError" has been observed on Linux, e.g. if udev rules are not provided.
This is useful to be able to handle the error separately from any other error that might occur. So it should be part of the formal spec.
The spec at https://wicg.github.io/webusb/#dom-usbdevice-open
says that
open()can raise aDOMExceptionwith "NotFoundError" or "NetworkError".However a "SecurityError" has been observed on Linux, e.g. if udev rules are not provided.
This is useful to be able to handle the error separately from any other error that might occur. So it should be part of the formal spec.