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