- From: Lennart Grahl via GitHub <sysbot+gh@w3.org>
- Date: Mon, 26 Mar 2018 20:21:42 +0000
- To: public-webrtc@w3.org
lgrahl has just created a new issue for https://github.com/w3c/webrtc-pc: == DOMException(name=<Exception>) or instances of <Exception>? == There are a bunch of exceptions that should be raised in various circumstances defined by the spec. Are these of... 1. type `DOMException` with `.name` set (to for example `TypeError`, `OperationError`, ...), or 2. type `TypeError`, `OperationError`, etc. Since `OperationError` doesn't seem a valid standalone exception class and we're using `OperationError` in the spec, I would assume 1. is correct. But the WPTs use `TypeError` all the time and there are plenty of tests that pass with this assumption... So, what's correct? Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1817 using your GitHub account
Received on Monday, 26 March 2018 20:21:47 UTC