Re: clarification on the "_readonly" attribute of MediaStreamTrack

On 10 June 2014 17:06, Shijun Sun <shijuns@microsoft.com> wrote:
> MediaStreamTrack has an attribute in its interface definition called _readonly (including the underscore).  The description refers to it as simply readonly.  Can we get a clarification whether the intent is for script to access this with or w/o the underscore?  Also, should this be in camelCase, e.g. readOnly?

I had this explained as being quite simply a workaround for the fact
that readonly is a reserved word in WebIDL.  Apparently, the
underscore is removed.

Received on Wednesday, 11 June 2014 00:13:23 UTC