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

[webrtc-pc] setIdentityProvider should throw error if protocol contains invalid characters

From: Soares Chen via GitHub <sysbot+gh@w3.org>
Date: Fri, 21 Jul 2017 04:44:13 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-244562900-1500612246-sysbot+gh@w3.org>
soareschen has just created a new issue for https://github.com/w3c/webrtc-pc:

== setIdentityProvider should throw error if protocol contains invalid characters ==
Description for `protocol` field in `RTCIdentityProviderOptions`:

> The name of the protocol that is used by the identity provider. This MUST NOT include '/' (U+002F) or '\' (U+005C) characters. This value defaults to "default" if not provided.

Right now there is no step for validating `protocol` in `setIdentityProvider()`. It should instead throw specific kind of error. (`InvalidAccessError` perhaps?)

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1500 using your GitHub account
Received on Friday, 21 July 2017 04:44:15 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:18:35 UTC