summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-10-06 14:46:43 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-10-06 15:16:50 (GMT)
commit96b047f0f27674ee402ab3624dbb906346ac1847 (patch)
treecae317a31a3d4e60ac6e8057e10af33ba360555b /tests
parentd17a315a082a8cb5d7f3f5ae47dabbe721982e2c (diff)
downloadQt-96b047f0f27674ee402ab3624dbb906346ac1847.zip
Qt-96b047f0f27674ee402ab3624dbb906346ac1847.tar.gz
Qt-96b047f0f27674ee402ab3624dbb906346ac1847.tar.bz2
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')
-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 89f8a5cf..a0af214 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));
}