7 Commits

Author SHA1 Message Date
nboyd%atg.com
27b9544d78 Make Object.defineProperty work for builtin properties such as Math.pow, or JSON.stringify
Patch from Raphael Speyer


git-svn-id: svn://10.0.0.236/trunk@258024 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-09 02:57:40 +00:00
nboyd%atg.com
eea8cc1e97 Made getOwnPropertDescriptor use the actual attributes for builtins, rather
than the isMethod heuristic.

Patch from Raphael Speyer.


git-svn-id: svn://10.0.0.236/trunk@258016 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-08 20:56:57 +00:00
nboyd%atg.com
6d18c3d6df For getters and setters of accessor propeties, make being absent equivalent
to having value undefined

As per 8.6.1 Table 3.

Patch from Raphael Speyer.


git-svn-id: svn://10.0.0.236/trunk@257969 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-07 14:04:34 +00:00
nboyd%atg.com
2834b2b86d Ensure that getters/setters defined through defineProperty are actually used
Patch from Raphael Speyer


git-svn-id: svn://10.0.0.236/trunk@257805 18797224-902f-48f8-a5cc-f745e15eee43
2009-07-27 14:59:56 +00:00
nboyd%atg.com
4ae1785e0c Make getOwnPropertyDescriptor and defineProperty work property for arrays.
Allows getting and setting attributes on index properties when the array is in
dense mode.


git-svn-id: svn://10.0.0.236/trunk@257702 18797224-902f-48f8-a5cc-f745e15eee43
2009-07-15 15:47:58 +00:00
nboyd%atg.com
e28c614fba ES5: create, defineProperty and defineProperties
Patch from Raphael Speyer


git-svn-id: svn://10.0.0.236/trunk@257475 18797224-902f-48f8-a5cc-f745e15eee43
2009-06-12 11:47:23 +00:00
nboyd%atg.com
95aabea269 Bug 489329 - implement new Object constructor methods from ecmascript 5 spec
git-svn-id: svn://10.0.0.236/trunk@257419 18797224-902f-48f8-a5cc-f745e15eee43
2009-06-05 12:08:59 +00:00