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]; |