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

Re: [webrtc-pc] Ignore unsupported url types in setConfiguration

From: Philipp Hancke via GitHub <sysbot+gh@w3.org>
Date: Thu, 22 Jun 2017 19:57:20 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-310485711-1498161439-sysbot+gh@w3.org>

```
For each url in server.urls parse url and obtain scheme name. 
If parsing based on the syntax defined in RFC7064 and RFC7065 fails, throw a SyntaxError.
If the scheme name is not implemented by the browser, throw a NotSupportedError.
```
I can make a PR once #1233 is done.

Referencing [RFC 3986](https://tools.ietf.org/html/rfc3986#section-3.1) for 'obtain scheme' seemed overkill at first but... do we have an extensibility issue here since we only reference 7064 and 7065?

-- 
GitHub Notification of comment by fippo
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1346#issuecomment-310485711 using your GitHub account
Received on Thursday, 22 June 2017 19:57:26 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 4 June 2019 15:32:44 UTC