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

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/isolate.h » ('j') | runtime/vm/json_stream.h » ('J')
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 b0876e07cdae0a1cd2a86c092dc56b60cd5cc804..fae9b3f469b2a02605c4f398cda4625d6a59eb4e 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/isolate.h » ('j') | runtime/vm/json_stream.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698