WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 86461
88403
Property delete should not hide static custom getter/setter properties
https://bugs.webkit.org/show_bug.cgi?id=88403
Summary
Property delete should not hide static custom getter/setter properties
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
Add attachment
proposed patch, testcase, etc.
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.
Top of Page
Format For Printing
XML
Clone This Bug