Home | History | Annotate | Download | only in mjsunit

Lines Matching defs:mirror

29 // Test the mirror object for null
31 // Create mirror and JSON representation.
32 var mirror = debug.MakeMirror(null);
34 var json = JSON.stringify(serializer.serializeValue(mirror));
36 // Check the mirror hierachy.
37 assertTrue(mirror instanceof debug.Mirror);
38 assertTrue(mirror instanceof debug.NullMirror);
40 // Check the mirror properties.
41 assertTrue(mirror.isNull());
42 assertEquals('null', mirror.type());
43 assertTrue(mirror.isPrimitive());
46 assertEquals('null', mirror.toText());