From 65a400084b888b12165a47b3474412c080b1422d Mon Sep 17 00:00:00 2001
From: Kent Hansen <khansen@trolltech.com>
Date: Mon, 10 Aug 2009 11:34:22 +0200
Subject: make the global object properties test pass

Accept the presence of a JSON object.
---
 tests/auto/qscriptengine/tst_qscriptengine.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/auto/qscriptengine/tst_qscriptengine.cpp b/tests/auto/qscriptengine/tst_qscriptengine.cpp
index 896a860..f7dc924 100644
--- a/tests/auto/qscriptengine/tst_qscriptengine.cpp
+++ b/tests/auto/qscriptengine/tst_qscriptengine.cpp
@@ -1054,6 +1054,8 @@ void tst_QScriptEngine::globalObjectProperties()
         << "gc"
         << "version"
         << "print"
+        // JavaScriptCore
+        << "JSON"
         ;
     QSet<QString> actualNames;
     {
@@ -1073,7 +1075,6 @@ void tst_QScriptEngine::globalObjectProperties()
             remainingNames.remove(name);
         }
     }
-    QEXPECT_FAIL("", "JSC global object has extra properties (JSON and jscprint)", Abort);
     QVERIFY(remainingNames.isEmpty());
 }
 
-- 
cgit v0.12