WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
88402
Assigning to a static property should not change attributes
https://bugs.webkit.org/show_bug.cgi?id=88402
Summary
Assigning to a static property should not change attributes
Gavin Barraclough
Reported
2012-06-06 01:54:51 PDT
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.
Attachments
Add attachment
proposed patch, testcase, etc.
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