[Bug 22808] Throw if object is constructed without new

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