Index: test/mjsunit/mirror-script.js |
=================================================================== |
--- test/mjsunit/mirror-script.js (revision 1956) |
+++ test/mjsunit/mirror-script.js (working copy) |
@@ -32,7 +32,7 @@ |
// Create mirror and JSON representation. |
var mirror = debug.MakeMirror(f).script(); |
var serializer = debug.MakeMirrorSerializer(); |
- var json = serializer.serializeValue(mirror); |
+ var json = JSON.stringify(serializer.serializeValue(mirror)); |
// Check the mirror hierachy. |
assertTrue(mirror instanceof debug.Mirror); |