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

Unified Diff: runtime/observatory/lib/src/service/object.dart

Issue 1132323002: Add Service ID zones to service protocol (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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 | runtime/vm/dart.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/lib/src/service/object.dart
diff --git a/runtime/observatory/lib/src/service/object.dart b/runtime/observatory/lib/src/service/object.dart
index fb119f8c5f13019029c6488c05491876aa0fb8eb..3d61e7b51a1493ef2d6dbeff15b1af9bc6822a40 100644
--- a/runtime/observatory/lib/src/service/object.dart
+++ b/runtime/observatory/lib/src/service/object.dart
@@ -590,11 +590,8 @@ class FakeVM extends VM {
// Sort keys.
var sortedKeys = uri.queryParameters.keys.toList();
sortedKeys.sort();
- // Filter keys.
- if (method == 'getStack') {
- // Remove the 'full' parameter.
- sortedKeys.remove('full');
- }
+ // Filter keys to remove any private options.
+ sortedKeys.removeWhere((k) => k.startsWith('_'));
// Insert parameters in sorted order.
for (var key in sortedKeys) {
parameters[key] = uri.queryParameters[key];
« no previous file with comments | « no previous file | runtime/vm/dart.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698