Lines Matching refs:fromJSON
76 var fromJSON = eval('(' + json + ')');
77 assertEquals('object', fromJSON.type, 'Unexpected mirror type in JSON');
78 assertEquals('Array', fromJSON.className, 'Unexpected mirror class name in JSON');
79 …assertEquals(mirror.constructorFunction().handle(), fromJSON.constructorFunction.ref, 'Unexpected …
80 …assertEquals('function', refs.lookup(fromJSON.constructorFunction.ref).type, 'Unexpected construct…
81 …assertEquals('Array', refs.lookup(fromJSON.constructorFunction.ref).name, 'Unexpected constructor …
82 assertEquals(void 0, fromJSON.namedInterceptor, 'No named interceptor expected in JSON');
83 assertEquals(void 0, fromJSON.indexedInterceptor, 'No indexed interceptor expected in JSON');
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 lengt…
91 …assertEquals(a.length, refs.lookup(fromJSON.properties[i].ref).value, "Length mismatch in parsed J…
93 var index = parseInt(fromJSON.properties[i].name);
101 …assertEquals(indexedProperties[index].value().type(), refs.lookup(fromJSON.properties[i].ref).type…
111 for (var j = 0; j < fromJSON.properties.length; j++) {
112 if (names[i] == fromJSON.properties[j].name) {