Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1863)

Unified Diff: test/mjsunit/mirror-boolean.js

Issue 18092: Added handles to the mirror objects. When a mirror for an object is created... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/mjsunit/mirror-array.js ('k') | test/mjsunit/mirror-date.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « test/mjsunit/mirror-array.js ('k') | test/mjsunit/mirror-date.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698