Index: test/mjsunit/mirror-boolean.js |
=================================================================== |
--- test/mjsunit/mirror-boolean.js (revision 1079) |
+++ test/mjsunit/mirror-boolean.js (working copy) |
@@ -31,7 +31,8 @@ |
function testBooleanMirror(b) { |
// Create mirror and JSON representation. |
var mirror = debug.MakeMirror(b); |
- var json = mirror.toJSONProtocol(true); |
+ var serializer = debug.MakeMirrorSerializer(); |
+ var json = serializer.serializeValue(mirror); |
// Check the mirror hierachy. |
assertTrue(mirror instanceof debug.Mirror); |