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 16:06:26 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-310426517-1498147585-sysbot+gh@w3.org>
How about
1) If the scheme name is implemented and there is a parsing error throw a SyntaxError
2) If th scheme name is not implemented throw a NotSupportedError (consistent with mux policy)
Throwing a SyntaxError on data that is generally valid seems bad.

I think silently ignoring makes developers life a lot easier but that can be considered the job of a library.

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

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