Lines Matching full:property
54 debug("Ensure that returning undefined has removed the property 0 from the holder during filtering.");
61 debug("Ensure that changing the value of a property is reflected while filtering.")
76 debug("Ensure that when visiting a deleted property value is undefined");
78 v = "undelete the property";
84 testFailed("Did not call reviver for deleted property");
90 testPassed("Ensured that property was visited despite Array length being reduced.");
97 testFailed("Visited unexpected property " + i + " with value " + v);
119 debug("Ensure that we get the same holder object for each property");
124 case "a property":
128 shouldBe("currentHolder['a property']", '"a value"');
129 shouldBe("currentHolder['another property']", '"another value"');
130 shouldBe("currentHolder['and another property']", '"and another value"');
134 case "another property":
136 debug("Ensure that returning undefined has correctly removed the property 'a property' from the holder object");
137 shouldBeFalse("currentHolder.hasOwnProperty('a property')");
138 currentHolder['and another property'] = "a replaced value";
141 case "and another property":
142 debug("Ensure that changing the value of a property is reflected while filtering.");
143 shouldBe("currentHolder['and another property']", '"a replaced value"');
157 debug("Ensure that when visiting a deleted property value is undefined");
159 v = "undelete the property";
160 this["new property"] = "fail";
163 testFailed("Visited unexpected property " + i + " with value " + v);
174 var result = JSON.parse('{"a property" : "a value", "another property" : "another value", "and another property" : "and another value", "to delete" : "will be deleted"}', objectReviver);
178 shouldBeFalse("result.hasOwnProperty('a property')");