This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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 ?
Seems reasonable, although in general we shouldn't be defining new constants anyway.
Yeah, constant needs to be legacyconstant...
https://github.com/heycam/webidl/commit/bfe6a2607aa8f49d02dea8b163db79342d37018d