summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-10-06 14:46:43 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2009-10-07 03:03:39 (GMT)
commite217acd793f6ebefaba8534e2a2e50ded203da9c (patch)
tree211edee44349cc2a40024c3d9b8d9f543565ac96 /tests
parent228cb95786d3362467ac9870dafd9e1d1df20480 (diff)
downloadQt-e217acd793f6ebefaba8534e2a2e50ded203da9c.zip
Qt-e217acd793f6ebefaba8534e2a2e50ded203da9c.tar.gz
Qt-e217acd793f6ebefaba8534e2a2e50ded203da9c.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 (cherry picked from commit 96b047f0f27674ee402ab3624dbb906346ac1847)
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));
}