Closed pes10k closed 6 years ago
The required
can be removed as specifying a default value effectively means the entry will always be present.
Note, the USBPermissionStorage
object may go away entirely because this specification needs to be updated to match the latest version of the Permissions API specification.
Okie-dokie. Here is a PR that makes that minor change
The WebIDL definition for
USBPermissionStorage
is currentlyHowever, the WebIDL spec says that required dictionary entries cannot have default values. (re https://heycam.github.io/webidl/#required-dictionary-member)
Happy to open a PR for this, but should I drop the
required
, or the[]
?