W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > July 2019

[webrtc-pc] Use consistent internal slot terminology (editorial) (#2226)

From: Jan-Ivar Bruaroey via GitHub <sysbot+gh@w3.org>
Date: Wed, 10 Jul 2019 23:37:05 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issues.opened-466576577-1562801824-sysbot+gh@w3.org>
jan-ivar has just created a new issue for https://github.com/w3c/webrtc-pc:

== Use consistent internal slot terminology (editorial) ==
There are 94 matches for `.[[`, and 165 matches for `'s [[`. It's

> Set *connection*.[[CurrentLocalDescription]] to *connection*.[[PendingLocalDescription]].

vs.

> Set *connection*'s [[CurrentLocalDescription]] internal slot to *connection*'s [[PendingLocalDescription]] internal slot.

We should pick one and be consistent.

I'm partial to the former since it's more compact and predominant in [ECMAScript](https://tc39.es/ecma262/).

Thoughts?

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2226 using your GitHub account
Received on Wednesday, 10 July 2019 23:37:06 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:22:25 UTC