Home | History | Annotate | Download | only in es6

Lines Matching refs:mirror

6 // Test the mirror object for symbols.
9 // Create mirror and JSON representation.
10 var mirror = debug.MakeMirror(symbol);
12 var json = JSON.stringify(serializer.serializeValue(mirror));
14 // Check the mirror hierachy.
15 assertTrue(mirror instanceof debug.Mirror);
16 assertTrue(mirror instanceof debug.ValueMirror);
17 assertTrue(mirror instanceof debug.SymbolMirror);
19 // Check the mirror properties.
20 assertTrue(mirror.isSymbol());
21 assertEquals(description, mirror.description());
22 assertEquals('symbol', mirror.type());
23 assertTrue(mirror.isPrimitive());
25 assertEquals('Symbol(' + description_text + ')', mirror.toText());
26 assertSame(symbol, mirror.value());