Add name property for function objects
authorLars Knoll <lars.knoll@digia.com>
Sat, 4 May 2013 08:26:54 +0000 (10:26 +0200)
committerSimon Hausmann <simon.hausmann@digia.com>
Sat, 4 May 2013 18:07:04 +0000 (20:07 +0200)
commit0bce4b19f2b376396bb159b3d06246c527c8d7b1
tree1ce1c64dbe28d4a9f6d9c93d366816a3cf9d26c4
parent0d5705fbe411115945bc304b48dc3095f34349a0
Add name property for function objects

This is an extension to ECMAScript, but implemented by both V8 and
JSC. It also fixes quite some of our auto tests.

Change-Id: Id7b868922cb64f1a881ec50f1b40397d6e85d316
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
14 files changed:
src/qml/qml/v4/qv4arrayobject.cpp
src/qml/qml/v4/qv4booleanobject.cpp
src/qml/qml/v4/qv4dateobject.cpp
src/qml/qml/v4/qv4engine.cpp
src/qml/qml/v4/qv4engine_p.h
src/qml/qml/v4/qv4errorobject.cpp
src/qml/qml/v4/qv4errorobject_p.h
src/qml/qml/v4/qv4functionobject.cpp
src/qml/qml/v4/qv4functionobject_p.h
src/qml/qml/v4/qv4globalobject.cpp
src/qml/qml/v4/qv4numberobject.cpp
src/qml/qml/v4/qv4objectproto.cpp
src/qml/qml/v4/qv4regexpobject.cpp
src/qml/qml/v4/qv4stringobject.cpp