- From: Boris Zbarsky <notifications@github.com>
- Date: Thu, 25 Feb 2016 08:16:23 -0800
- To: heycam/webidl <webidl@noreply.github.com>
Received on Thursday, 25 February 2016 16:16:53 UTC
In Gecko, `DOMException.prototype.hasOwnProperty("toString")` is false. However, Gecko implements this sentence from the spec you link to: > The DOMException prototype object MUST have an internal [[Prototype]] property whose value is %ErrorPrototype% ([ECMA-262], section 6.1.7.4). and if you look at http://www.ecma-international.org/ecma-262/6.0/#sec-error.prototype.tostring you will see that it does precisely the `this.name + ": " + this.message` with some complications if name or message undefined. So this seems to be perfectly well defined already, and implemented as written by Gecko... what am I missing? --- Reply to this email directly or view it on GitHub: https://github.com/heycam/webidl/issues/93#issuecomment-188859636
Received on Thursday, 25 February 2016 16:16:53 UTC