Re: Fwd: [Bug 23367] Move exceptions into IDL

On 10/04/2014 08:19 AM, Anne van Kesteren wrote:
> # interface MediaStreamError  : Error
>
> Is not valid IDL. You can't mint your own exceptions. Only IDL is in
> charge of exceptions.
>
>
Thus, I withdraw my proposal.

Thanks for telling us about Yet Another Rule. If you can point at the
part of the spec that says this, I'll be even happier; I missed that
claim when reading the diff and the spec.

So what's the proper form for saying "there exists an object that can
turn up in the failure callback, and it may have a field called
"constraint"?

File a bug against WebIDL?

-- 
Surveillance is pervasive. Go Dark.

Received on Sunday, 5 October 2014 08:29:11 UTC