W3C home > Mailing lists > Public > public-audio@w3.org > October to December 2012

[Web MIDI API] SHOULD/MUST user permissioning mismatch

From: Marcos Caceres <marcosscaceres@gmail.com>
Date: Sun, 23 Dec 2012 21:36:58 +0000
To: "public-audio@w3.org" <public-audio@w3.org>
Message-ID: <4F24AA178A5B4EBCAFD5A57EE617D608@gmail.com>
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:"
...
7. 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.  
  

--  
Marcos Caceres
http://datadriven.com.au
Received on Sunday, 23 December 2012 21:37:28 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:04 UTC