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

[Bug 20515] New: is the MIDIAccess object a singleton?

From: <bugzilla@jessica.w3.org>
Date: Tue, 25 Dec 2012 21:25:43 +0000
To: public-audio@w3.org
Message-ID: <bug-20515-5429@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20515

            Bug ID: 20515
           Summary: is the MIDIAccess object a singleton?
    Classification: Unclassified
           Product: AudioWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: MIDI API
          Assignee: dave.null@w3.org
          Reporter: w3c@marcosc.com
        QA Contact: public-audio@w3.org

As in: 

a = navigator.requestMIDIAccess();
b = navigator.requestMIDIAccess();

a === b? 

In the spec, this is currently unclear in 5.1.1:
"success: Let access be the MIDIAccess object for which access has been
granted."

Which kinda reads like the spec is assuming requestMIDIAccess() will not be
called repeatedly.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 25 December 2012 21:25:44 UTC

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