W3C home > Mailing lists > Public > public-script-coord@w3.org > January to March 2015

[Bug 22808] Throw if object is constructed without new

From: <bugzilla@jessica.w3.org>
Date: Mon, 09 Feb 2015 17:20:26 +0000
To: public-script-coord@w3.org
Message-ID: <bug-22808-3890-gbrWSoI8pf@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22808

Allen Wirfs-Brock <allen@wirfs-brock.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |allen@wirfs-brock.com

--- Comment #15 from Allen Wirfs-Brock <allen@wirfs-brock.com> ---
(In reply to Domenic Denicola from comment #14)
> I'd rather do the default [[Call]] and set functionKind. functionKind might
> be used for other things (maybe it already is?) and in general uniformity
> with ES6 seems better.

the "default call" and the [[FunctionKind]] slots are specific to "ECMASCript
Language functions".  In other words, functions whose body are implemented
using ECMAScript code. 

You want to enable WebIDL methods to be implemented as ECMAScript functions but
you don't want to require it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Monday, 9 February 2015 17:20:35 UTC

This archive was generated by hypermail 2.3.1 : Monday, 9 February 2015 17:20:35 UTC