diff options
-rw-r--r-- | src/qml/qml/v4/qv4globalobject.cpp | 4 | ||||
-rw-r--r-- | tests/manual/v4/TestExpectations | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/qml/qml/v4/qv4globalobject.cpp b/src/qml/qml/v4/qv4globalobject.cpp index 520fab6c96..0d4da29e2a 100644 --- a/src/qml/qml/v4/qv4globalobject.cpp +++ b/src/qml/qml/v4/qv4globalobject.cpp @@ -387,8 +387,8 @@ Value EvalFunction::evalCall(ExecutionContext *parentContext, Value /*thisObject needsActivation = function->needsActivation(); if (strictMode) { - CallContext *k = ctx->engine->newCallContext(this, ctx->thisObject, 0, 0); - ctx = k; + FunctionObject *e = engine->newScriptFunction(ctx, function); + return e->call(ctx->thisObject, 0, 0); } ExecutionContext::EvalCode evalCode; diff --git a/tests/manual/v4/TestExpectations b/tests/manual/v4/TestExpectations index b602e0816b..17cdc3b3c3 100644 --- a/tests/manual/v4/TestExpectations +++ b/tests/manual/v4/TestExpectations @@ -5,8 +5,6 @@ 10.4.3-1-104 failing 10.4.3-1-106 failing -10.4.3-1-63-s failing -10.4.3-1-82-s failing 11.2.3-3_3 failing S11.8.6_A5_T2 failing S13_A15_T4 failing |