Re: Should Exceptions be Errors in the ECMAScript bindings?

On Wed, Apr 18, 2012 at 12:09, Travis Leithead
<travis.leithead@microsoft.com> wrote:
> I believe that WebIDL currently requires that DOM exceptions inherit from the ES "Error" prototype. This effectively makes them Errors for most purposes.

I don't see that anywhere in WebIDL.

Also, IE does not make DOM exceptions have Error.prototype on their
prototype chain.

-- 
erik

Received on Friday, 27 April 2012 17:13:30 UTC