Bug 88403

Summary: Property delete should not hide static custom getter/setter properties
Product: WebKit Reporter: Gavin Barraclough <barraclough>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Gavin Barraclough
Reported 2012-06-06 02:02:39 PDT
E.g. alert(Object.getOwnPropertyNames(Number)); Number.foo = 42; delete Number.foo; alert(Object.getOwnPropertyNames(Number)); The problem is that getOwnPropertyNames() won't call getClassPropertyNames() if staticFunctionsReified() returns true. However this should only cause Functions in the static tables to be skipped - not custom getter/setter properties (which are not reified to the structure).
Attachments
Gavin Barraclough
Comment 1 2012-06-11 23:15:41 PDT
Ooops, dupe! *** This bug has been marked as a duplicate of bug 86461 ***
Note You need to log in before you can comment on or make changes to this bug.