Index: test/mjsunit/mirror-number.js |
=================================================================== |
--- test/mjsunit/mirror-number.js (revision 1956) |
+++ test/mjsunit/mirror-number.js (working copy) |
@@ -32,7 +32,7 @@ |
// Create mirror and JSON representation. |
var mirror = debug.MakeMirror(n); |
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); |