Lines Matching refs:mirror
45 var mirror = debug.MakeMirror(a);
47 var json = JSON.stringify(serializer.serializeValue(mirror));
52 assertTrue(mirror instanceof debug.Mirror, 'Unexpected mirror hierachy');
53 assertTrue(mirror instanceof debug.ValueMirror, 'Unexpected mirror hierachy');
54 assertTrue(mirror instanceof debug.ObjectMirror, 'Unexpected mirror hierachy');
55 assertTrue(mirror instanceof debug.ArrayMirror, 'Unexpected mirror hierachy');
58 assertTrue(mirror.isArray(), 'Unexpected mirror');
59 assertEquals('object', mirror.type(), 'Unexpected mirror type');
60 assertFalse(mirror.isPrimitive(), 'Unexpected primitive mirror');
61 assertEquals('Array', mirror.className(), 'Unexpected mirror class name');
62 …assertTrue(mirror.constructorFunction() instanceof debug.ObjectMirror, 'Unexpected mirror hierachy…
63 …assertEquals('Array', mirror.constructorFunction().name(), 'Unexpected constructor function name');
64 assertTrue(mirror.protoObject() instanceof debug.Mirror, 'Unexpected mirror hierachy');
65 assertTrue(mirror.prototypeObject() instanceof debug.Mirror, 'Unexpected mirror hierachy');
66 assertEquals(mirror.length(), a.length, "Length mismatch");
68 var indexedProperties = mirror.indexedPropertiesFromRange();
79 …assertEquals(mirror.constructorFunction().handle(), fromJSON.constructorFunction.ref, 'Unexpected …