Index: test/webkit/fast/js/JSON-parse-reviver.js |
diff --git a/test/webkit/fast/js/JSON-parse-reviver.js b/test/webkit/fast/js/JSON-parse-reviver.js |
index 1f04602ee9ce8ee39932c5b07b5c8256f6153fc0..7634031232703013bfca1037a872ade6a137bfe8 100644 |
--- a/test/webkit/fast/js/JSON-parse-reviver.js |
+++ b/test/webkit/fast/js/JSON-parse-reviver.js |
@@ -75,12 +75,13 @@ function arrayReviver(i,v) { |
debug(""); |
debug("Ensure that when visiting a deleted property value is undefined"); |
shouldBeUndefined("value"); |
+ this.length = 3; |
v = "undelete the property"; |
- expectedLength = this.length = 3; |
+ expectedLength = 4; |
break; |
case 4: |
- if (this.length != 3) { |
+ if (this.length != 4) { |
testFailed("Did not call reviver for deleted property"); |
expectedLength = this.length = 3; |
break; |