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

[webrtc-pc] Overloaded operations disallowed across partial interfaces in WebIDL (#2289)

From: Dominique Hazael-Massieux via GitHub <sysbot+gh@w3.org>
Date: Thu, 05 Sep 2019 14:11:56 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issues.opened-489780784-1567692715-sysbot+gh@w3.org>
dontcallmedom has just created a new issue for https://github.com/w3c/webrtc-pc:

== Overloaded operations disallowed across partial interfaces in WebIDL ==
[WebIDL disallows defining overloaded operations across partial interfaces](https://heycam.github.io/webidl/#idl-overloading):
> Operations must not be overloaded across interface, partial interface, interface mixin, and partial interface mixin definitions.

(this has been disallowed [for a very long time](https://github.com/heycam/webidl/commit/bae069cc35773c1d2ed0efdc1829cd7fa924a5b4))

This means our approach in splitting the legacy versions of the operations in a partial interface is invalid from a WebIDL perspective.

(this emerged as part of looking at a ReSpec upgrade for #2282 - see also https://github.com/w3c/respec/issues/2495)

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2289 using your GitHub account
Received on Thursday, 5 September 2019 14:11:58 UTC

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