Get rid of __get__ implementation in ErrorObject
authorSimon Hausmann <simon.hausmann@digia.com>
Fri, 18 Jan 2013 12:28:00 +0000 (13:28 +0100)
committerLars Knoll <lars.knoll@digia.com>
Fri, 18 Jan 2013 15:28:16 +0000 (16:28 +0100)
commit8ac781f35e7eb7c7d36ab40c86b604c3a8c52717
tree5459a7485aa60c10bcc8a69b238679f5e654d8b7
parent4a52bc9867b92843b2cd839269132aba0e104e7c
Get rid of __get__ implementation in ErrorObject

As a step towards making __get__ non-virtual we can implement the message
property instead using run-time initialization.

The Error.prototype object must also provide a message property with
the empty string as initial value (15.11.4.3).

Change-Id: If8a7fd828e6c6fa6e20607505b392d0bda71f90a
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
main.cpp
qmljs_engine.cpp
qmljs_objects.cpp
qmljs_objects.h
qv4ecmaobjects.cpp
qv4ecmaobjects_p.h
tests/TestExpectations