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.

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:06 UTC