Re: Why is RTCIceCandidate mutable

On 11/4/14, 11:48 PM, Martin Thomson wrote:
>
> On Nov 4, 2014 6:55 PM, "Jan-Ivar Bruaroey" <jib@mozilla.com 
> <mailto:jib@mozilla.com>> wrote:
>
>> why not use required arguments? [1]
>
> I'm talking prose. Throw if required and not present. Not everything 
> has to be in the WebIDL.
>

Agreed, and I'm sad to report that I just got that a bonus of the 
init-dict pattern is that it essentially acts as a copy-constructor for 
free. So yeah, disturbing that would be bad.

> This isn't an event.

Whoops, you're right. Retract what I said (except the +1).

.: Jan-Ivar :.

Received on Wednesday, 5 November 2014 14:36:37 UTC