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

Unified Diff: src/debug-delay.js

Issue 115401: Introduce compact version of debugger response (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 7 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 | « no previous file | src/mirror-delay.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug-delay.js
===================================================================
--- src/debug-delay.js (revision 1968)
+++ src/debug-delay.js (working copy)
@@ -1462,6 +1462,9 @@
if (from_index < 0 || to_index < 0) {
return response.failed('Invalid frame number');
}
+ if (request.arguments.compactFormat) {
+ response.setOption('compactFormat', true);
+ }
}
// Adjust the index.
@@ -1589,6 +1592,10 @@
includeSource = %ToBoolean(request.arguments.includeSource);
response.setOption('includeSource', includeSource);
}
+
+ if (request.arguments.compactFormat) {
+ response.setOption('compactFormat', true);
+ }
// Lookup handles.
var mirrors = {};
« no previous file with comments | « no previous file | src/mirror-delay.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698