diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2013-06-07 12:05:42 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@digia.com> | 2013-06-07 18:33:30 +0200 |
commit | 079749a507fed36bbb1074c483c778a8afad2fbc (patch) | |
tree | d4c47ffea7cda7fd486929e839ae86ca2604fd70 /tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp | |
parent | 39a51bf9754071348e47f919c60344f3d6849106 (diff) |
Fix tst_qqmlecmascript::signalArguments
Don't check for arguments.callee, which is only available in non-strict
mode
Change-Id: I90851862e36e5bc7c518198f9fe5672178a3ec58
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp')
-rw-r--r-- | tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp b/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp index 93621365d5..f1142ac870 100644 --- a/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp +++ b/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp @@ -546,7 +546,6 @@ void tst_qqmlecmascript::signalArguments() emit object->basicSignal(); QCOMPARE(object->string(), QString("pass")); QCOMPARE(object->property("argumentCount").toInt(), 0); - QCOMPARE(object->property("calleeCorrect").toBool(), true); delete object; } @@ -558,7 +557,6 @@ void tst_qqmlecmascript::signalArguments() emit object->argumentSignal(19, "Hello world!", 10.25, MyQmlObject::EnumValue4, Qt::RightButton); QCOMPARE(object->string(), QString("pass 19 Hello world! 10.25 3 2")); QCOMPARE(object->property("argumentCount").toInt(), 5); - QCOMPARE(object->property("calleeCorrect").toBool(), true); delete object; } } |