Originally reported on W3C Bugzilla ISSUE-20509 Mon, 24 Dec 2012 08:21:52 GMT
Reported by Marcos Caceres
Assigned to This bug has no owner yet - up for the taking
The spec says:
"This call SHOULD prompt the user for access to MIDI devices. If the user gives express permission or the call is otherwise approved, successCallback is invoked, with a MIDIAccess object as its argument."
But then it says:
[[
"When the requestMIDIAccess method is called, the user agent MUST run the following steps:"
...
Prompt the user in a user-agent-specific manner for permission to provide the entry script's origin with a MIDIAccess object representing control over user's MIDI devices.
]]
I think the first assertion should be dropped (i.e., delete "This call SHOULD…"). And in 7. the word "optionally, " should be prefixed to the step.
The spec says:
"This call SHOULD prompt the user for access to MIDI devices. If the user gives express permission or the call is otherwise approved, successCallback is invoked, with a MIDIAccess object as its argument."
But then it says: [[ "When the requestMIDIAccess method is called, the user agent MUST run the following steps:" ...
I think the first assertion should be dropped (i.e., delete "This call SHOULD…"). And in 7. the word "optionally, " should be prefixed to the step.