W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > October 2017

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

From: jan-ivar via GitHub <sysbot+gh@w3.org>
Date: Wed, 25 Oct 2017 12:44:03 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-339317484-1508935442-sysbot+gh@w3.org>
@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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:21:47 UTC