summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJamey Hicks <jamey.hicks@nokia.com>2012-05-21 16:09:23 -0400
committerQt by Nokia <qt-info@nokia.com>2012-05-30 14:28:46 +0200
commitf0d4821c935e9786e3099b5069a16816d3520eb1 (patch)
tree83832b424d49e2190b880ebf15e521787e5ae9b4 /tests
parent433870e976b8b5694d36769d493abeb6a36a9281 (diff)
Add option to enforce javascript strict mode
Add JsonDbSettings::useStrictMode() to control whether jsondb enforces javascript strict mode. To enable: JSONDB_USE_STRICT_MODE=true jsondb Fixes Bug #16114 Change-Id: I01891984d4a2d48a4aaa1b1294d8c993b7b12608 Reviewed-by: Jing Bai <jing.t.bai@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/client/json/index-test.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/client/json/index-test.json b/tests/auto/client/json/index-test.json
index 5b4579ea..9d492fc6 100644
--- a/tests/auto/client/json/index-test.json
+++ b/tests/auto/client/json/index-test.json
@@ -23,7 +23,7 @@
"_type": "Map",
"targetType": "com.test.IndexedView",
"map": {
- "com.test.indextest": "function (o) { v = {'test3': {'nested': o.test2.nested}}; jsondb.emit(v); }"
+ "com.test.indextest": "function (o) { var v = {'test3': {'nested': o.test2.nested}}; jsondb.emit(v); }"
}
},
{