summaryrefslogtreecommitdiffstats
path: root/tests/auto/qscriptengine
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-08-06 09:21:59 (GMT)
committerKent Hansen <khansen@trolltech.com>2009-08-06 09:23:19 (GMT)
commit4614dfe4105bfb6bf6b248a5223650fd370edbb2 (patch)
tree23a3d078fc35fa68ad3c868b93b7e3d8f83c2b0f /tests/auto/qscriptengine
parentf91445b42ecfeb1184d82d1ed67c5e98c16a3442 (diff)
downloadQt-4614dfe4105bfb6bf6b248a5223650fd370edbb2.zip
Qt-4614dfe4105bfb6bf6b248a5223650fd370edbb2.tar.gz
Qt-4614dfe4105bfb6bf6b248a5223650fd370edbb2.tar.bz2
give Error constructors DontEnum attribute
As per ECMA-262, chapter 15.
Diffstat (limited to 'tests/auto/qscriptengine')
-rw-r--r--tests/auto/qscriptengine/tst_qscriptengine.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/auto/qscriptengine/tst_qscriptengine.cpp b/tests/auto/qscriptengine/tst_qscriptengine.cpp
index 7f22316..fca0983 100644
--- a/tests/auto/qscriptengine/tst_qscriptengine.cpp
+++ b/tests/auto/qscriptengine/tst_qscriptengine.cpp
@@ -1002,22 +1002,16 @@ void tst_QScriptEngine::globalObjectProperties()
QVERIFY(global.property("Error").isFunction());
QCOMPARE(global.propertyFlags("Error"), QScriptValue::SkipInEnumeration);
QVERIFY(global.property("EvalError").isFunction());
- QEXPECT_FAIL("", "[ECMA compliance] JSC doesn't set DontEnum flag for Error constructors", Continue);
QCOMPARE(global.propertyFlags("EvalError"), QScriptValue::SkipInEnumeration);
QVERIFY(global.property("RangeError").isFunction());
- QEXPECT_FAIL("", "[ECMA compliance] JSC doesn't set DontEnum flag for Error constructors", Continue);
QCOMPARE(global.propertyFlags("RangeError"), QScriptValue::SkipInEnumeration);
QVERIFY(global.property("ReferenceError").isFunction());
- QEXPECT_FAIL("", "[ECMA compliance] JSC doesn't set DontEnum flag for Error constructors", Continue);
QCOMPARE(global.propertyFlags("ReferenceError"), QScriptValue::SkipInEnumeration);
QVERIFY(global.property("SyntaxError").isFunction());
- QEXPECT_FAIL("", "[ECMA compliance] JSC doesn't set DontEnum flag for Error constructors", Continue);
QCOMPARE(global.propertyFlags("SyntaxError"), QScriptValue::SkipInEnumeration);
QVERIFY(global.property("TypeError").isFunction());
- QEXPECT_FAIL("", "[ECMA compliance] JSC doesn't set DontEnum flag for Error constructors", Continue);
QCOMPARE(global.propertyFlags("TypeError"), QScriptValue::SkipInEnumeration);
QVERIFY(global.property("URIError").isFunction());
- QEXPECT_FAIL("", "[ECMA compliance] JSC doesn't set DontEnum flag for Error constructors", Continue);
QCOMPARE(global.propertyFlags("URIError"), QScriptValue::SkipInEnumeration);
QVERIFY(global.property("Math").isObject());
QVERIFY(!global.property("Math").isFunction());