- From: jan-ivar via GitHub <sysbot+gh@w3.org>
- Date: Sat, 02 Apr 2016 00:51:29 +0000
- To: public-media-capture-logs@w3.org
I think you mean *Event* has a `type` field. > So why does "ErrorEvent.name" return anything at all? TIL that Error *does* in fact [have a name field](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error/name#Throwing_a_custom_error), just not a constructor for it. Who knew. Even so, by going with the html one, we can throw whatever, be `Error`, `TypeError` etc. or `DOMException`, we're not limited. -- GitHub Notification of comment by jan-ivar Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/335#issuecomment-204619366 using your GitHub account
Received on Saturday, 2 April 2016 00:51:30 UTC