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

Unified Diff: runtime/vm/service/running_isolates.dart

Issue 145323002: Post-meetup feature extravaganza. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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 | « runtime/vm/service.cc ('k') | runtime/vm/service_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/service/running_isolates.dart
===================================================================
--- runtime/vm/service/running_isolates.dart (revision 32126)
+++ runtime/vm/service/running_isolates.dart (working copy)
@@ -23,10 +23,10 @@
var result = {};
isolates.forEach((portId, runningIsolate) {
members.add({
- 'type': 'Isolate',
- 'id': 'isolates/$portId',
- 'name': runningIsolate.name,
- });
+ 'type': '@Isolate',
+ 'id': 'isolates/$portId',
+ 'name': '$portId',
+ });
});
result['type'] = 'IsolateList';
result['members'] = members;
@@ -61,11 +61,6 @@
}
// Consume '/isolates/isolateId'
message.path.removeRange(0, 2);
- if (message.path.length == 0) {
- // The message now has an empty path.
- message.setErrorResponse('Empty path for isolate: /isolates/$isolateId');
- return message.response;
- }
return isolate.route(message);
}
}
« no previous file with comments | « runtime/vm/service.cc ('k') | runtime/vm/service_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698