summaryrefslogtreecommitdiffstats
path: root/tests/auto/qscriptvalue
diff options
context:
space:
mode:
authorJedrzej Nowacki <jedrzej.nowacki@nokia.com>2009-08-19 14:26:58 (GMT)
committerJedrzej Nowacki <jedrzej.nowacki@nokia.com>2009-08-19 14:26:58 (GMT)
commit7ae701ff4759bdfd12953c6f4d785c2d9241690f (patch)
tree7788e1119d5f5b3e620eb1b8e2a793ee6c828c8e /tests/auto/qscriptvalue
parentbbf514474b2664779229b919b54b4c541157c1d3 (diff)
downloadQt-7ae701ff4759bdfd12953c6f4d785c2d9241690f.zip
Qt-7ae701ff4759bdfd12953c6f4d785c2d9241690f.tar.gz
Qt-7ae701ff4759bdfd12953c6f4d785c2d9241690f.tar.bz2
Fix QScriptValue::objectId().
QScriptValue id were made persistent. It depands on JSC:JSValue JSCell pointer not on QScriptValuePrivate attr. Reviewed-by: Kent Hansen
Diffstat (limited to 'tests/auto/qscriptvalue')
-rw-r--r--tests/auto/qscriptvalue/tst_qscriptvalue.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/qscriptvalue/tst_qscriptvalue.cpp b/tests/auto/qscriptvalue/tst_qscriptvalue.cpp
index 4b8dadd..3fafce9 100644
--- a/tests/auto/qscriptvalue/tst_qscriptvalue.cpp
+++ b/tests/auto/qscriptvalue/tst_qscriptvalue.cpp
@@ -3312,7 +3312,6 @@ void tst_QScriptValue::objectId()
QVERIFY(globalObjectId != -1);
QVERIFY(eng.objectById(globalObjectId).strictlyEquals(global));
}
- QEXPECT_FAIL("", "In JSC back-end, the Global Object's ID does not persist", Continue);
QVERIFY(eng.objectById(globalObjectId).strictlyEquals(eng.globalObject()));
}