[Bug 16471] Exception "type"


--- Comment #8 from Cameron McCormack <cam@mcc.id.au> 2012-03-21 22:22:56 UTC ---
The structure of the spec, generally, is that section 3 describes IDL,
independent of language bindings, and section 4 describes how IDL constructs
correspond to things in an ECMAScript environment.  So you would read
#idl-exceptions to see what they are in IDL, and what author conformance
criteria there are.  Then you would read the sections related to exceptions in
section 4 (4.9, 4.10 and 4.11) to see what ECMAScript implementation
requirements there are.

Note that you can click on the defining instance of the term "type" in
#idl-exceptions and it will show you where that term is referenced in the rest
of the spec.

I used the term "type" here because I thought "name" would sound more like the
identifier of the exception, and for DOMExceptions those two things are not the

Marcos, if you have any specific suggestions for changes to the spec please
make them.

Travis, do you think the spec should change wrt the name property?  How does
your stringifier differ from the one inherited from Error.prototype?

Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Wednesday, 21 March 2012 22:22:59 UTC