[Webkit-unassigned] [Bug 41937] New: JavaScriptCore C API should provide a way to query property attributes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 9 00:53:25 PDT 2010


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

           Summary: JavaScriptCore C API should provide a way to query
                    property attributes
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kent.hansen at nokia.com


It's possible to pass attributes to JSObjectSetProperty(), but there's no way to query a property's attributes.

The work-around is to call the original value of Object.getOwnPropertyDescriptor and query the properties of the resulting object (e.g. enumerable:false --> kJSPropertyAttributeDontEnum), but that's not so nice.

-- 
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