Re: RTCStatsType value for datachannel stata

On 01/22/2015 08:20 PM, Jan-Ivar Bruaroey wrote:
> On 1/20/15 11:42 AM, Harald Alvestrand wrote:
>> There's also an issue with the fact that enums don't support partial, 
>> the way interfaces do, so according to WebIDL formality, we're stuck 
>> with having to define them once.
>>
>> We may be better off with strings here; in Javascript, they're 
>> strings anyway, so might as well admit it in the WebIDL API too.
>
> Turns out there's a bug on partial enums, so I've raised this question 
> with a reference to the bug [1].
>
> [1] 
> https://lists.w3.org/Archives/Public/public-script-coord/2015JanMar/0057.html
>
> .: Jan-Ivar :.
>
>
I don't want to depend on webIDL features that might or might not 
happen; I'm fine with converting to DOMString now and leaving a note (in 
the bugtracker?) that we should consider moving back to enum once bug 
xxxx is resolved in a way we find useful.

Received on Friday, 23 January 2015 10:37:35 UTC