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

[Bug 28602] New: Add additional restrictions for constants?

From: <bugzilla@jessica.w3.org>
Date: Mon, 04 May 2015 21:44:13 +0000
To: public-script-coord@w3.org
Message-ID: <bug-28602-3890@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28602

            Bug ID: 28602
           Summary: Add additional restrictions for constants?
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebIDL
          Assignee: cam@mcc.id.au
          Reporter: travil@microsoft.com
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-script-coord@w3.org

For constants, the spec calls out that the 'prototype' name is reserved:

>> The identifier of a constant MUST NOT be the same as the identifier of another interface member defined on the same interface. The identifier also MUST NOT be “prototype”. 

Should we add exceptions for various other instance-level built-in names for
things on Function, e.g.,:
* name
* length
?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Monday, 4 May 2015 21:44:14 UTC

This archive was generated by hypermail 2.3.1 : Monday, 4 May 2015 21:44:15 UTC