[Telephony] CallHandler.conference terminology is confusing

> CallHandler.conference [1] conference of type boolean, readonly It MUST return true if the call is a ConferenceCall, otherwise the object MUST be a TelephonyCall object and it MUST return false.

It's really hard to figure out what `the call`, `the object`, and `it` are...

Note that in Navigator.telephony, you use `this object`, which is something that I can understand.

I think field is intended as a "fast" equivalent of `this instanceof ConferenceCall` / `this instanceof TelephonyCall` (note that it's likely to be much slower than instanceof in most engines).

But it also indicates a case of inheritance where one isn't really needed. Iirc there was a discussion during one of the slots (probably messaging) about replacing inheritance with copied out content. The inheritance that you're describing here is an implementation detail, and it's fairly easy to write native code which happens to have this implementation detail w/o exposing this useless detail to JS (see discussion about SMS/MMS).

[1] http://telephony.sysapps.org/#widl-CallHandler-conference

---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

Received on Tuesday, 16 April 2013 20:54:21 UTC