Skip to content

spec on USBDevice.open() doesn't mention SecurityError #256

@dlech

Description

@dlech

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions