Fix access rights for builtin properties
authorLars Knoll <lars.knoll@digia.com>
Wed, 12 Dec 2012 23:53:04 +0000 (00:53 +0100)
committerSimon Hausmann <simon.hausmann@digia.com>
Wed, 12 Dec 2012 15:07:18 +0000 (16:07 +0100)
commitc28f8c7b409fdd7214bb721c4192374786ec682f
tree7df99ac24c439f6349593d2723af5e40ace6ba0a
parent949303cd7da0edcab235bc19d5fad7d4af7eaed3
Fix access rights for builtin properties

According to the spec all builtin properties have
writable: true, enumerable: false and configurable:true
by default. This is what is now being used. Some constants
have all attributes set to false, and there is an extra
method for setting these readonly properties.

Change-Id: If5ba875bcc9f1644aa8a07a2d9b37716bf228e12
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
qmljs_engine.cpp
qmljs_objects.cpp
qmljs_objects.h
qv4ecmaobjects.cpp