This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 20507 - Redundant assertion in requestMIDIAccess()
Summary: Redundant assertion in requestMIDIAccess()
Status: CLOSED FIXED
Alias: None
Product: AudioWG
Classification: Unclassified
Component: MIDI API (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: TBD
Assignee: Chris Wilson
QA Contact: public-audio
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-24 08:20 UTC by Marcos Caceres
Modified: 2013-01-18 15:50 UTC (History)
2 users (show)

See Also:


Attachments

Description Marcos Caceres 2012-12-24 08:20:07 UTC
Because of step 11 of section 5.1.1 Methods, I think the following is assertion is redundant:

"If the user declines or the call is denied, the errorCallback (if any) is invoked."

Please remove it.

As an aside, can we formally name the algorithm that is invoked when the requestMIDIAccess() is invoked? That will make it easier to talk about:

If so, please change the spec from:

"When the requestMIDIAccess method is called, the user agent must run the following steps:"

To:
"When the requestMIDIAccess method is called, the user agent must run the <dfn>algorithm to request MIDI Access</dfn>:"
Comment 2 Olivier Thereaux 2013-01-18 15:50:52 UTC
Batch-closing RESOLVED MIDI issues. Reminder: midi issues now tracked at https://github.com/WebAudio/web-midi-api/issues