aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4argumentsobject_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2018-03-15 16:40:36 +0100
committerLars Knoll <lars.knoll@qt.io>2018-04-26 20:26:56 +0000
commit7e854bc568b662a068a1aea60da03653bc08a235 (patch)
tree7bee92ba2c7837f0837cc698fa2e3cbe44d5f201 /src/qml/jsruntime/qv4argumentsobject_p.h
parentc68dc99c92480b7794d4866602fc8a6fb0439a7a (diff)
Clean up handling of the 'caller' property
This brings it closer in line with the ES8 spec. Also remove a couple of tests testing the 'caller' property of non strict functions, as it's not mandated by the spec and we never set it. Change-Id: Icece8a03989c474df1eae0e4e77b356e49575b32 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4argumentsobject_p.h')
-rw-r--r--src/qml/jsruntime/qv4argumentsobject_p.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4argumentsobject_p.h b/src/qml/jsruntime/qv4argumentsobject_p.h
index d163bbaf88..9264f938e2 100644
--- a/src/qml/jsruntime/qv4argumentsobject_p.h
+++ b/src/qml/jsruntime/qv4argumentsobject_p.h
@@ -95,8 +95,7 @@ DECLARE_HEAP_OBJECT(ArgumentsObject, Object) {
DECLARE_HEAP_OBJECT(StrictArgumentsObject, Object) {
enum {
LengthPropertyIndex = 0,
- CalleePropertyIndex = 1,
- CallerPropertyIndex = 3
+ CalleePropertyIndex = 1
};
void init(CppStackFrame *frame);
};