WICG / webusb

Connecting hardware to the web.
https://wicg.github.io/webusb/
Other
1.31k stars 131 forks source link

Mark additional interfaces with [SecureContext] #142

Closed reillyeon closed 6 years ago

reillyeon commented 6 years ago

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