summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJedrzej Nowacki <jedrzej.nowacki@nokia.com>2009-08-10 14:16:06 (GMT)
committerJedrzej Nowacki <jedrzej.nowacki@nokia.com>2009-08-10 14:16:06 (GMT)
commit8eaa769af308e3c68b4da786d273cfac2f65a973 (patch)
treeba097c0e70de63a2f8eecfca6e0c3570cde17767
parentf5af011ede569bb88ec9b27ff7a65fe99f7d17fd (diff)
parentd5aec8105ab6b3fadea3c2d01f17df9fe20f50dc (diff)
downloadQt-8eaa769af308e3c68b4da786d273cfac2f65a973.zip
Qt-8eaa769af308e3c68b4da786d273cfac2f65a973.tar.gz
Qt-8eaa769af308e3c68b4da786d273cfac2f65a973.tar.bz2
Merge branch 'qtscript-jsc-backend' of git@scm.dev.nokia.troll.no:qt/qt-webkit into qtscript-jsc-backend
-rw-r--r--tests/auto/qscriptengine/tst_qscriptengine.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/qscriptengine/tst_qscriptengine.cpp b/tests/auto/qscriptengine/tst_qscriptengine.cpp
index e0dd173..7fc50d4 100644
--- a/tests/auto/qscriptengine/tst_qscriptengine.cpp
+++ b/tests/auto/qscriptengine/tst_qscriptengine.cpp
@@ -603,6 +603,8 @@ void tst_QScriptEngine::newQObject()
QScriptValue v = eng.newQObject(ptr, QScriptEngine::ScriptOwnership);
}
eng.evaluate("gc()");
+ if (ptr)
+ QEXPECT_FAIL("", "In the JSC-based back-end, script-owned QObjects are not always deleted immediately during GC", Continue);
QVERIFY(ptr == 0);
}
{
@@ -632,6 +634,8 @@ void tst_QScriptEngine::newQObject()
}
eng.evaluate("gc()");
// no parent, so it should be like ScriptOwnership
+ if (ptr)
+ QEXPECT_FAIL("", "In the JSC-based back-end, script-owned QObjects are not always deleted immediately during GC", Continue);
QVERIFY(ptr == 0);
}
{