W3C home > Mailing lists > Public > public-webrtc@w3.org > January 2015

Re: RTCStatsType value for datachannel stata

From: Harald Alvestrand <harald@alvestrand.no>
Date: Fri, 23 Jan 2015 11:37:05 +0100
Message-ID: <54C22451.4080801@alvestrand.no>
To: public-webrtc@w3.org
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:18:03 UTC