summaryrefslogtreecommitdiff
path: root/deps/v8/test/webkit/resources/JSON-stringify.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/webkit/resources/JSON-stringify.js')
-rw-r--r--deps/v8/test/webkit/resources/JSON-stringify.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/test/webkit/resources/JSON-stringify.js b/deps/v8/test/webkit/resources/JSON-stringify.js
index 24edafac09..8ea24c4fd9 100644
--- a/deps/v8/test/webkit/resources/JSON-stringify.js
+++ b/deps/v8/test/webkit/resources/JSON-stringify.js
@@ -475,7 +475,7 @@ function createTests() {
});
result.push(function (jsonObject){
var deepObject = {};
- for (var i = 0; i < 1024; i++)
+ for (var i = 0; i < 1000; i++)
deepObject = {next:deepObject};
return jsonObject.stringify(deepObject);
});
@@ -488,7 +488,7 @@ function createTests() {
result.push(function (jsonObject){
var depth = 0;
function toDeepVirtualJSONObject() {
- if (++depth >= 1024)
+ if (++depth >= 1000)
return {};
var r = {};
r.toJSON = toDeepVirtualJSONObject;