summaryrefslogtreecommitdiffstats
path: root/tests/auto/qscriptcontext/tst_qscriptcontext.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-10-06 16:46:43 +0200
committerOlivier Goffart <ogoffart@trolltech.com>2009-10-06 17:16:50 +0200
commit96b047f0f27674ee402ab3624dbb906346ac1847 (patch)
treecae317a31a3d4e60ac6e8057e10af33ba360555b /tests/auto/qscriptcontext/tst_qscriptcontext.cpp
parentd17a315a082a8cb5d7f3f5ae47dabbe721982e2c (diff)
QScriptContext::parentContext: don't skip unessecary frames
Calling QScriptValue::call doesn't create a fake frame. We can detect a real fake frame as it does not have a callee. Task-number: QT-2270 Reviewed-by: Kent Hansen
Diffstat (limited to 'tests/auto/qscriptcontext/tst_qscriptcontext.cpp')
-rw-r--r--tests/auto/qscriptcontext/tst_qscriptcontext.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/qscriptcontext/tst_qscriptcontext.cpp b/tests/auto/qscriptcontext/tst_qscriptcontext.cpp
index 89f8a5cfe0..a0af214572 100644
--- a/tests/auto/qscriptcontext/tst_qscriptcontext.cpp
+++ b/tests/auto/qscriptcontext/tst_qscriptcontext.cpp
@@ -1235,7 +1235,6 @@ void tst_QScriptContext::parentContextCallee_QT2270()
QScriptValue fun = engine.evaluate("(function() { return getParentContextCallee(); })");
QVERIFY(fun.isFunction());
QScriptValue callee = fun.call();
- QEXPECT_FAIL("", "QT-2270: Incorrect parentContext() returned for native call", Abort);
QVERIFY(callee.equals(fun));
}