Writing to a property of a frozen object doesn't throw a type error
exception in non-strict mode.
Change-Id: I408078a2a09d16868b95f275f13f2f7a176f66e9
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
QTest::newRow("script, writing + readonly constraints")
<< testFileUrl("singletontype/scriptSingletonTypeWriting.qml")
<< QString()
- << (QStringList() <<
- QString(testFileUrl("singletontype/scriptSingletonTypeWriting.qml").toString() + QLatin1String(":21: TypeError: Cannot assign to read-only property \"scriptTestProperty\"")))
+ << (QStringList())
<< (QStringList() << "readBack" << "unchanged")
<< (QVariantList() << 15 << 42)
<< (QStringList() << "firstProperty" << "secondProperty")