W3C home > Mailing lists > Public > public-media-capture@w3.org > January 2013

Re: Visibility of class names redux

From: Dominique Hazael-Massieux <dom@w3.org>
Date: Mon, 14 Jan 2013 15:01:30 +0000
Message-ID: <1358175690.2959.4.camel@cumulustier>
To: Harald Alvestrand <harald@alvestrand.no>
Cc: "public-media-capture@w3.org" <public-media-capture@w3.org>
Le lundi 14 janvier 2013 à 13:56 +0100, Harald Alvestrand a écrit :
> The same is true for other WebRTC types such as "MediaStream", "MediaStreamTrack" etc.
> 
> What is the expected behavior?
> stream.constructor === LocalMediaStream should return true
> 
> Well, should it?
> 5. Notice code throws "[Exception: ReferenceError: LocalMediaStream is
not defined]"

LocalMediaStream should be defined per WebIDL, since the interface is
not marked as NoInterfaceObject; I believe the test cases I contributed
back in the spring did show that Chrome was incorrectly not exposing it
in the global namespace.

(that being said, LocalMediaStream is to disappear from getUserMedia :)

Dom
Received on Monday, 14 January 2013 15:02:10 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:03 GMT