Re: [mediacapture-main] rough draft of new PermissionDeniedError object

@domenic , we have a need to give back errors that allow Javascript to
 take different decisions based on something predictable (that is - 
*not message*).
So far, we've used the name field for distinguishing the error. If 
Ecmascript says you have to pollute the namespace when having 
different values in the name field .... I don't see how we can avoid 
polluting the namespace.

We're already pretty close to the minimum set we need - either we have
 to have those names, or we'll have to find some other way to make 
distinguishable errors that Javascript can use.

What's your advice?

-- 
GitHub Notif of comment by alvestrand
See 
https://github.com/w3c/mediacapture-main/pull/170#issuecomment-104293907

Received on Thursday, 21 May 2015 14:22:09 UTC