W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2012

Re: Should Exceptions be Errors in the ECMAScript bindings?

From: Erik Arvidsson <arv@chromium.org>
Date: Fri, 27 Apr 2012 10:12:36 -0700
Message-ID: <CAJ8+Gog9XjYFZUDxQuZDxGexnHyDakpmos0OumgmC-DFSKdGuA@mail.gmail.com>
To: Travis Leithead <travis.leithead@microsoft.com>
Cc: "public-script-coord@w3.org" <public-script-coord@w3.org>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:06 UTC