Re: Visibility of class names redux

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 UTC