summaryrefslogtreecommitdiffstats
path: root/tests/auto/qscriptvalue
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-07-28 12:39:29 (GMT)
committerKent Hansen <khansen@trolltech.com>2009-07-28 12:39:29 (GMT)
commit9e6407ac53ffa62439a52beb1adc8169664c569a (patch)
treea81a8b5ef865e343437f0e47929d7a0bf1dd663c /tests/auto/qscriptvalue
parente7a986d9348062297471c2f15b2e577154ebf19c (diff)
downloadQt-9e6407ac53ffa62439a52beb1adc8169664c569a.zip
Qt-9e6407ac53ffa62439a52beb1adc8169664c569a.tar.gz
Qt-9e6407ac53ffa62439a52beb1adc8169664c569a.tar.bz2
don't allow defining getter/setter for __proto__ property
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 f454d2e..ac72c29 100644
--- a/tests/auto/qscriptvalue/tst_qscriptvalue.cpp
+++ b/tests/auto/qscriptvalue/tst_qscriptvalue.cpp
@@ -1942,7 +1942,6 @@ void tst_QScriptValue::getSetProperty()
object6.setProperty("__proto__", fun,
QScriptValue::PropertyGetter | QScriptValue::PropertySetter
| QScriptValue::UserRange);
- QEXPECT_FAIL("", "Getter/setter shouldn't be allowed to change __proto__ (or should it?)", Continue);
QVERIFY(object6.property("__proto__").strictlyEquals(object6.prototype()));
object6.setProperty("__proto__", QScriptValue(),