Index: test/mjsunit/mirror-unresolved-function.js |
=================================================================== |
--- test/mjsunit/mirror-unresolved-function.js (revision 1956) |
+++ test/mjsunit/mirror-unresolved-function.js (working copy) |
@@ -42,8 +42,9 @@ |
var mirror = new debug.UnresolvedFunctionMirror("f"); |
var serializer = debug.MakeMirrorSerializer(); |
-var json = serializer.serializeValue(mirror); |
-var refs = new MirrorRefCache(serializer.serializeReferencedObjects()); |
+var json = JSON.stringify(serializer.serializeValue(mirror)); |
+var refs = new MirrorRefCache( |
+ JSON.stringify(serializer.serializeReferencedObjects())); |
// Check the mirror hierachy for unresolved functions. |
assertTrue(mirror instanceof debug.Mirror); |