Re: [webrtc-pc] Why is setDirection a method?

@alvestrand I don't think there's a complexity limit on attributes compared to methods when it comes to internal algorithms. For all it does, it's updating a user-setting and setting a dirty-flag.

See [binaryType](http://w3c.github.io/webrtc-pc/#dom-rtcdatachannel-binarytype) for an example of an attribute that throws. We'd instead write *"On setting, the user agent MUST run the following steps"*.

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1643#issuecomment-339317484 using your GitHub account

Received on Wednesday, 25 October 2017 12:44:06 UTC