diff --git a/index.html b/index.html index 8c9f7d5..110ce1c 100644 --- a/index.html +++ b/index.html @@ -31,11 +31,14 @@ wgPatentURI: "https://www.w3.org/2004/01/pp-impl/46884/status", previousPublishDate: "2013-11-26", previousMaturity: "WD", - xref: "web-platform", + xref: { + profile: "web-platform", + specs: ["hr-time", "permissions", "permissions-policy"], + } }; -
+Some user agents have music devices, such as synthesizers, keyboard and @@ -155,19 +158,38 @@
- {{requestMIDIAccess()}} is a policy-controlled feature, as - defined by [[[Permissions-Policy]]]. -
-- The feature name for {{requestMIDIAccess()}} is `midi`. + The Web Midi API is a [=powerful feature=] that is identified + by the [=powerful feature/name=] "midi". It defines + the following:
++ dictionary MidiPermissionDescriptor : PermissionDescriptor { + boolean sysex = false; + }; ++
+ `{name: "midi", sysex: true}` is [=PermissionDescriptor/stronger than=] `{name: + "midi", sysex: false}`. +
+- The default allowlist for {{requestMIDIAccess()}} is - `["self"]`. + The Web Midi API defines a [=policy-controlled feature=] named + "midi" which has a + default allowlist of `'self'`.
partial interface Navigator { - [SecureContext] + [SecureContext] Promise <MIDIAccess> requestMIDIAccess(optional MIDIOptions options = {}); };