[Bug 17146] [Custom]: Constructor generation algorithm doesn’t create the right prototype chain

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17146

--- Comment #4 from Dominic Cooney <dominicc@chromium.org> 2012-06-04 06:54:11 UTC ---
Looks good.

I am not confident this step is necessary:

Set the [[Construct]] internal method on CONSTRUCTOR

since presumably [[Construct]] is implicitly there by virtue of this being a
function object.

If the spec has non-normative comments, it might be worth pointing out that the
"prototype" property has certain properties specified in the Web IDL spec, just
like the Web IDL spec points out itself for interface objects
<http://www.w3.org/TR/WebIDL/#interface-object> ie the part that reads:

Since an interface object for a non-callback interface is a function object, it
will have a “prototype” property with attributes { [[Writable]]: false,
[[Enumerable]]: false, [[Configurable]]: false }.

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

Received on Monday, 4 June 2012 06:56:14 UTC