[Webkit-unassigned] [Bug 88402] New: Assigning to a static property should not change attributes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 6 01:54:51 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=88402

           Summary: Assigning to a static property should not change
                    attributes
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: barraclough at apple.com


Overwriting a static property will create a new entry in the property map, which should inherit the attributes from the static table, but does not.

E.g.
    Math.sin = 42;
    alert(Object.keys(Math.sin))

'sin' is a non-enumerable property of the math object, assigning to it should not make it enumerable.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list