- From: <bugzilla@jessica.w3.org>
- Date: Fri, 28 Dec 2012 12:02:08 +0000
- To: public-script-coord@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20528 Bug ID: 20528 Summary: Definition of [[Prototype]] for the interface prototype object is confusing Classification: Unclassified Product: WebAppsWG Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: P2 Component: WebIDL Assignee: cam@mcc.id.au Reporter: Ms2ger@gmail.com QA Contact: public-webapps-bugzilla@w3.org CC: mike@w3.org, public-script-coord@w3.org > The interface prototype object for a given interface A MUST have > an internal [[Prototype]] property whose value is as follows: > > 1. If A is declared with the [NamedPropertiesObject] extended > attribute, then the value of the internal [[Prototype]] > property of A is the named properties object for A, as defined > in section 4.4.4 below. > 2. Otherwise, if A is not declared to inherit from another > interface, then the value of the internal [[Prototype]] > property of A is the Array prototype object ([ECMA-262], > section 15.4.4) if the interface was declared with > [ArrayClass], or the Object prototype object otherwise > ([ECMA-262], section 15.2.4). > 3. Otherwise, the value of the internal [[Prototype]] property of > A is the interface prototype object for the inherited interface. refers repeatedly to "the internal [[Prototype]] property of A", but A is an interface. IMO, it would make more sense to structure this part as: > The interface prototype object for a given interface A MUST have > an internal [[Prototype]] property whose value is returned by the > following steps: > > 1. If A is declared with the [NamedPropertiesObject] extended > attribute, return the named properties object for A, as > defined in section 4.4.4 below. > 2. ... > 3. ... -- You are receiving this mail because: You are on the CC list for the bug.
Received on Friday, 28 December 2012 12:02:14 UTC