Home | History | Annotate | Download | only in mjsunit

Lines Matching refs:properties

57   // Check the mirror properties.
85 // Check that the serialization contains all indexed properties and the length property.
87 for (var i = 0; i < fromJSON.properties.length; i++) {
88 if (fromJSON.properties[i].name == 'length') {
90 assertEquals('number', refs.lookup(fromJSON.properties[i].ref).type, "Unexpected type of the length property");
91 assertEquals(a.length, refs.lookup(fromJSON.properties[i].ref).value, "Length mismatch in parsed JSON");
93 var index = parseInt(fromJSON.properties[i].name);
97 // This test assumes that the order of the indexeed properties is in the
101 assertEquals(indexedProperties[index].value().type(), refs.lookup(fromJSON.properties[i].ref).type, 'Unexpected serialized type');
107 // Check that the serialization contains all names properties.
111 for (var j = 0; j < fromJSON.properties.length; j++) {
112 if (names[i] == fromJSON.properties[j].name) {