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

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