[Bug 12445] Consider making properties corresponding to IDL constants be configurable and unwritable


Travis Leithead [MSFT] <travil@microsoft.com> changed:

           What    |Removed                     |Added
                 CC|                            |travil@microsoft.com

--- Comment #4 from Travis Leithead [MSFT] <travil@microsoft.com> 2011-04-27 06:17:54 UTC ---

We had a similar discussion in IE when deciding what attributes to give "const"
properties. During Beta, we had the properties as configurable, but later
changed our minds and made them fully "const" to emphasize the meaning of the

So now, in IE9 RTM, we have:

>> Object.getOwnPropertyDescriptor(Node, "ELEMENT_NODE") 
    value : 1,
    writable : false,
    enumerable : true,
    configurable : false

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Wednesday, 27 April 2011 06:17:56 UTC