-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/104680/
-----------------------------------------------------------

Review request for kdelibs.


Description
-------

kjs: All prototype constructor should be [[Writable]]: true, [[Enumerable]]: 
false, [[Configurable]]: true


As said in ECMA Edition 5.1r6 - 15.1:

"Unless otherwise specified, the standard built-in properties of the global 
object have attributes {[[Writable]]: true, [[Enumerable]]: false, 
[[Configurable]]: true}."

And it is not otherwise specified.


Diffs
-----

  kjs/interpreter.cpp cf1acf1 

Diff: http://git.reviewboard.kde.org/r/104680/diff/


Testing
-------

Confirmed by ecmascript tests checking the attributes of 
*.prototype.constrictor with Object.getOwnPropertyDescriptor
like
Object.getOwnPropertyDescriptor(Date.prototype, "constructor");


Thanks,

Bernd Buschinski

Reply via email to