This change marks the rest of the interfaces exposed by WebUSB with the
[SecureContext] extended attribute so that they do not appear in
in-secure contexts. This is not strictly necessary since the partial
Navigator interface is the entry-point to this API but it prevents
developer confusion by making the API clearly unavailable.
This change marks the rest of the interfaces exposed by WebUSB with the [SecureContext] extended attribute so that they do not appear in in-secure contexts. This is not strictly necessary since the partial Navigator interface is the entry-point to this API but it prevents developer confusion by making the API clearly unavailable.
Preview | Diff